Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard
@ 2004-10-31 13:21 Johannes Raspe
  2004-10-31 14:27 ` Helge Deller
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Raspe @ 2004-10-31 13:21 UTC (permalink / raw)
  To: parisc-linux

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 - j.raspe@t-online.de
GnuPG-Key ID: D342E105
=46ingerprint: D681 F800 FB2D 913E D14C 1F17 C3DB B1F1 D342 E105
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard
  2004-10-31 13:21 [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard Johannes Raspe
@ 2004-10-31 14:27 ` Helge Deller
  2004-10-31 17:35   ` Johannes Raspe
  0 siblings, 1 reply; 6+ messages in thread
From: Helge Deller @ 2004-10-31 14:27 UTC (permalink / raw)
  To: parisc-linux

[-- 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard
  2004-10-31 14:27 ` Helge Deller
@ 2004-10-31 17:35   ` Johannes Raspe
  2004-10-31 18:20     ` Helge Deller
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Raspe @ 2004-10-31 17:35 UTC (permalink / raw)
  To: Helge Deller; +Cc: parisc-linux

Hi Helge,

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

Am Sonntag, 31. Oktober 2004 15:27 schrieb Helge Deller:
> 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 "=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.
>
> 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 - j.raspe@t-online.de
GnuPG-Key ID: D342E105
=46ingerprint: D681 F800 FB2D 913E D14C 1F17 C3DB B1F1 D342 E105

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Helge Deller @ 2004-10-31 18:20 UTC (permalink / raw)
  To: Johannes Raspe; +Cc: parisc-linux

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

Hi Johannes,

On Sunday 31 October 2004 18:35, Johannes Raspe wrote:
> > 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.
> >
> Output for "<"-key:
> HIL_POL_CHARTYPE_SET1: 118
> 
> Output for "#"-key:
> HIL_POL_CHARTYPE_SET1: 116

please try the attached patch.
Helge

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

Index: include/linux/hil.h
===================================================================
RCS file: /var/cvs/linux-2.6/include/linux/hil.h,v
retrieving revision 1.8
diff -u -p -r1.8 hil.h
--- include/linux/hil.h	27 Jan 2004 22:36:57 -0000	1.8
+++ include/linux/hil.h	31 Oct 2004 18:18:50 -0000
@@ -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
 

[-- 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* No keyboard repeat (was: [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard)
  2004-10-31 18:20     ` Helge Deller
@ 2004-10-31 20:25       ` Johannes Raspe
  2004-11-01 17:58         ` Helge Deller
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Raspe @ 2004-10-31 20:25 UTC (permalink / raw)
  To: Helge Deller; +Cc: parisc-linux

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:
> On Sunday 31 October 2004 18:35, Johannes Raspe wrote:
> > > On Sunday 31 October 2004 14:21, Johannes Raspe wrote:
> > > > after successfully moving to kernel 2.6.x-series with great help fr=
om
> > > > 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 pressi=
ng
> > > > 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.
> >
> > 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 - j.raspe@t-online.de
GnuPG-Key ID: D342E105
=46ingerprint: D681 F800 FB2D 913E D14C 1F17 C3DB B1F1 D342 E105

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: No keyboard repeat (was: [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard)
  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
  0 siblings, 0 replies; 6+ messages in thread
From: Helge Deller @ 2004-11-01 17:58 UTC (permalink / raw)
  To: Johannes Raspe; +Cc: parisc-linux

On Sunday 31 October 2004 21:25, Johannes Raspe wrote:
> 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
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-11-01 17:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-31 13:21 [parisc-linux] No "#/'" and "<>|" keys with german HIL-keyboard Johannes Raspe
2004-10-31 14:27 ` Helge Deller
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox