From debbugs-submit-bounces@debbugs.gnu.org Tue May 07 12:39:33 2019 Received: (at 35585) by debbugs.gnu.org; 7 May 2019 16:39:34 +0000 Received: from localhost ([127.0.0.1]:59434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hO37t-0008Qo-Ls for submit@debbugs.gnu.org; Tue, 07 May 2019 12:39:33 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:38188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hO37q-0008Qf-Py for 35585@debbugs.gnu.org; Tue, 07 May 2019 12:39:31 -0400 Received: from localhost (77.117.168.171.wireless.dyn.drei.com [77.117.168.171]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 0330B3360B64; Tue, 7 May 2019 18:39:28 +0200 (CEST) Date: Tue, 7 May 2019 18:39:14 +0200 From: Danny Milosavljevic To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Subject: Re: bug#35585: GRUB does not work with USB keyboards when using keyboard-layout Message-ID: <20190507183914.615660dc@scratchpost.org> In-Reply-To: <87tve62qic.fsf@gnu.org> References: <20190505173544.f3tjaznsbniyqj5z@pelzflorian.localdomain> <87tve62qic.fsf@gnu.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/okCP5wBBIXXw.U7F/KdRYxo"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 35585 Cc: 35585@debbugs.gnu.org, "pelzflorian \(Florian Pelz\)" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/okCP5wBBIXXw.U7F/KdRYxo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, On Tue, 07 May 2019 18:11:55 +0200 Ludovic Court=C3=A8s wrote: > > --- a/gnu/bootloader/grub.scm > > +++ b/gnu/bootloader/grub.scm > > @@ -360,7 +360,7 @@ entries corresponding to old generations of the sys= tem." > > (keyboard-layout-file layout #:grub grub)= ))) > > (when keymap > > (format port "\ > > -terminal_input at_keyboard > > +terminal_input at_keyboard usb_keyboard =20 >=20 > What do others think? Danny? >=20 > I=E2=80=99d like to make sure this is as harmless as it looks. AT keyboard should also match USB bootp keyboards, but I guess the mac does= n't support bootp. (USB keyboards have a "bootloader" protocol (BOOTP) and a "normal" protocol with the rationale being that the "normal" protocol is too compliated to fit into the bootloader - hence, USB keyboard should supp= ort both--and, when talked to using the bootloader protocol, the PC firmware sh= ould transform it into AT keyboard commands in order to further simplify the bootloader's job) Why is it specified at all? If it's not specified, it will default to the "platform native" inputs which means the ones available in the source c= ode for that platform. So aren't we complicating our life for no reason by specifying it in the first place? --Sig_/okCP5wBBIXXw.U7F/KdRYxo Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlzRtLIACgkQ5xo1VCww uqUCQwgAgo0o+sjtRowrTBH/rZaef66pFeEbx2ME/4zVGDthMEKeAbZL8qUxuB3E uAP/+UR5lwCed+oZg9h9+Mid3zPNhPOqFr1rgeEYdGenag/y9W0plJEWuSROkeUk H/5WgLPhqrcOCNn17l8Rw7DJfQJJUhcL32NiZ+qOmaCLMTSygY3ehqkSRJZCMh+n acPggnKShFFm0/4T9Iv6L1w2riCps+kx0zfAHxPbeKWvoPAHb5DtLm7jSkLOewej dLPCn3lkUTKoPwlgN1vAdvfzAgKEmrAgZgdG7/8RwHuEdUronZYUDVK0AJHMjgmK wAhzbazSHJCGCmVv8zSme/xSO5FsQA== =Hs2b -----END PGP SIGNATURE----- --Sig_/okCP5wBBIXXw.U7F/KdRYxo--