I had some problems getting any response from
a USB mouse on my Dell C640 laptop (RH 8.0, but
with the kernel changed to 2.4.21). There were
log messages and evidence in /proc/bus/usb that
the mouse was detected, but no joy from /dev/input/mice.
In reading the messages on this list, I saw others
with similar problems, so thought that I should share
my solution. Yeah, it's one of those "what a dumb
mistake!" things.
First, if you do a lsmod and the line for the "input"
module *doesn't* list hid, then you've got the same
sort of problem I had. I *thought* that I'd selected
the "HIDINPUT" option in the kernel config, but when
I looked at the /usr/src/linux-2.4.21/.config file,
there was:
CONFIG_USBHIDINPUT=m
that's right 'm' for module. The problem is that the
Makefile in drivers/usb/ is looking for CONFIG_USBHIDINPUT=y
and anything else means that hid-input.c isn't compiled
and linked with the rest of the hid module (and the hid
module doesn't hook up with the input module).
A make clean, fiddle with make menuconfig to get the =m
changed to a =y (and check that it did), make dep, make
modules and make modules_install got me the right version
of the hid module.
A reboot with the new hid module reveals that "input" has
to be loaded first, a minor edit to /etc/modules.conf
takes care of this, and the USB mouse works fine.
If there's a "bug" to be found in any of this, it's how
make menuconfig handles keyboard input to an option
that *should* be purely "y" or "n".
--
Drexel University \V --Chuck Lane
======]---------->--------*------------<-------[===========
(215) 895-1545 _/ \ Particle Physics
FAX: (215) 895-5934 /\ /[EMAIL PROTECTED]
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users