Re: OHCI root_port_reset() deadly loop...
Benjamin Herrenschmidt <[email protected]> Tue, 09 Oct 2007 16:43:04 +1000
| Newsgroups | gmane.linux.usb.user,gmane.linux.kernel |
|---|---|
| Message-ID | <1191912184.6355.66.camel@pasglop> |
On Mon, 2007-10-08 at 22:00 -0700, David Brownell wrote: > > > > The old /etc/hotplug/usb.rc script made sure to load those modules > > > > in the correct order: EHCI first. > > > > > > I expected to find something cute attempting to handle this under > > > /etc/udev, I have failed so far :-) > > > > No, nothing cute in udev itself, but it seems that all distros that I > > know of have a "load these modules now" type setting in their init > > scripts that can be used here. > > > > I can't think of a way to enforce this load order on the modules > > themselves due to the fact that OHCI might not even be needed for EHCI > > devices on UHCI (Intel) based chipsets :( > > Assuming PCI is present, /sys/bus/pci/devices/*/class can tell > if EHCI is present (0x0c0320) ... if so, load that driver. > Then repeat for OHCI (0x0c0310) and UHCI (0x0c0300). That will not work for all of the non-PCI implementations though. Ben. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users