Skip to contentSkip to conversation

No "#/'" and "<>|" keys with german HIL-keyboard

parisc-linux Johannes Raspe 2 participants 6 messages Oct 31, 2004 – Nov 1, 2004

lore
Share & tools
lore
#0 lore raw

Hi all,

after successfully moving to kernel 2.6.x-series with great help from Helge= =20
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=20 shift-key and the "y"-key) and "<>|" (between Return and the german "=E4"-k= ey)=20
give absolutely no response to the OS.
I tried "showkey" on a text-console and nothing happens when pressing these= =20
two keys. Every other key gives an output.

Regards Johannes

=2D-=20
Johannes Raspe - [email protected]
GnuPG-Key ID: D342E105
=46ingerprint: D681 F800 FB2D 913E D14C 1F17 C3DB B1F1 D342 E105
_______________________________________________
parisc-linux mailing list [email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#1 lore raw

Hi Johannes,

Quoted 7 lines · Johannes Raspe

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

? 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

input/keyboard/hil_kbd.c +9 -2
diff -u -p -r1.11 hil_kbd.c
@@ -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);

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#2 lore raw

Hi Helge,

glad to hear that you also maintain the HP-HIL stuff!

Am Sonntag, 31. Oktober 2004 15:27 schrieb Helge Deller:

Quoted 11 lines

Hi Johannes,

Quoted 7 lines · Johannes Raspe

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 "=E4"-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.

Quoted 3 lines

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

Output for "<"-key:
HIL_POL_CHARTYPE_SET1: 118

Output for "#"-key:
HIL_POL_CHARTYPE_SET1: 116

Johannes
=2D-=20
Johannes Raspe - [email protected]
GnuPG-Key ID: D342E105
=46ingerprint: D681 F800 FB2D 913E D14C 1F17 C3DB B1F1 D342 E105

#3 lore raw

Hi Johannes,

Quoted 9 lines · Johannes Raspe
Quoted 9 lines · Johannes Raspe
Quoted 7 lines

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.

Quoted 8 lines
Quoted 3 lines

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

Output for "<"-key:
HIL_POL_CHARTYPE_SET1: 118

Output for "#"-key:
HIL_POL_CHARTYPE_SET1: 116

please try the attached patch.
Helge

Index: include/linux/hil.h
===================================================================
RCS file: /var/cvs/linux-2.6/include/linux/hil.h,v retrieving revision 1.8

linux/hil.h +1 -1
diff -u -p -r1.8 hil.h
@@ -422,7 +422,7 @@ enum hil_command {
    KEY_J,		KEY_K,		KEY_L,		KEY_SEMICOLON,	\
    KEY_APOSTROPHE,	KEY_ENTER,	KEY_HOME,	KEY_PAGEUP,	\
    KEY_M,		KEY_COMMA,	KEY_DOT,	KEY_SLASH,	\
-   KEY_RESERVED,	KEY_SELECT,	KEY_RESERVED,	KEY_PAGEDOWN,	\
+   KEY_BACKSLASH,	KEY_SELECT,	KEY_102ND,	KEY_PAGEDOWN,	\
    KEY_N,		KEY_SPACE,	KEY_NEXT,	KEY_RESERVED,	\
    KEY_LEFT,		KEY_DOWN,	KEY_UP,		KEY_RIGHT
 

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#4 lore raw

No keyboard repeat (was: [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard)

Hi Helge,

great work! The keys are working fine now. Many thanks for the fast help! J= ust=20
one other little problem: the keypresses are not repeated (console and X). = I=20
tried "kbdrate" but this does nothing.
Is this a kernel related or a configuration problem?

Regards Johannes

Am Sonntag, 31. Oktober 2004 19:20 schrieb Helge Deller:

Quoted 3 lines · Johannes Raspe
Quoted 2 lines
Quoted 2 lines · Johannes Raspe
Quoted 1 line

after successfully moving to kernel 2.6.x-series with great help fr=

om

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

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 "=E4"-key) give absolutely no response to the=

OS.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

I tried "showkey" on a text-console and nothing happens when pressi=

ng

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 1 line

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.

Quoted 8 lines
Quoted 5 lines

Output for "<"-key:
HIL_POL_CHARTYPE_SET1: 118

Output for "#"-key:
HIL_POL_CHARTYPE_SET1: 116

please try the attached patch.
Helge

=2D-=20
Johannes Raspe - [email protected]
GnuPG-Key ID: D342E105
=46ingerprint: D681 F800 FB2D 913E D14C 1F17 C3DB B1F1 D342 E105

#5 lore raw

Re: No keyboard repeat (was: [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard)

Quoted 3 lines · Johannes Raspe

Just one other little problem: the keypresses are not repeated (console and X). I tried "kbdrate" but this does nothing.
Is this a kernel related or a configuration problem?

it was a kernel problem - it's fixed now in CVS HEAD (2.6.10-rc1-pa8).

Helge
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux