From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 29 18:44:30 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E29E16A4CE for ; Mon, 29 Mar 2004 18:44:30 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3AB843D1D for ; Mon, 29 Mar 2004 18:44:29 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i2U2iPkj099626; Mon, 29 Mar 2004 19:44:25 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 29 Mar 2004 19:44:34 -0700 (MST) Message-Id: <20040329.194434.48530053.imp@bsdimp.com> To: samuel.lawrance@studentmail.newcastle.edu.au From: "M. Warner Losh" In-Reply-To: <1080613926.1125.6.camel@dirk> References: <20040328.013103.00569637.imp@bsdimp.com> <20040328104734.GB15543@cicely12.cicely.de> <1080613926.1125.6.camel@dirk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: ticso@cicely.de Subject: Re: usbd config file parse behaviour X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 02:44:30 -0000 In message: <1080613926.1125.6.camel@dirk> Sam Lawrance writes: : On Sun, 2004-03-28 at 20:47, Bernd Walter wrote: : > On Sun, Mar 28, 2004 at 01:31:03AM -0700, M. Warner Losh wrote: : > > Btw, any interest in making it possible to kldload a usb module and : > > having device attach to it? Right now the usb code assumes that you : > > can unplug the device and replug it back in. I have at least two : > > devices on my laptop that can't be removed (bluetooth and memory stick : > > reader), so I can't dynamically load drivers for them... : > : > I'll think about it. : > Reprobing is not so much an issue as selecting an interface for it. : : would this done by filling in uhub_driver_added() to find a better : driver match for a device and reattaching? Yes. Actually, it also requires some changes to newbus as well to allow for rebidding of devices. And there's some minor resetting of the device that likely needs to happen, but that's lower priority. Warner