Messages in this thread | | | Date | Sat, 2 Aug 2003 00:16:27 +0200 | From | Andries Brouwer <> | Subject | Re: 2.6.0-test1/2: keyboard funnies in textmode |
| |
On Fri, Aug 01, 2003 at 07:56:04PM +0200, Jurgen Kramer wrote:
> PC 2.4 showkey: > keycode 43 release > keycode 43 press > > PC 2.6 showkey: > keycode 84 press > keycode 84 release
Funny indeed.
The USB standards define USB code 49 for the US \| key, USB code 50 for the non-US \| key (French mu, etc), and USB code 137 for the Japanese Yen |. So, you should get one of these.
This USB code is translated to a Linux keycode in usb_kbd_keycode[] in usbkbd.c. The three possible translations are 43, 84, 183.
Maybe you can check for yourself (e.g. with a printk in usbkbd.c) that you really get different USB codes from that keyboard under 2.4 and 2.6?
Maybe the code one gets depends on the initialization of the keyboard.
- 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/
| |