Re: 2.6.1-rc1 with JP106 keyboard

From: Vojtech Pavlik
Date: Fri Jan 02 2004 - 08:18:26 EST


On Fri, Jan 02, 2004 at 01:51:54PM +0900, Go Taniguchi wrote:
> >
> >Vojtech Pavlik:
> > o Fixes for keyboard 2.4 compatibility
> >
>
> Hi,
> 2.6.1-rc1 with JP106 keybord. keycode was changed....
> 2.6.0 -> 2.6.1-rc1
> lower-right backslash (scancode 0x73) 89 -> 181
> upper-right backslash (scancode 0x7d) 183 -> 182

These two scancodes are defined as japanese language selection keys.
Hence the atkbd.c driver delivers these as such. What should be updated
is the default keymap (defkeymap.map, defkeymap.c).

> at atkbd_set2_keycode in drivers/input/keyboard/atkbd.c
>
> - 122, 89, 40,120, 26, 13, 0, 0, 58, 54, 28, 27, 0, 43, 0, 0,
> + 0,181, 40, 0, 26, 13, 0, 0, 58, 54, 28, 27, 0, 43, 0,194,
> ^ scancode 0x73
>
> - 85, 86, 90, 91, 92, 93, 14, 94, 95, 79,183, 75, 71,121, 0,123,
> + 0, 86,193,192,184, 0, 14,185, 0, 79,182, 75, 71,124, 0, 0,
> ^ scancode 0x7d
> Is this correct?
> 2.6.0 is OK, but 2.6.1-rc1 does not get [|/_] keys.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/