[gpm] 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:45 CET 2003


Hi Nico,
we have buyed a bunch of IMPS/2 mice from Fujitsu Siemens Computer. When
I start gpm version 1.20.0 or 1.20.1 on them I get in 4 of 5 cases the
following error and of course the mouse is not working after that.

	faui02e:~# /usr/local/bin/gpm -Rimps2 -m /dev/psaux -t imps2
	=== ERROR ===: [/tmp/gpm-1.20.0/src/mice.c(1755)]:
	imps2: Auto-detected unknown mouse type 250, assuming standard PS/2

It is a IMPS/2 mice with 5 buttons (or 3 buttons and a wheel). If you
insist I can send you one via snail mail.

The following patch solved the problem for me:

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);

Greetings,
	Thomas
--
Thomas Glanzmann  ++49 (0) 9131 85-28725   Department of Computer Science IV 
Martensstrasse 1  D-91058 Erlangen Germany  University of Erlangen-Nuremberg
		   http://wwwcip.informatik.uni-erlangen.de/


More information about the gpm mailing list