usb module orginization

Bernd Walter ticso at cicely12.cicely.de
Mon Jul 7 15:46:40 PDT 2003


On Mon, Jul 07, 2003 at 03:35:59PM -0700, John-Mark Gurney wrote:
> Bernd Walter wrote this message on Tue, Jul 08, 2003 at 00:15 +0200:
> > Also it would be a great idea to split the usb module into usb, ehci,
> > ohci, uhci and maybe uhub.
> 
> -current is broken wrt split usb modules.  when you set usbd_enable="YES"
> in rc.conf, it only loads the usb device.  If you then load ugen or any
> other device, any existing devices are not reprobed.  You have to unplug
> and replug the device back in.  So if you broke uhub out, then you'd
> be in even work trouble since you can't disconnect the internal hub to
> magicly make it appear.

uhub support is mandantory - just make it an dependency of usb.
Naturally usb need to be a dependency to the controller modules.

For the reprobing thing - it's easy to write a userland tool which
cycles the port to get a reprobe - I thought about writing one since a
while.

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



More information about the freebsd-arch mailing list