Hi,If it's a problem with GPM, then it's easy. GPM has a passthrough mode for exactly this kind of thing. Set your X to use /dev/gpmdata (instead of the usual mouse device). Next tell gpm to pass through, telling it which protocol to imitate on the passed through mode. I usually use "raw", which means "the same events gpm got, untouched". The command line is then:
On Mon, Mar 17, 2003 at 05:42:06PM +0200, Nadav Har'El wrote:
The mouse works well, but the wheel is ignored. This makes sense, as the protocol should be "IMPS/2", not "PS/2". But when I change it to IMPS/2 and restart X (or even reboot), my mouse goes berserk, and randomly moves about, tending to stick to the lower-left corner and moving at terrific speeds, but only when it feels like it.
I've had the same problem in my Debian box a couple of days before. There obviously was some kind of conflict with gpm. I've solved it by brutally removing gpm package from my system.
Everything works fine since then.
gpm <usual gpm attributes> -Rraw /dev/mouse
or, if using the debian package, place in /etc/gpm.conf: repeat_type=raw
my gpm.conf for two mice (one USB and one PS/2, both appearing as the same mouse to X) is this:
device=/dev/psaux
responsiveness=
repeat_type=raw
type=imps2
append="-M -m /dev/input/mouse0 -t imps2"
sample_rate=
If you only need one mouse (why? Two mice is fun!!!), remove the append line.
Shachar
-- Shachar Shemesh Open Source integration consultant Home page & resume - http://www.shemesh.biz/
================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]