usb modules not loaded (w/ fix)

red_alert red_alert at the-psychiatry.ch
Sat Apr 10 20:10:47 UTC 2004


FINALLY! i really hated it to work without my (usb) mouse! thank you so 
very much!!!!
...means it's working for me :)

best regards
red_alert

Jurgen Botz schrieb:
> 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
> 
> in /proc/devices even without any of the usb modules being loaded,
> so the above test finds that doesn't execute its body.
> 
> My solution for now was to comment out the condition, executing
> the body unconditionally.
> 
> :j
> 
> 





More information about the devel mailing list