Bug#681197: grub2: grub-mklayout and at_keyboard.mod have problem with jp keyboard

Hiroyuki YAMAMORI h-yamamo at db3.so-net.ne.jp
Tue Jan 29 11:58:58 UTC 2013


Hello,

Simply, I'd defined those values as unused.
Now, I've referred to below.
HID Usage Tables http://www.usb.org/developers/devclass_docs/Hut1_12v2.pdf
key code mapping http://source.android.com/tech/input/keyboard-devices.html
Linux kernel source linux-2.6.x/include/linux/input.h

Then, it's better to change to
 GRUB_KEYBOARD_KEY_INTERNATIONAL1 0x87,
 GRUB_KEYBOARD_KEY_INTERNATIONAL3 0x89,
 (Same KEY_INTERNATIONAL1 as KEY_RO)
 (Same KEY_INTERNATIONAL3 as KEY_YEN)
and it's better to add
 GRUB_KEYBOARD_KEY_KPCOMMA 0x85,
about "grub-2.00/include/grub/keyboard_layouts.h".

Thanks,
Hiroyuki YAMAMORI

On Mon, 28 Jan 2013 09:27:01 +0100, <phcoder at gmail.com> wrote:

> > +    GRUB_KEYBOARD_KEY_JPBACKSLASH = 0x70,
> > +    GRUB_KEYBOARD_KEY_JPYEN = 0x71,
> 
> Where do these codes come from? According to USB specifications those
> codes are keyboard F21 and F22 respectively.



More information about the Pkg-grub-devel mailing list