[KLUG Members] Help! mouse problems!
Peter Buxton
members@kalamazoolinux.org
Sat, 24 Nov 2001 19:02:44 -0500
On Tue, Nov 20, 2001 at 07:09:06PM +0100, Adam_Bultman@gmx.net was only
escaped alone to tell thee:
> Um, it's a PS/2 mouse, and /dev/mouse points to /dev/psaux. I'm not sure
> what repeating mode is, but I'll check it out when I have the time. How can
> you run X without gpm for mouse stuff? Mine doesn't seem to pick it up. I've
> tried serial mice, too, and now with both mice, it says oops() invoked,
> device or resource busy. Might be an IRQ or something. Hmm...
X has it's own mouse driver, e.g., my Logitech Optical Trackman:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "imps/2"
Option "ZAxisMapping" "4 5"
EndSection
"imps/2" is the ps/2 Intellimouse protocol, but I guess Logitech emulates it
well enough (and the X docs don't mention other protocols). If gpm repeating
is not on, gpm and X transfer control of the mouse when switching from
console to X.
repeat_type="" in gpm.conf determines how gpm relays mouse events to another
mouse-using application, i.e., X Windows. For example, ms3 is serial
Intellimouse, imps2 is the same on a PS/2 port. Here is a sample XF86Config
using gpm (again, I advise against it):
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
# Option "CorePointer"
Option "SendCoreEvents"
Option "Device" "/dev/gpmdata"
Option "Protocol" "IntelliMouse"
EndSection
/dev/gpmdata is gpm's virtual device. X reads mouse events from there.
The IntelliMouse driver corresponds to the "repeat_type=ms3" option in
gpm.conf, which is the default repeat type in Debian.
--
http://www.angelfire.com/linux/somercet