At 04:56 28.11.00, Katsura ITO wrote:
>usb to pc keyboard emulation has incompatibility with japanese keyboard.
>see http://www.geocrawler.com/archives/3/2571/2000/7/0/3979255/
>and please append following patch.
>this problem is still in kernel-2.4.0-test11.
>
> Katsura ITO
>
>--- linux/drivers/input/keybdev.c.original Wed Nov 27 21:55:12 2000
>+++ linux/drivers/input/keybdev.c Wed Nov 27 21:56:07 2000
>@@ -52,7 +52,7 @@
> 360, 93, 94, 95, 98,376,100,101,357,316,354,304,289,102,351,355,
> 103,104,105,275,281,272,306,106,274,107,288,364,358,363,362,361,
> 291,108,381,290,287,292,279,305,280, 99,112,257,258,113,270,114,
>- 118,117,125,374,379,259,260,261,262,263,264,265,266,267,268,269,
>+ 118,117,125,374,379,115,112,125,121,123,264,265,266,267,268,269,
> 271,273,276,277,278,282,283,295,296,297,299,300,301,302,303,307,
> 308,310,313,314,315,317,318,319,320,321,322,323,324,325,326,330,
> 332,340,341,342,343,344,345,346,356,359,365,368,369,370,371,372 };
Are you sure this change is correct? AFAIK 181 always mapped to 125, not
115 as in your table (this is in the linuxconsole CVS). In any case, read
<http://www.usb.org/developers/data/devclass/hut1_1.pdf>, especially the
description for keys 0x87-0x98, they relate 1:1 to the linux keycodes
181-198 in linux/include/linux/input.h. And keep in mind that
drivers/char/pc_keyb.c maps this keycodes again! Then again tell us how you
would like to map the linux keycodes to AT keycodes. Or checkout the
linuxconsole CVS (codename "ruby") from sourceforge and give us a diff for
utils/scancodes.h.
BTW, it could even be that the reporting guy does run a setkey script for
PS/2 keyboards, but not for USB keyboards...
Franz.
|