[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
modifying autoconf. data (was Re: libusb and kith....)
On Thu, Jul 28, 2011 at 12:41:33PM +0200, Martin Husemann wrote:
> On Thu, Jul 28, 2011 at 10:27:04AM +0100, Stephen Borrill wrote:
> > I think one change is the ability to detach a driver and to reattach ugen.
> > So, for instance, detach uaudio and attach ugen. This sort of thing is
> > pre-requisite for USB over IP products which I'd love NetBSD to support.
> Is another option to have the ugen ioctls work on uaudio (or everything usb
> actually) instead? Detach is easy, but re-attaching ugen is not quite.
I recommend that instead of doing something USB-specific, we create a
drvctl API through which we can modify the kernel's autoconfiguration
data. In effect, the API would modify config(5) lines at run-time:
uaudio0 at uhub1 port 2 configuration 1 interface 0
ugen1 at uhub1 port 2 configuration 1 interface 0
We could immediately re-use such a feature in the kernel, and I think
that we will use it a lot in the future.
David Young OJC Technologies
dyoung%ojctech.com@localhost Urbana, IL * (217) 344-0444 x24
Main Index |
Thread Index |