From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#35585: GRUB does not work with USB keyboards when using keyboard-layout Date: Tue, 7 May 2019 18:39:14 +0200 Message-ID: <20190507183914.615660dc@scratchpost.org> References: <20190505173544.f3tjaznsbniyqj5z@pelzflorian.localdomain> <87tve62qic.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/okCP5wBBIXXw.U7F/KdRYxo"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:52287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hO38N-0005Xr-C7 for bug-guix@gnu.org; Tue, 07 May 2019 12:40:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hO38M-00074K-Do for bug-guix@gnu.org; Tue, 07 May 2019 12:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45890) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hO38M-000749-B3 for bug-guix@gnu.org; Tue, 07 May 2019 12:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hO38M-0008Rc-5I for bug-guix@gnu.org; Tue, 07 May 2019 12:40:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87tve62qic.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35585@debbugs.gnu.org --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--