LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB device is not claimed by any active driver for every device in Linux 2.4 (https://www.linuxquestions.org/questions/linux-hardware-18/usb-device-is-not-claimed-by-any-active-driver-for-every-device-in-linux-2-4-a-843409/)

jacquesdirac 11-10-2010 05:00 AM

USB device is not claimed by any active driver for every device in Linux 2.4
 
Hi there,

The error "USB device 6 (vend/prod 0x603/0xf2) is not claimed by any active driver." is in dmesg every time I connect my Logitech keyboard to my system. I also tried (all with the same error):
- Memory stick
- DVD-burner
- Compaq mouse

Some information about my system:

Code:

$ uname -a
Linux 2.4.32-rthal5 #231 Thu Nov 4 15:26:03 CET 2010 i586 unknown

Just after reboot:
Code:

$ dmesg
...
usb.c: unable to get major 180 for usb devices
usb.c: registered new driver usbdevfs
usb.c: deregistering driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
...

Inserting ehci-hcd:
Code:

$ modprobe ./lib/modules/2.4.32-rthal5/kernel/drivers/usb/host/ehci-hcd.o
Using ./lib/modules/2.4.32-rthal5/kernel/drivers/usb/host/ehci-hcd.o

Code:

$ dmesg
...
ehci_hcd 00:0f.5: PCI device 1022:2095 (Advanced Micro Devices [AMD])
ehci_hcd 00:0f.5: irq 10, pci mem d01bf000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:0f.5: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected

Code:

$ lsmod
Module                  Size  Used by    Tainted: P
ehci-hcd              16792  0 (unused)
softdog                1548  0 (unused)
hid                    21288  0 (unused)
usbcore                56768  0 [ehci-hcd hid]
keybdev                1604  0 (unused)
mousedev                3732  0 (unused)
input                  2976  0 [hid keybdev mousedev]
pwcx                  87052  0 (unused)
pwc                    42764  0 [pwcx]
videodev                5376  0 [pwc]
devman                13244  0 (unused)
rtai_fifos            22348  6 [devman]
rtai_sched            44512  0 [devman]
rtai                  33040  1 [devman rtai_fifos rtai_sched]
mac_check                688  0 (unused)

I also tried to load OHCI and UHCI, but this gives:
Code:

$ modprobe ./lib/modules/2.4.32-rthal5/kernel/drivers/usb/host/usb-ohci.o
Using ./lib/modules/2.4.32-rthal5/kernel/drivers/usb/host/usb-ohci.o
insmod: init_module: usb-ohci: No such device

In the kernel documentation the ohci-hcd is mentioned, but I can't find that driver.

When I insert an USB device:
Code:

$ dmesg
...
hub.c: new USB device 00:0f.4-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x603/0xf2) is not claimed by any active driver.

Can you help me getting some steps further with this?


Best regards,
Jacques.

bigrigdriver 11-10-2010 03:46 PM

Quote:

Linux 2.4.32-rthal5 #231 Thu Nov 4 15:26:03 CET 2010 i586 unknown
That kernel is quite old. You should consider upgrading to the latest 2.6 kernel. Usb support is much better in the 2.6 kernel.

jacquesdirac 11-11-2010 01:54 AM

Quote:

Originally Posted by bigrigdriver (Post 4155138)
You should consider upgrading to the latest 2.6 kernel.

I wish I could!

The strange thing is that the same software works great on other hardware using the usb-ohci driver...

jacquesdirac 11-12-2010 08:35 AM

I tried the following:
  • Removed usb and ohci from the kernel
  • Compiled usbcore and usb-ohci as modules
  • Then inserted the modules in this order:
    Code:

    insmod $KERNDRVPATH/usb/usbcore.o
    insmod $KERNDRVPATH/usb/host/usb-ohci.o
    insmod $KERNDRVPATH/usb/host/usb-uhci.o
    mount -t usbdevfs none /proc/bus/usb
    insmod $KERNDRVPATH/usb/serial/ftdi_sio.o
    insmod $KERNDRVPATH/input/input.o
    insmod $KERNDRVPATH/input/mousedev.o
    insmod $KERNDRVPATH/input/keybdev.o
    insmod $KERNDRVPATH/usb/hid.o


Not sure if this is the best solution, but it works now :-).


All times are GMT -5. The time now is 04:12 AM.