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


Hi,

> +   if (id != GPM_AUX_ID_PS2 || id != 250) {
                               ~~ -> && of course

here the correct patch.

	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