Bug#429695: grub-efi: key combinations requiring ctrl do not work
Quoted 10 lines · Junichi Uekawa
Package: grub-efi
Version: 1.95+20070604-1Hi,
This is a reminder of the bug that upstream also acknowledges, but I think it needs to be noted down in order to get grub-efi to be usable in prime-time.
Quoted 8 lines
grub-efi does not accept ctrl-{character} keys. Since grub2 requires ctrl-{character} keys in editing menus (except for the 'escape' and enter and up / down) you can't really do too many useful things.
I think either of the following needs to happen
1. key needs to be remapped
2. get ctrl key to start working.
Upstream acknowledges this bug in http://grub.enbug.org/TestingOnEFI and says:
"[..] I guess I should write my own keyboard driver for EFI and replace the standard buggy driver."
There's a SoC contributor in the process of writing an AT keyboard driver as part of the LinuxBIOS/grub2 integration project.
Is it possible that this code can be reused for EFI? Or does EFI block access to keyboard controller completely?
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
Quoted 23 lines · Robert Millan
Quoted 10 lines · Junichi Uekawa
Package: grub-efi
Version: 1.95+20070604-1Hi,
This is a reminder of the bug that upstream also acknowledges, but I think it needs to be noted down in order to get grub-efi to be usable in prime-time.
Quoted 8 lines
grub-efi does not accept ctrl-{character} keys. Since grub2 requires ctrl-{character} keys in editing menus (except for the 'escape' and enter and up / down) you can't really do too many useful things.
I think either of the following needs to happen
1. key needs to be remapped
2. get ctrl key to start working.Upstream acknowledges this bug in http://grub.enbug.org/TestingOnEFI and says:
Quoted 8 lines
"[..] I guess I should write my own keyboard driver for EFI and replace
the standard buggy driver."There's a SoC contributor in the process of writing an AT keyboard driver as part of the LinuxBIOS/grub2 integration project.
Is it possible that this code can be reused for EFI? Or does EFI block access to keyboard controller completely?
I think it is better to write a driver for EFI. EFI is a managed firmware (unlike PC-BIOS), so the interrupt controller, for example, is under the control of EFI. Thus, taking up the control brutally in GRUB sounds ugly and dangerous pontentially.
I have already reported this bug to Apple, but they have never responded. So I assume that this bug is still remaining, and the only practical solution is for us to provide a workaround.
The question is, if we can use any existing code as the base. Apple's firmware uses Intel's Sample Implementation, and the license term is suspicious for me, with regard to GPL compatibility. Possibly it would be better to ask a lawyer at FSF if we can reuse it.
Okuji