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

2013-04-13 Thread Hiroyuki YAMAMORI
Hello, There is an additional reference. http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f345 6c/translate.pdf It makes clear to add 'Keypad comma' code. include/grub/keyboard_layouts.h: GRUB_KEYBOARD_KEY_KPCOMMA = 0x85, grub-core/term/at_keyboard.c: /* 0x7e

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

2013-04-13 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 13.04.2013 09:43, Hiroyuki YAMAMORI wrote: grub-core/term/at_keyboard.c: /* 0x7e */ GRUB_KEYBOARD_KEY_KPCOMMA Is it scancode 1 or scnacode 2? What is the value in the other scancode? signature.asc Description: OpenPGP digital signature

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

2013-04-13 Thread Hiroyuki YAMAMORI
Hello, Is it scancode 1 or scnacode 2? What is the value in the other scancode? It's scancode set 1. For your reference, I attached my patch. Thanks, Hiroyuki YAMAMORI Index: b/grub-core/term/at_keyboard.c === ---

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

2013-04-12 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.01.2013 12:58, Hiroyuki YAMAMORI wrote: 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

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

2013-04-12 Thread Vladimir 'φ-coder/phcoder' Serbinenko
I found a way to test it in qemu. Comitted upstream. Thanks. On 10.07.2012 13:48, Hiroyuki YAMAMORI wrote: Package: grub2 Version: 1.99-22.1 Severity: normal Tags: patch Hello, I tried to setup japanese keyboard layout then some problem occuerd: $ grub-kbdcomp jp Unknown keycode

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

2013-01-29 Thread Hiroyuki YAMAMORI
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

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

2013-01-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.07.2012 13:48, Hiroyuki YAMAMORI 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. -- Regards Vladimir 'φ-coder/phcoder' Serbinenko

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

2012-07-11 Thread Hiroyuki YAMAMORI
Package: grub2 Version: 1.99-22.1 Severity: normal Tags: patch Hello, I tried to setup japanese keyboard layout then some problem occuerd: $ grub-kbdcomp jp Unknown keycode 0x7c Unknown keycode 0x59 # cp jp.gkb /boot/grub/ grub.cfg insmod at_keyboard insmod keylayouts terminal_input