On Thu, Dec 20, 2001 at 01:06:54AM -0700, Cameron Matheson wrote: | On Thu, 2001-12-20 at 00:25, Didier Malenfant wrote: | > I'm switching to 2.4 to try and sort out some other problems (with | > sound). | | Have you tried Alsa (it's great). What kind of problems are you having? | | > Under 2.2.18 my Intellimouse explorer would work with GPM, from what I | > gather the usbmouse driver would translate everything into a standard | > PS/2 format because gpm.conf was still using /dev/psaux and everything | > worked (even though the mouse was in the USB port). | | That kinda surprises me. My usb mouse is /dev/input/mice (i also made a | symlink to /dev/mouse) I believe you will find info on creating | /dev/input/mice in Documentation/usb/hid.txt (in the kernel source).
My USB mouse is /dev/input/mouse0. All (connected) USB mice can be accessed via /dev/input/mice (so if you have 2 plugged in, they both work transparently to the client code, this is nice for GPM since it doesn't support mulitple mice like X does). Of course, this is using devfs as well. I don't know the major/minor numbers to create a node for using a static /dev. /dev/psaux should only work for a PS/2 mouse. (btw, I never used usb in 2.2 kernels) I use the 'imps2' protocol (Logitech MouseMan Wheel) and it works great. | > Under 2.4 this doesn't work. I tried to point gpm to /dev/usbmouse but | > no chance. Loaded modules are input, usbmouse and mousedev. | > | > What settings should I be using in gpm.conf and what modules need to be | > loaded? You will need 'hid' too (human input device). Do you see a message on the console when you plug the mouse in? You should. It will tell you that a USB device was found and give some info about it. You should see a similar message when you unplug it. -D -- Pleasant words are a honeycomb, sweet to the soul and healing to the bones. Proverbs 16:24