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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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

here the correct patch.

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

[Index of Archives]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Gimp]     [Yosemite News]