From owner-freebsd-arch@FreeBSD.ORG Mon Jan 5 20:13:02 2015 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45A1E793; Mon, 5 Jan 2015 20:13:02 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 08DF634AE; Mon, 5 Jan 2015 20:13:02 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 27C2A1FE022; Mon, 5 Jan 2015 21:12:59 +0100 (CET) Message-ID: <54AAF07B.7030601@selasky.org> Date: Mon, 05 Jan 2015 21:13:47 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: John Baldwin , arch@freebsd.org Subject: Re: devctl(8): A device control utility References: <3200196.9ZgXApgRdA@ralph.baldwin.cx> In-Reply-To: <3200196.9ZgXApgRdA@ralph.baldwin.cx> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2015 20:13:02 -0000 On 01/05/15 21:01, John Baldwin wrote: > The devctl(8) utility is then a thin wrapper around libdevctl (and does not > yet have a manpage). > > Do folks have any feedback? Hi, In the USB area attach and detach must be synchronized to the USB stack and "usbconfig -d X.Y set_config Z" or "usbconfig -d X.Y reset" should be used to avoid races attaching and detaching drivers! --HPS