From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: bug#35583: Setting a GRUB keyboard-layout breaks =?UTF-8?Q?GRUB=E2=80=A6?= and =?UTF-8?Q?Linux=E2=80=BD?= Date: Sun, 05 May 2019 18:27:31 +0200 Message-ID: <87tve89898.fsf@nckx> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:57461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNJzh-0005hi-8B for bug-guix@gnu.org; Sun, 05 May 2019 12:28:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNJzf-0001mC-AT for bug-guix@gnu.org; Sun, 05 May 2019 12:28:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41189) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNJze-0001lW-OJ for bug-guix@gnu.org; Sun, 05 May 2019 12:28:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hNJze-0000Ys-HE for bug-guix@gnu.org; Sun, 05 May 2019 12:28:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:57417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNJzN-0005eP-8i for bug-guix@gnu.org; Sun, 05 May 2019 12:27:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNJzL-0001Ue-Rb for bug-guix@gnu.org; Sun, 05 May 2019 12:27:45 -0400 Received: from tobias.gr ([2001:470:7405::1]:60168) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hNJzI-0001Lw-3v for bug-guix@gnu.org; Sun, 05 May 2019 12:27:42 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id b89d67a2 for ; Sun, 5 May 2019 16:27:33 +0000 (UTC) Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id dc9f08ab (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 5 May 2019 16:27:32 +0000 (UTC) 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: 35583@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Guix, Some (=3Dnone) of you might remember my X keyboard woes on #guix,=20 where I was stuck without a backspace key or the key below it (\,=20 |) on my ThinkPad X230T's US keyboard. Both sent out=20 =E2=80=98XF86ScreenSaver=E2=80=99 codes instead. I tried dozens of things, both in my system configuration and by=20 running random stateful xkb commands (naughty), and managed to=20 =E2=80=98fix=E2=80=99 the bug without ever finding the cause (very naughty). I think I was looking for it in all the wrong places. Something=20 goes wrong before the kernel even boots. Here's my=20 keyboard-layout: (keyboard-layout (keyboard-layout "us" "dvp" ;=20 kaufmann.no/roland/dvorak #:model "thinkpad" ; pc104, pc105, thinkpad,=20 =E2=80=A6 #:options ; list of XKB Option=20 strings (list "" ; unset all inherited=20 options "caps:shiftlock" ; Shift Lock affects all=20 keys "shift:breaks_caps" ; Shift cancels Caps Lock "compose:102" ; next to left Shift on=20 pc105 "lv3:ralt_switch" ; key to choose 3rd level "nbsp:level3n" ; nbsp @lv3, thin nbsp=20 @lv4 "numpad:shift3" ; Num Lock: Shift chooses=20 lv3 "kpdl:semi" ; key pad semicolon @lv3 "misc:typo" ; add extra typographic=20 chars "ctrl:swapcaps" ; onwards for great Emacs "terminate:ctrl_alt_bksp"))) ; zap X just to watch it=20 die Here's what works just fine: (service slim-service-type (slim-configuration (xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout) =E2=80=A6 However, today I tried to (re-)add it to GRUB, too, and ended up=20 writing the following comment: (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) ;; XXX Strange bug: GRUB can read the LUKS passphrase, but=20 afterwards (at ;; the menu screen) no longer responds to key presses. Even=20 stranger: it ;; makes my X230T's backspace key send =E2=80=98XF86ScreenSaver=E2=80=99= s even=20 on Linux. ;; (keyboard-layout keyboard-layout) (target "/boot/efi") (timeout 1)))) This is 100% reproducible. I'll try to narrow it down a bit, but the combination of losing my=20 actual work-workstation (which is also my funstation) while=20 entering my passphrase 5 times, every time, makes that an=20 unpleasant and tedious affair. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXM8O8wAKCRANsP+IT1Vt eYmSAP4rXKc9voPyuNiA9NLtt2DL62q1y6ySXB7CLb4uvSeTkgD+Poe0/skMRf1o rC/MXJ4mlXms0yjgFUtU7cYpQfVY5A4= =huNA -----END PGP SIGNATURE----- --=-=-=--