[parisc-linux-cvs] unknown scancode (7f)

Richard Hirst rhirst@linuxcare.com
Tue, 26 Jun 2001 22:56:42 +0100

  This patch is from Thomas, to get rid of "unknown scancode (7f)"
messages when certain keys (e.g. capslock) are used.  I've never
looked at the keyboard code, so don't know if this is the right
fix or not.  Any comments?  It does work for me, although I
also have a problem with '|' on a UK keyboard, which I havn't
investigated yet.  This may or may not fix that too.

Index: drivers/char/hp_psaux.c
RCS file: /home/cvs/parisc/linux/drivers/char/hp_psaux.c,v
retrieving revision 1.7
diff -u -r1.7 hp_psaux.c
--- hp_psaux.c	2001/06/22 23:16:26	1.7
+++ hp_psaux.c	2001/06/26 21:52:21
@@ -411,7 +411,7 @@
               scancode = read_input(hpa);
-	      if (inited)
+	      if (inited && scancode != 0xfa)
 	      status_keyb =read_status(hpa);