Re: usb modules not loaded (w/ fix)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 10 Apr 2004 12:39:24 -0700
Jurgen Botz <jurgen@xxxxxxxx> 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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux