On Thu, Jul 04, 2002 at 01:32:02 -0700, Osamu Aoki wrote: > On Thu, Jul 04, 2002 at 12:16:26AM -0500, Derrick 'dman' Hudson wrote: > > On Wed, Jul 03, 2002 at 10:20:27PM -0600, Dave Price wrote: > > | I have an optical logitech mouse that I am trying to use with Xfree-86 > > | (4). It works fine under windows, but is very eratic under X; any idea > > | how I should set this up in debian woody? > > > > Do you have gpm running? If yes (I don't know why you wouldn't) : > > > > 1) in /etc/gpm.conf set > > repeat_type=raw > > device=/dev/input/mice > > type=imps2 > type=autops2 > (If you are woody. See more with gpm -t help|less) But if you use autops2 here then what do you put for the "Protocol" value in the XF86Config-4 file? It seems you have to give a specific protocol there and do not have the option of letting it autodetect. > > (I don't really know about the type, but imps2 is most common and > > works for my logitech scroll mouse) > > > > 2) in /etc/X11/XF86Config > > > > Section "InputDevice" > > Identifier "Logitech MouseMan Wheel" > > Driver "mouse" > > Option "ZAxisMapping" "4 5" > > Option "Device" "/dev/gpmdata" > > > > # Note: Protocol must match the 'type' set to gpm > > Option "Protocol" "IMPS/2" > > EndSection > > > > > > The key is > > 1) don't let gpm and X fight over /dev/psaux -- that will be erratic, > > let gpm get the raw device and then feed it to X via a "fifo" > > (aka "named pipe" or "unix domain socket") > > 2) use the same (correct!) protocol setting in each Also, I just changed my settings to exactly what dman suggested and now the mouse seems more erratic. It seems to occasionally select text when I haven't pressed any buttons and jump to the bottom left corner of the screen if I move it rapidly. BTW: The mouse I have is a Logitech MouseMan Dual Optical. I would be gratefull if someone could post a copy of their gpm.conf and XF86Config-4 files for this mouse. Cheers. Mark.
Attachment:
pgpFfe06eG4nO.pgp
Description: PGP signature