Re: 2.6.12-rc2: Compose key doesn't work

From: Vojtech Pavlik
Date: Thu May 26 2005 - 10:56:43 EST


On Thu, May 26, 2005 at 11:45:09AM -0400, Wakko Warner wrote:
> Domen Puncer wrote:
> > Still true for 2.6.12-rc5. Should probably be fixed before final.
>
> I also have a problem with 2.6.12-rcX and ps/2 keyboard. I would say it's
> the same key we're talking about. It does not work at the console nor in X
> (showkey at the console does not see it). It works with a USB keyboard. My
> "compose" is mapped to the menu key beside the right windows key.
>
> I do wish they'd fix it, because I use this key (kinda like another ALT key)
> more than my compose key (again, the menu key, not the right win logo key)

This patch should fix it.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
ChangeSet@xxxxxxxxxx, 2005-04-04 15:37:45+02:00, vojtech@xxxxxxx
input: Fix fast scrolling scancodes in atkbd.c

Signed-off-by: Vojtech Pavlik <vojtech@xxxxxxx>


atkbd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)


diff -Nru a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
--- a/drivers/input/keyboard/atkbd.c 2005-05-03 15:23:34 +02:00
+++ b/drivers/input/keyboard/atkbd.c 2005-05-03 15:23:34 +02:00
@@ -171,9 +171,9 @@
unsigned char set2;
} atkbd_scroll_keys[] = {
{ ATKBD_SCR_1, 0xc5 },
- { ATKBD_SCR_2, 0xa9 },
- { ATKBD_SCR_4, 0xb6 },
- { ATKBD_SCR_8, 0xa7 },
+ { ATKBD_SCR_2, 0x9d },
+ { ATKBD_SCR_4, 0xa4 },
+ { ATKBD_SCR_8, 0x9b },
{ ATKBD_SCR_CLICK, 0xe0 },
{ ATKBD_SCR_LEFT, 0xcb },
{ ATKBD_SCR_RIGHT, 0xd2 },