Re: Mouse and keyboard drivers in the Linux Kernel?

Vojtech Pavlik (vojtech-lists@twilight.ucw.cz)
Fri, 28 May 1999 13:12:33 +0200


On Tue, May 25, 1999 at 04:37:35PM +0100, DAVID BALAZIC wrote:
> Martin Mares (mj@ucw.cz) wrote :
>
> > Without gpm -R the mouse simply cannot be shared between two programs.
> > Since most users use both gpm on the console and X for graphics, the repeater
> > mode is the only chance they have to get it working :-)
>
> Not true. I run gpm w/o the -R switch on two machines and on both
> X11 and SVGAlib programs can access the mouse.
> One machine has a serial mouse and the other a PS/2 mouse ( aux ).

Except running gpm without the -R switch on /dev/psaux can stop the
keyboard from working on a quite large percentage of computers. It
will generate bogus mouse movements and button presses on others. It's
just something that you shouldn't do.

On /dev/ttySx it works, for most mice (those that only use unidirectional
communication), yes.

So, gpm -R is the way to do it now (you have to patch gpm to get wheel
support, though). I hope my drivers will provide a better way to handle
mice, keyboards and other input stuff for the future.

Vojtech

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/