Skip to contentSkip to conversation

2.4.19, USB_HID only works compiled in, not as module

DISCUSSION Oliver Feiler 2 participants 3 messages Aug 4, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

Since 2.4.19 a usb mouse does not work anymore if

CONFIG_USB_HID=m
and
CONFIG_INPUT_MOUSEDEV=m

is set. It only works if both are compiled into the kernel. Yes, I have set CONFIG_USB_HIDINPUT=y.

I've also seen other complaints about usb mice not working in 2.4.19, I guess that's the problem?

If the stuff is compiled as modules, everything seems to be fine. The kernel messages are the same, everything is detected fine. Except that 'cat /dev/input/mice' does not give any output if the driver is compiled as module.

Cheers,
Oliver

Signature · 4 lines
Oliver Feiler  <kiza@(gmx(pro).net|lionking.org|claws-and-paws.com)>
http://www.lionking.org/~kiza/  <--   homepage
PGP-key ID 0x561D4FD2    --> /pgpkey.shtml
http://www.lionking.org/~kiza/journal/
#1 lore raw
Quoted 11 lines · Oliver Feiler

Hi,

Since 2.4.19 a usb mouse does not work anymore if

CONFIG_USB_HID=m
and
CONFIG_INPUT_MOUSEDEV=m

is set. It only works if both are compiled into the kernel. Yes, I have set CONFIG_USB_HIDINPUT=y.

Quoted 7 lines

I've also seen other complaints about usb mice not working in 2.4.19, I guess that's the problem?

If the stuff is compiled as modules, everything seems to be fine. The kernel messages are the same, everything is detected fine. Except that 'cat /dev/input/mice' does not give any output if the driver is compiled as module.

Are you sure the hid.o module is loaded? :)

greg k-h

#2 lore raw
Quoted 15 lines · Greg KH
Quoted 14 lines · Oliver Feiler

Hi,

Since 2.4.19 a usb mouse does not work anymore if

CONFIG_USB_HID=m
and
CONFIG_INPUT_MOUSEDEV=m

is set. It only works if both are compiled into the kernel. Yes, I have set CONFIG_USB_HIDINPUT=y.

I've also seen other complaints about usb mice not working in 2.4.19, I guess that's the problem?

Quoted 6 lines
Quoted 4 lines

If the stuff is compiled as modules, everything seems to be fine. The kernel messages are the same, everything is detected fine. Except that 'cat /dev/input/mice' does not give any output if the driver is compiled as module.

Are you sure the hid.o module is loaded? :)

Yes I am. ;) mousdev.o and hid.o are both loaded and the device is listed in /proc/bus/usb/devices.

I don't know really, maybe I did indeed something wrong since it works for others. Though I don't know what that might have been. It works now with the driver compiled in.

Most other reports I've seen (two) were probably resolved with CONFIG_USB_HIDINPUT.

Signature · 4 lines
Oliver Feiler  <kiza@(gmx(pro).net|lionking.org|claws-and-paws.com)>
http://www.lionking.org/~kiza/  <--   homepage
PGP-key ID 0x561D4FD2    --> /pgpkey.shtml
http://www.lionking.org/~kiza/journal/