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

Re: Help with mouse



Kent West wrote:
> Get gpm working first; once you have the protocol and location figured 
> out, set "repeat=raw". Then set the same protocol in X (via 
> /etc/X11/XF86Config-4), but set the location in XF86Config to poiint to 
> /dev/gpmdata.

Good advice all around.

ps2 is the old non-wheel mouse.  imps2 is the newer wheelmouse.  Let
me suggest using 'autops2' as the protocol and then it will
automatically detect the difference between them.

To be excplicit here is my config for a ps2 wheelmouse in
/etc/gpm.conf.  Configurations for USB mice would use /dev/input/mice
instead of /dev/psaux.

device=/dev/psaux
responsiveness=
repeat_type=raw
type=autops2
append=""
sample_rate=

Then here is my configuration for X11 to use that in
/etc/X11/XF86Config-4 to use it.  There is no autops2 here so you just
have to know whether you use intellimouse protocol or not.

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/gpmdata"
	Option		"Protocol"		"ImPS/2"
#	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

HTH
Bob

Attachment: pgpp0CvI32uv5.pgp
Description: PGP signature


Reply to: