Re: [PATCH] cannot input bar with JP106 keyboards

From: ryutaroh
Date: Sat Dec 20 2003 - 04:36:36 EST


Thank you for your very quick reply.

From: Vojtech Pavlik <vojtech@xxxxxxx>
> Can you try the attached patch?

The problem was not solved.

When I pressed the bar key on JP 106 keyboard, the output of "showkey
-k" is

keycode 0 press
keycode 1 release
keycode 54 release
keycode 0 release
keycode 1 release
keycode 54 release

The scancode does not change. Before applying your patch to the
original kernel, the output was

keycode 0 press
keycode 1 release
keycode 55 release
keycode 0 release
keycode 1 release
keycode 55 release

which corresponds to keycode 183 (= 1*128 + 55).

The output of Linux 2.4.23 was

keycode 124 press
keycode 124 release


By the way, the bar key on JP 106 keyboard is actually the backslash
key and bar is equal to shift-backslash on JP 106. But there is
another backslash key (scancode 0x73) and input of backslash is not a
problem.

Best regards,

Ryutaroh Matsumoto, Ph.D., Research Associate
Department of Communications and Integrated Systems
Tokyo Institute of Technology, 152-8552 Japan
Web page: http://www.rmatsumoto.org/research.html
-
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/