Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Q2nN0-0002Ih-LN for mharc-grub-devel@gnu.org; Thu, 24 Mar 2011 12:26:47 -0400 Received: from [140.186.70.92] (port=48145 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2nMu-00022N-HZ for grub-devel@gnu.org; Thu, 24 Mar 2011 12:26:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2nMI-0001cS-Mm for grub-devel@gnu.org; Thu, 24 Mar 2011 12:26:03 -0400 Received: from chatel.calistel.com ([195.5.240.82]:46526 helo=obiou.calistel.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2nMI-0001bW-HA for grub-devel@gnu.org; Thu, 24 Mar 2011 12:26:02 -0400 Received: by obiou.calistel.com (Postfix, from userid 1001) id E9AA376; Thu, 24 Mar 2011 17:25:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by obiou.calistel.com (Postfix) with ESMTP id A126C66; Thu, 24 Mar 2011 17:25:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at obiou.calistel.com Received: from obiou.calistel.com ([127.0.0.1]) by localhost (obiou.calistel.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3fgzf5Ugumka; Thu, 24 Mar 2011 17:25:56 +0100 (CET) Received: from Prem1s.lanvoc (prem1s.calistel.com [10.99.0.191]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by obiou.calistel.com (Postfix) with ESMTPS id 13AEF32; Thu, 24 Mar 2011 17:25:55 +0100 (CET) Date: Thu, 24 Mar 2011 17:25:54 +0100 From: =?UTF-8?B?RnLDqWTDqXJpYw==?= Boiteux To: Vladimir =?UTF-8?B?J8+GLWNvZGVyL3BoY29kZXIn?= Serbinenko Message-ID: <20110324172554.361db5fe@Prem1s.lanvoc> In-Reply-To: <4D8A4B4C.3090307@gmail.com> References: <20110204151850.5b7834c3@prem6s> <4D8A4B4C.3090307@gmail.com> Organization: Calistel X-Mailer: Claws Mail 3.5.0 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 195.5.240.82 Cc: The development of GNU GRUB Subject: Re: terminal_input=at_keyboard not working X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2011 16:26:43 -0000 Le Wed, 23 Mar 2011 20:34:36 +0100, Vladimir '=CF=86-coder/phcoder' Serbinenko a > On 04.02= .2011 15:18, Fr=C3=A9d=C3=A9ric Boiteux wrote: > > Hello, > > > > I've installed the 1.99rc1 version of Grub2 on my Debian system to > > use the new keyboard layout system. I've read that to work, I have > > to set up following configuration : > > > > * in /etc/default/grub : > > > > GRUB_TERMINAL_INPUT=3Dat_keyboard > > > > * in /etc/grub.d/40_custom : > > > > insmod keylayouts > > keymap /boot/grub/bepo.gkb > > > > > > with the Grub's keymap 'bepo.gkb' done with : > > ckbcomp fr bepo |grub-mklayout -v -o /boot/grub/bepo.gkb > > > > > > I've tested this config on one laptop with success, but on > > another, a HP 6730b, I found that 'GRUB_TERMINAL_INPUT=3Dat_keyboard' > > does freeze the system, and I've to restart the system from a USB > > key to recover the grub system (I didn't find a way to tell Grub2 > > to ignore its grub.cfg file). > > > > Do you know a possible cause for my problem, and some possible > >=20 > Could you try this patch: > =3D=3D=3D modified file 'grub-core/term/at_keyboard.c' > --- grub-core/term/at_keyboard.c 2011-01-08 00:45:57 +0000 > +++ grub-core/term/at_keyboard.c 2011-03-23 19:33:57 +0000 > @@ -330,6 +330,11 @@ > return; > } > =20 > +#if !(defined (GRUB_MACHINE_MIPS_YEELOONG) || defined > (GRUB_MACHINE_QEMU)) > + current_set =3D 1; > + return; > +#endif > + > grub_keyboard_controller_write (grub_keyboard_controller_orig > & ~KEYBOARD_AT_TRANSLATE); > =20 >=20 >=20 --=20 Fr=C3=A9d=C3=A9ric Boiteux =C3=A0 Calistel INOVALLEE - 82, all=C3=A9e Galil=C3=A9e - 38330 Montbonnot - France T=C3=A9l=C3=A9phone: +33 (0) 4 76 52 61 16 Cl=C3=A9 GPG: 4096R/624C8AB4