Tips on working
with Mice devices on Debian Linux:
Oops, my mouse
doesn't work in gpm or X?
Before trying out anything else, you can first check whether you are trying
out on the right device. Do a cat on the device say '/dev/psaux' or /dev/mouse'
or '/dev/input/mice' and then move your mouse. If you see bizarre looking
characters on the screen, you got the right device. Now, relook at your configuration
files and make any changes.
How do I get my USB mouse work?
Preferably, use the 2.4.x kernel. You first need to configure your kernel
for the USB mouse support. Turn on the 'USB Human Interface Device (HID)"
in the USB support and 'Mouse Support" in the Input Core support. Make sure
you do NOT turn on the HIDBP mouse support. The HIDBP (boot protocol) way
is intended for embedded systems with resource constraints and is inferior
for normal desktop systems. Do "insmod
input; insmod usbcore; insmod usb-uhci; insmod hid"
Look for bootup messages (dmesg or /proc/bus/usb/devices) for see if the USB
mouse got recognised. Do 'mkdir /dev/input' and 'mknod /dev/input/mice c 13
63'. The directory is to later allow addition of multiple USB input devices
(mice, touch pad,...)