From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1I2CKC-0006NS-Iz for mharc-grub-devel@gnu.org; Sat, 23 Jun 2007 16:35:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I2CKB-0006MJ-56 for grub-devel@gnu.org; Sat, 23 Jun 2007 16:35:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I2CKA-0006M7-OT for grub-devel@gnu.org; Sat, 23 Jun 2007 16:35:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2CKA-0006M4-Jd for grub-devel@gnu.org; Sat, 23 Jun 2007 16:35:14 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I2CKA-00073w-3x for grub-devel@gnu.org; Sat, 23 Jun 2007 16:35:14 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id 6A0A03D2346AF; Sun, 24 Jun 2007 02:55:47 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id CC7B93D2009AE; Sun, 24 Jun 2007 02:55:46 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: grub-devel@gnu.org Date: Sat, 23 Jun 2007 22:35:11 +0200 User-Agent: KMail/1.9.4 References: <87lkegm2ja.dancerj%dancer@netfort.gr.jp> <20070620130253.GA24431@aragorn> In-Reply-To: <20070620130253.GA24431@aragorn> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706232235.11761.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.17.2 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) Cc: Junichi Uekawa , 429695-forwarded@bugs.debian.org, 429695@bugs.debian.org, Robert Millan Subject: Re: Fwd: Bug#429695: grub-efi: key combinations requiring ctrl do not work X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2007 20:35:15 -0000 On Wednesday 20 June 2007 15:02, Robert Millan wrote: > On Tue, Jun 19, 2007 at 11:39:37PM +0900, Junichi Uekawa wrote: > > Package: grub-efi > > Version: 1.95+20070604-1 > > > > > > Hi, > > > > 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. > > > > 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? 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