[gpm]Repeater Mode

eeprom@bol.com.br eeprom@bol.com.br
Mon, 13 Jan 2003 20:39:09 -0200 (BRST)


Hi,

I'm having some trouble to get my mouse to work 100% in X while using
GPM's repeater mode.

When there is no GPM between the mouse and X, then the mouse
works fine with all it's functions (3 butons and a wheel IMPS/2). But
when I run GPM using '-R raw' and point X to /dev/gpmdata, the mouse jumps all
over the screen randomly and clicks the buttons. I know this is the well
known effect we get when we specify the wrong protocol. But I specified 'raw'
repeating mode, and that's what I don't understand. Why does the mouse stops
working if I use /dev/gpmdata?

I made a test and coded a little program. This program read all data
from /dev/psaux and repeats it to /dev/psaux0 and /dev/psaux1, wich are
FIFOs. Then I made gpm to use /dev/psaux0 and X to use /dev/psaux1, and
both went mad.

So I ask, does GPM and X not only read but also WRITE to /dev/psaux??? And
if so (I'm quiet sure it is), what does they write?

Thanks for any help.

Flash EEPROM