[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/input/mice



Jerome Acks Jr wrote:

On Sat, May 10, 2003 at 12:41:12AM -0700, Piero Caracciolo wrote:
I'm trying to configure X, and one of the problems I stumble into, is the following. I have a ps2 mouse. Xf86config has written in the file XF86Config that corresponding device is /dev/input/mice. But, when I execute startx, I get a message saying that /dev/input/mice does not exist. Same with /dev/input/mouse0. Nevertheless such devices do exist, at least so says the command ls /dev/input. Do I have to try /dev/input/mouse? until I find the right device? Do ps2 mice correspond to other devices?
Thanks for suggesting solutions.

/dev/input/mouse0 should be device for usb mouse. /dev/psaux would be
ps2 mouse port. /dev/input/mice should combine input from all mice you
have connected to your compute, but I am not sure if you need usb
modules loaded for it to work.

If you use gpm, in XF86Config you could also use /dev/gpmdata with
gpm set to 'raw' repeat.

Check /var/log/messages for report on how your computer detected your mouse.

Thanks a lot.


If you want to eliminate most guessing as to what device to use for
various hardware, look into using devfs.

I'd love to, but where?




Reply to: