GNU GRUB - Bugs: bug #38242, grub-mklayout won't handle the...
You are not allowed to post comments on this tracker with your current authentication level.
bug #38242: grub-mklayout won't handle the keys to input a backslash character on Japanese keyboard layout
Submitter: | Morita Sho <moritasho> | ||
Submitted: | Mon 04 Feb 2013 01:49:36 AM UTC | ||
Category: | Terminal | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Software Error |
Status: | Fixed | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Closed | Release: | Bazaar - trunk |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2013-04-12 | phcoder | Status | None | Fixed | |
Open/Closed | Open | Closed | |||
2013-02-04 | moritasho | Attached File | - | Added patch, #27377 |
Powered by Savane 3.13-f8d8.
Corresponding source code
Hi,
I noticed that grub-mklayout rejects the keys to input a backslash on Japanese keyboard layout.
Executing grub-mklayout for Japanese keymap will outputs the following message:
The keys 0x7c(124) and 0x59(89) are necessary to input a backslash character on Japanese keyboard layout.
The output of ckbcomp for these keys are as follow:
Here is the information about these keys:
Linux keycode: 0x59(89), defined as KEY_RO in include/uapi/linux/input.h
AT Set 1 Scancode: 0x73
AT Set 2 Scancode: 0x51
USB Usage ID: 0x87, Keyboard International1
Linux keycode: 0x7C(124), defined as KEY_YEN in include/uapi/linux/input.h
AT Set 1 Scancode: 0x7D
AT Set 2 Scancode: 0x6A
USB Usage ID: 0x89, Keyboard International3
References:
I think some modifications to util/grub-mklayout.c, grub-core/term/at_keyboard.c and include/grub/keyboard_layouts.h is needed to add support for those keys. I made and attached a patch. But I'm afraid for that this patch might breaks backward compatibility as it changes the value of GRUB_KEYBOARD_LAYOUTS_ARRAY_SIZE...
Regards,