usb modules not loaded (w/ fix)

Pete Zaitcev zaitcev at redhat.com
Sun Apr 11 02:26:35 UTC 2004


On Sat, 10 Apr 2004 12:39:24 -0700
Jurgen Botz <jurgen at botz.org> wrote:

> Some time in the last week or so my system stopped loading
> the usb bus driver modules, uhci_hcd and ehci_hcd, at startup.
> 
> In rc.sysinit, there is the following test:
> 
>     if ! LC_ALL=C fgrep -q "usb" /proc/devices 2>/dev/null ; then
>        aliases=`/sbin/modprobe -c | awk '/^alias usb-controller/ { print 
> $3 }'`
>        ...
> 
> Presumably the intent is that if usb already appears in
> /proc/devices, then the driver must already be loaded / or
> compiled into the kernel?  Well, for whatever reason my system
> now shows a line:
> 
>       180 usb

Bill, if you wish to probe, I suggest using /proc/bus/usb/devices and
check if it's present and non-empty. This should work on both 2.4 and
2.6. It needs usbcore to be loaded before it can be mounted.

-- Pete





More information about the fedora-devel-list mailing list