GNU GRUB - Bugs: bug #46463, Up/down key aliases
You are not allowed to post comments on this tracker with your current authentication level.
bug #46463: Up/down key aliases
Submitter: | Pavel Bludov <pbludov> | ||
Submitted: | Tue 17 Nov 2015 11:52:16 AM UTC | ||
Category: | Booting | Severity: | Major |
Priority: | 3 - Low | Item Group: | Feature Request |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Open | Release: | Git master |
Release: | Reproducibility: | None | |
Planned Release: | 2.03+ |
Thu 19 Nov 2015 07:50:02 AM UTC, comment #2: |
Pavel Bludov <pbludov> |
Tue 17 Nov 2015 04:49:50 PM UTC, comment #1: Does it have no other key at all? What tablet is it? I wonder if we can detect simultaneous pressing of two buttons and simulate ENTER key.
|
Andrei Borzenkov <arvidjaar> |
Tue 17 Nov 2015 11:52:16 AM UTC, original submission:
Please add hotkey aliases for the keys up and down.
|
Pavel Bludov <pbludov> |
Depends on the following items: None found
Items that depend on this one: None found
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 |
---|---|---|---|---|---|
2016-10-11 | phcoder | Priority | 5 - Normal | 3 - Low | |
2016-03-02 | phcoder | Planned Release | None | 2.03+ | |
2015-11-20 | pbludov | Attached File | - | Added 0001-new-key-aliases.patch, #35503 |
Powered by Savane 3.13-f8d8.
Corresponding source code
Actually, it is Lenovo Yoga 2 tablet.
http://shop.lenovo.com/us/en/tablets/lenovo/yoga-tablet-series/yoga-tablet-2-10/?sb=:000001C9:0001639D:#tab-tech_specs
The Android version has no other buttons. Volume up/down & power.
Although it is Android tablet, the device has ordinary EFI partition and something like a BIOS:
http://dl-1.va.us.xda-developers.com/3/2/9/4/0/6/1/322.jpg?key=I5jKGCei2TYaIbYrP736-w&ts=1447917071
The BIOS is fully usable with two buttons. Short press to select, long press to Enter/Escape. The main problem is lack of OTG support at the boot time.
There are VBUS related options in the BIOS, but I didn't touch them. I'm afraid to get a "pseudo-brick" device that is not available via the fastboot utility, but which loads the Grub menu where I can't start the OS nor enter the BIOS.
So I seek a way to use the Grub anyhow to go forward.
The touchscreen is I2C based and useless for grub.
I'm understand that my idea of using up/down keys as menu entry hotkeys is weird (they will work only before the menu will be shown) but it does not break anything.
Another possibility, which I now research, is to implement the minimal fastboot daemon to connect the tablet to the PC and control the Grub via "fastboot oem keystroke c\n fwsetup\n" or something like that.
The idea to monitor simultaneous press (or long press) is also good. But such a mode needs to be explicitly enabled, like "set awful_tablet_mode=twokeys" in the config file, so not to confuse users with normal keyboard.