Messages in this thread | | | Date | Sat, 20 Dec 2003 10:35:32 +0100 | From | Vojtech Pavlik <> | Subject | Re: [PATCH] cannot input bar with JP106 keyboards |
| |
On Sat, Dec 20, 2003 at 06:30:49PM +0900, ryutaroh@it.ss.titech.ac.jp wrote:
> Thank you for your very quick reply. > > From: Vojtech Pavlik <vojtech@suse.cz> > > 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.
Keycode 183 is correct for the japanese backslash key. 2.4 didn't differentiate, 2.6 does. You just need to update your keymap.
-- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |