Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard
Date: Sun, 31 Oct 2004 15:27:02 +0100	[thread overview]
Message-ID: <200410311527.03160.deller@gmx.de> (raw)
In-Reply-To: <200410311421.17271.j.raspe@t-online.de>

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

Hi Johannes,

On Sunday 31 October 2004 14:21, Johannes Raspe wrote:
> after successfully moving to kernel 2.6.x-series with great help from Helge 
> Deller I'd like to report a problem wich is also present in 2.4.x-kernels:
> with my german HIL-keyboerd on a 735/125 the keys for "#/'" (between left 
> shift-key and the "y"-key) and "<>|" (between Return and the german "ä"-key) 
> give absolutely no response to the OS.
> I tried "showkey" on a text-console and nothing happens when pressing these 
> two keys. Every other key gives an output.

please apply the following patch and send me the documented console-output for the corresponding keys.

Helge

[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 2265 bytes --]

? drivers/input/keyboard/Kconfig.org
? drivers/input/keyboard/Makefile.org
? drivers/input/keyboard/atkbd.c.org
? drivers/input/keyboard/hilkbd.c.org
? drivers/input/keyboard/hpps2atkbd.h.org
Index: drivers/input/keyboard/hil_kbd.c
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/input/keyboard/hil_kbd.c,v
retrieving revision 1.11
diff -u -p -r1.11 hil_kbd.c
--- drivers/input/keyboard/hil_kbd.c	27 Oct 2004 20:17:18 -0000	1.11
+++ drivers/input/keyboard/hil_kbd.c	31 Oct 2004 14:22:17 -0000
@@ -140,14 +140,18 @@ static void hil_kbd_process_record(struc
 	case HIL_POL_CHARTYPE_NONE:
 		break;
 	case HIL_POL_CHARTYPE_ASCII:
-		while (cnt < idx - 1)
+		while (cnt < idx - 1) {
+			printk("HIL_POL_CHARTYPE_ASCII: %d\n", kbd->data[cnt]);
 			input_report_key(dev, kbd->data[cnt++] & 0x7f, 1);
+		}
 		break;
 	case HIL_POL_CHARTYPE_RSVD1:
 	case HIL_POL_CHARTYPE_RSVD2:
 	case HIL_POL_CHARTYPE_BINARY:
-		while (cnt < idx - 1)
+		while (cnt < idx - 1) {
+			printk("HIL_POL_CHARTYPE_BINARY: %d\n", kbd->data[cnt]);
 			input_report_key(dev, kbd->data[cnt++], 1);
+		}
 		break;
 	case HIL_POL_CHARTYPE_SET1:
 		while (cnt < idx - 1) {
@@ -156,6 +160,7 @@ static void hil_kbd_process_record(struc
 			key = kbd->data[cnt++];
 			up = key & HIL_KBD_SET1_UPBIT;
 			key &= (~HIL_KBD_SET1_UPBIT & 0xff);
+			printk("HIL_POL_CHARTYPE_SET1: %d  up:%d\n", key>>HIL_KBD_SET1_SHIFT, up);
 			key = hil_kbd_set1[key >> HIL_KBD_SET1_SHIFT];
 			if (key != KEY_RESERVED)
 				input_report_key(dev, key, !up);
@@ -168,6 +173,7 @@ static void hil_kbd_process_record(struc
 			key = kbd->data[cnt++];
 			up = key & HIL_KBD_SET2_UPBIT;
 			key &= (~HIL_KBD_SET1_UPBIT & 0xff);
+			printk("HIL_POL_CHARTYPE_SET2: %d  up:%d\n", key>>HIL_KBD_SET2_SHIFT, up);
 			key = key >> HIL_KBD_SET2_SHIFT;
 			if (key != KEY_RESERVED)
 				input_report_key(dev, key, !up);
@@ -180,6 +186,7 @@ static void hil_kbd_process_record(struc
 			key = kbd->data[cnt++];
 			up = key & HIL_KBD_SET3_UPBIT;
 			key &= (~HIL_KBD_SET1_UPBIT & 0xff);
+			printk("HIL_POL_CHARTYPE_SET3: %d  up:%d\n", key>>HIL_KBD_SET3_SHIFT, up);
 			key = hil_kbd_set3[key >> HIL_KBD_SET3_SHIFT];
 			if (key != KEY_RESERVED)
 				input_report_key(dev, key, !up);

[-- Attachment #3: Type: text/plain, Size: 169 bytes --]

_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

  reply	other threads:[~2004-10-31 14:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-31 13:21 [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard Johannes Raspe
2004-10-31 14:27 ` Helge Deller [this message]
2004-10-31 17:35   ` Johannes Raspe
2004-10-31 18:20     ` Helge Deller
2004-10-31 20:25       ` No keyboard repeat (was: [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard) Johannes Raspe
2004-11-01 17:58         ` Helge Deller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200410311527.03160.deller@gmx.de \
    --to=deller@gmx.de \
    --cc=parisc-linux@lists.parisc-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox