Re: 2.6.1-rc1 with JP106 keyboard

From: Vojtech Pavlik
Date: Fri Jan 02 2004 - 08:22:10 EST


On Fri, Jan 02, 2004 at 02:46:07PM +0900, Go Taniguchi wrote:

> And more....
>
> mae-kouho/henkan (scancode 0x79) 92 -> 184
> mu-henkan (scancode 0x7b) 94 -> 185
>
> - 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,
> ^ 0x79 ^ 0x7b
> These are input method control keys.

Again, this is per (microsoft [*]) specification. These keys should,
however, give the very same scancodes to X as they did on 2.4.

[*] I used this specification, because that's what the keyboard
manufacturers seem to follow recently.

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