Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 10:36:08 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        ticso@cicely.de
Subject:   Re: usbd config file parse behaviour
Message-ID:  <20040330083607.GC32646@cicely12.cicely.de>
In-Reply-To: <20040329.194434.48530053.imp@bsdimp.com>
References:  <20040328.013103.00569637.imp@bsdimp.com> <20040328104734.GB15543@cicely12.cicely.de> <1080613926.1125.6.camel@dirk> <20040329.194434.48530053.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 29, 2004 at 07:44:34PM -0700, M. Warner Losh wrote:
> In message: <1080613926.1125.6.camel@dirk>
>             Sam Lawrance <samuel.lawrance@studentmail.newcastle.edu.au> 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.

Don't forget that we already have a driver for every USB device: ugen(4)
We need a better trigger to reprobe drivers - thats the real problem.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040330083607.GC32646>