Advertisement

usb in 2.6.0

Started by January 02, 2004 09:09 AM
6 comments, last by emptyhead 20 years, 8 months ago
I''ve installed 2.6.0 (I''m running a hdd install of knoppix), but I can''t seem to get my usb mouse working. If I understand things correctly, the mouse should be handled by the hid kernel module, but it fails to load correctly. If I type: lsmod i get: Module Size Used by kernelcapi 40832 - snd 38964 - ipv6 247744 - soundcore 6592 - autofs4 13824 - af_packet 17992 - ext3 107336 - jbd 70756 - nls_iso8859_1 3552 - ntfs 96268 - agpgart 26348 - via_rhine 19112 - 8139too 21280 - mii 3808 - crc32 3648 - parport_pc 37356 - parport 37448 - aic7xxx 206184 - rtc 11208 - No hid loaded and if i try to load it with modprobe hid FATAL: Error inserting hid (/lib/modules/2.6.0/kernel/drivers/usb/input/hid.ko): Operation not permitted FATAL: Error running install command for hid and in dmesg i get: hid: Unknown symbol usb_alloc_urb hid: Unknown symbol usb_free_urb hid: Unknown symbol usb_register hid: Unknown symbol usb_submit_urb hid: Unknown symbol usb_control_msg hid: Unknown symbol usb_register_dev hid: Unknown symbol usb_deregister hid: Unknown symbol usb_string hid: Unknown symbol usb_unlink_urb hid: Unknown symbol usb_deregister_dev hid: Unknown symbol usb_buffer_free hid: Unknown symbol __usb_get_extra_descriptor hid: Unknown symbol usb_buffer_alloc oh, and by the way, the mouse works without problems in 2.4.21. Does anyone know what''s going on? I''m running out of hair to pull...
:wq!
quote: Original post by emptyhead
I''ve installed 2.6.0 (I''m running a hdd install of knoppix), but I can''t seem to get my usb mouse working. If I understand things correctly, the mouse should be handled by the hid kernel module, but it fails to load correctly.

If I type: lsmod i get:
Module Size Used by
kernelcapi 40832 -
snd 38964 -
ipv6 247744 -
soundcore 6592 -
autofs4 13824 -
af_packet 17992 -
ext3 107336 -
jbd 70756 -
nls_iso8859_1 3552 -
ntfs 96268 -
agpgart 26348 -
via_rhine 19112 -
8139too 21280 -
mii 3808 -
crc32 3648 -
parport_pc 37356 -
parport 37448 -
aic7xxx 206184 -
rtc 11208 -

No hid loaded
and if i try to load it with modprobe hid
FATAL: Error inserting hid (/lib/modules/2.6.0/kernel/drivers/usb/input/hid.ko): Operation not permitted
FATAL: Error running install command for hid

and in dmesg i get:
hid: Unknown symbol usb_alloc_urb
hid: Unknown symbol usb_free_urb
hid: Unknown symbol usb_register
hid: Unknown symbol usb_submit_urb
hid: Unknown symbol usb_control_msg
hid: Unknown symbol usb_register_dev
hid: Unknown symbol usb_deregister
hid: Unknown symbol usb_string
hid: Unknown symbol usb_unlink_urb
hid: Unknown symbol usb_deregister_dev
hid: Unknown symbol usb_buffer_free
hid: Unknown symbol __usb_get_extra_descriptor
hid: Unknown symbol usb_buffer_alloc


oh, and by the way, the mouse works without problems in 2.4.21.
Does anyone know what''s going on? I''m running out of hair to pull...


try modprobe usb-controller. you shld have this aliased in /etc/modprobe.conf to something ohci-hcd or uhci-hcd (or is it ehci-hcd??) if your hardware supports USB 2.0.
Advertisement
quote:
try modprobe usb-controller. you shld have this aliased in /etc/modprobe.conf to something ohci-hcd or uhci-hcd (or is it ehci-hcd??) if your hardware supports USB 2.0.


I''ve tried starting uhci-hcd before, but it seems that it depends on hid, so it fails to start.

(btw, my harware only supports usb1.1, but i compiled the kernel to support ehci-hcd.ko, ohci-hcd.ko and uhci-hcd.ko)
:wq!
quote: Original post by emptyhead
quote:
try modprobe usb-controller. you shld have this aliased in /etc/modprobe.conf to something ohci-hcd or uhci-hcd (or is it ehci-hcd??) if your hardware supports USB 2.0.


I''ve tried starting uhci-hcd before, but it seems that it depends on hid, so it fails to start.

(btw, my harware only supports usb1.1, but i compiled the kernel to support ehci-hcd.ko, ohci-hcd.ko and uhci-hcd.ko)


try using ochci-hcd.ko. and i don''t think uhci-hcd depends on hid, on my modules.dep, the only dependency is usbcore.

run depmod -ae -F after making the afore-mentioned changes, do you still get unresolved symbols? If not, try looking thru /etc/modprobe.conf for lines that read something like install hid blahblah and uncomment those lines.
%modprobe usb_controller
FATAL: Module usb_controller not found. (there is no alias in /etc/modprobe.conf)

% modprobe uhci_hcd
FATAL: Error inserting uhci_hcd (/lib/modules/2.6.0/kernel/drivers/usb/host/uhci-hcd.ko): Operation not permitted

% dmesg
uhci_hcd: Unknown symbol usb_hcd_pci_suspend
uhci_hcd: Unknown symbol usb_hcd_pci_probe
uhci_hcd: Unknown symbol usb_check_bandwidth
uhci_hcd: Unknown symbol usb_disabled
uhci_hcd: Unknown symbol usb_release_bandwidth
uhci_hcd: Unknown symbol usb_register_root_hub
uhci_hcd: Unknown symbol usb_put_dev
uhci_hcd: Unknown symbol usb_get_dev
uhci_hcd: Unknown symbol usb_claim_bandwidth
uhci_hcd: Unknown symbol usb_hcd_pci_resume
uhci_hcd: Unknown symbol usb_hcd_giveback_urb
uhci_hcd: Unknown symbol usb_hcd_pci_remove
uhci_hcd: Unknown symbol usb_alloc_dev

and i get the same errors if i try ohcd_hcd...
i also commenting away the install hid line in modprobe.conf and running depmod -ae but i got the same error messages.
:wq!
hmm.. in /etc/modprobe.conf i''ve got this line:

install usbcore /bin/true

is that normal?
:wq!
Advertisement
quote: Original post by emptyhead
hmm.. in /etc/modprobe.conf i''ve got this line:

install usbcore /bin/true

is that normal?


That does not look normal. From the modules.conf manpage:
quote:
install module command
Execute command instead of the default insmod when installing the specified module.

I would strongly suggest removing that line and trying again. That line looks downright nasty.

Image loads when I''m online since I''m too lazy to find a permanent host.The following statement is true. The previous statement is false.
Shameless promotion:
FreePop: The GPL Populous II clone.

My stuff.Shameless promotion: FreePop: The GPL god-sim.
* deleted *

[edited by - ugenn on January 3, 2004 2:50:57 AM]

This topic is closed to new replies.

Advertisement