USB buses deregister themselves on boot

Dean Takemori deant at hawaii.rr.com
Fri Aug 13 23:47:28 UTC 2004


Hello,

I'm running FC1+Updates, with a self-compiled 2.4.22-1.2199.nptl
kernel.

On bootup, the USB busses seem to deregister themselves and remove
the relevant modules.  A snippit from dmesg shows this ...

<snip>
PCI: Setting latency timer of device 00:02.0 to 64
usb-ohci.c: USB OHCI at membase 0xf8a47000, IRQ 3
usb-ohci.c: usb-00:02.0, nVidia Corporation nForce2 USB Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.1 to 64
usb-ohci.c: USB OHCI at membase 0xf8a49000, IRQ 7
usb-ohci.c: usb-00:02.1, nVidia Corporation nForce2 USB Controller (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.2 to 64
ehci_hcd 00:02.2: nVidia Corporation nForce2 USB Controller
ehci_hcd 00:02.2: irq 5, pci mem f8a51000
usb.c: new USB bus registered, assigned bus number 3
PCI: cache line size of 64 is not supported by device 00:02.2
ehci_hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
hub.c: USB hub found
hub.c: 6 ports detected
usb.c: USB disconnect on device 00:02.0-0 address 1
usb.c: USB bus 1 deregistered
usb.c: USB disconnect on device 00:02.1-0 address 1
usb.c: USB bus 2 deregistered
ehci_hcd 00:02.2: remove state 3
usb.c: USB disconnect on device 00:02.2-0 address 1
usb.c: USB bus 3 deregistered
<\snip>

BUT, if I wait for the system to finish booting and manually
load usb-ohci by hand as root, the attached USB
devices are loaded and any appropriate modules are loaded ...

<snip>
PCI: Setting latency timer of device 00:02.0 to 64
usb-ohci.c: USB OHCI at membase 0xf8a7f000, IRQ 3
usb-ohci.c: usb-00:02.0, nVidia Corporation nForce2 USB Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.1 to 64
usb-ohci.c: USB OHCI at membase 0xf8aad000, IRQ 7
usb-ohci.c: usb-00:02.1, nVidia Corporation nForce2 USB Controller (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: new USB device 00:02.0-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x77d/0x410) is not claimed by any 
active driver.
hub.c: new USB device 00:02.1-1, assigned address 2
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb2:2.0
hub.c: new USB device 00:02.1-2, assigned address 3
input: USB HID v1.10 Keyboard [CHESEN USB Keyboard] on usb2:3.0
input: USB HID v1.10 Device [CHESEN USB Keyboard] on usb2:3.1
usb.c: registered new driver powermate
input: Griffin PowerMate on input3
<\snip>

Why the difference?  How do I get the system to autodetect the attached
devices and load the appropriate modules automagically?

usbcore is compiled into the kernel, but usb-ohci and ehci-hcd and 
device
drivers are modules if that makes any difference.

-dean takemori





More information about the fedora-list mailing list