[comp.unix.sysv386] Mouse problems with Roell's X11R4.

rcbatg@rwc.urc.tue.nl (Tonnie Geraets) (11/19/90)

Before I say anything else: Thank you Thomas for all the fabulous work you did.

And now the problem:

I have a Genuis GM-6 mouse, which is MouseSystems compatible (or Microsoft
compatible if you push a button on power-on). In MouseSystems mode the mouse
seems to like the lower left corner of the screen:
it constantly jumps in steps to the left or down.
The stepsize seems to be 256 (about one third of the screen: what else is
more logical than 256?). 

I must try very hard to get the mouse pointer in my xterm-window which is on
the upper-left and I have to keep my hands of the mouse, else the pointer
will almost certainly jump back to the lower left corner.

I further noticed that if I switch to another virtual console, move the
mouse north-east (or so) and switch back to X, the mouse-pointer has moved
to that position.

I first thought that it was the mouse that caused the problems, so I fetched
Roell's mouse driver (the file mouse.c somewhere in the distribution), and
hacked it a little, so that it reads from the tty-port, translates the data,
and prints it to stdout in two ways:
 - as 5 bytes ( the data read )
 - the button status, dx, dy, x and y.

I observered the the mouse worked normal, except that the mouse generates
sometimes al lot of dummy data (no button change, dx and dy both 0), but
somewhere in de code this is handled ( if ( dx | dy == 0) break; or
something).

Oh, I almost forget to tell: in Microsoft-mode the mouse works ok.

Is there anybody else who has the same problem? And how can it be solved?

Some general notes:
  o  I use ISC 2.0.1
  o  I didn't forget to tell X that I use a MouseSystems-mouse
  o  I don't like to use the mouse in Microsoft mode forever: I don't like to
     push two buttons to get one.
  o  I run X on a 25MHz 386.
  o  I use a normal serial card.
  o  I use the distributed binaries.

I hope somebody comes with a solution.

THANKS
		Tonnie Gereats,
		rcbatg@urc.tue.nl

PS: A question for Thomas: how is your name pronounced? Is the oe in fact an
O Umlaut, or must the o (or e) be pronounced?