[gpm] Re: gpm problems with 1.20.{0, 1} and a Fujitsu Siemens IMPS/2 mouse

Thomas Glanzmann sithglan@stud.uni-erlangen.de
Thu Nov 27 11:44:44 CET 2003


Hi Nico,

> I just noticed that button 4 and 5 (the wheel) doesn't work with this,
> but it isn't that critical for me.

I just noticed that the problem that the wheel doesn't work is related
to version 1.20.1. Using 1.20.0 with the already provided patch works
for both our old and our new mice with imps2 and a working mouse wheel.

Using 1.20.1 with one of our imps2 mice without my patch reveals that
the mouse wheel doesn't work when called that way. This is true for
every mice I could find in our computer science pool (not only the new
problematic ones). We invoke our mice with these two commandlines. But
with 1.20.0 and my patch applied everythings works like expected. ;-)

	    /path/to/gpm -Rimps2 -m /dev/input/mice -t imps2

				   or

	      /path/to/gpm -Rimps2 -m /dev/psaux -t imps2

Greetings,
	Thomas
-------------- next part --------------
diff -ruN gpm-1.20.1.orig/src/mice.c gpm-1.20.1/src/mice.c
--- gpm-1.20.1.orig/src/mice.c	Tue Dec 24 23:57:16 2002
+++ gpm-1.20.1/src/mice.c	Mon Nov 10 12:52:20 2003
@@ -1888,7 +1888,7 @@
       gpm_report(GPM_PR_INFO,GPM_MESS_IMPS2_AUTO);
       return type;
    }
-   if (id != GPM_AUX_ID_PS2) {
+   if (id != GPM_AUX_ID_PS2 || id != 250) {
       gpm_report(GPM_PR_ERR,GPM_MESS_IMPS2_BAD_ID, id);
    }
    else gpm_report(GPM_PR_INFO,GPM_MESS_IMPS2_PS2);


More information about the gpm mailing list