[gpm]Problem with USB and Linux 2.4.10

Jan D. Jan.Djarv@mbox200.swipnet.se
Thu, 27 Sep 2001 19:18:54 +0200 (CEST)


Hello.

I upgraded to Linux kernel 2.4.10 and gpm (1.19.4 and .5) stopped working.
I use:
gpm -m /dev/input/mice -t imps2 -p -Rraw

The symptoms are similar to those that happen when you specify the
wrong protocol.  Jerky movement and sudden keypress actions when just
moving.

X (4.1.0) works OK without gpm (i.e. killing gpm and let X use
/dev/input/mice instead of repeater).

Gpm 1.19.3 also works OK (with devfs patches).

How can I debug this?  Can gpm get "out of sync" somehow in the data
from the mouse?

	Jan D.

PS. A request.  Can configure/Makefiles NOT hardcode -g -O2 in CFLAGS,
and use the value from environment when configure is run?  This is probably
an old leftover.  Other packages (mainly GNU) lets you do:
% env CFLAGS=-O ./configure
% make
and then -O is used, or
% make CFLAGS=-g
and then just -g is used.

DS.