You are not logged in.

#1 2020-01-23 23:23:58

jones
Member
Registered: 2013-03-14
Posts: 181

External keyboard does not work on LUKS prompt, version 2020 Jan

I set up LVM on LUKS on my laptop. I tried to enter the passphrase with my external keyboard for the first time 10 minutes ago and it does not register any input.

I can't find an error in my setup.
What's a good direction to solve this or to figure out the problem?

$ cat /etc/mkinitcpio.conf | grep keyboard

HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block sd-encrypt sd-lvm2 filesystems fsck)

$ cat /etc/vconsole.conf

KEYMAP=de-latin1-nodeadkeys
FONT=ter-v18n

The relevant wiki parts:
https://wiki.archlinux.org/index.php/Dm … mkinitcpio
https://wiki.archlinux.org/index.php/Dm … mkinitcpio

Offline

#2 2020-01-24 08:17:35

jones
Member
Registered: 2013-03-14
Posts: 181

Re: External keyboard does not work on LUKS prompt, version 2020 Jan

I have made 2 observations:

  1. The keyboard works in the systemd-boot menu, I can select other entries. (which surprised me)

  2. The behavior does not change if I reconnect the USB cable.

Offline

#3 2020-01-25 12:17:22

jones
Member
Registered: 2013-03-14
Posts: 181

Re: External keyboard does not work on LUKS prompt, version 2020 Jan

This is a one-time update to inform about the following flip-flop behavior: the keyboard just worked for the LUKS prompt.

Offline

#4 2020-01-25 13:51:35

stas-t
Member
Registered: 2019-05-21
Posts: 2

Re: External keyboard does not work on LUKS prompt, version 2020 Jan

The reason why it worked now is probably because you ran mkinitcpio with your external keyboard attached. So your initramfs has the kernel module now.
To make this change permanent - note the required kernel module(s) and add it (them) to MODULES section in your /etc/mkinitcpio.conf.

Last edited by stas-t (2020-01-25 13:52:02)

Offline

#5 2020-01-31 10:13:32

jones
Member
Registered: 2013-03-14
Posts: 181

Re: External keyboard does not work on LUKS prompt, version 2020 Jan

Thank you for your reply.

stas-t wrote:

The reason why it worked now is probably because you ran mkinitcpio with your external keyboard attached. So your initramfs has the kernel module now.

Ok. I could swear I had ran a pacman update prior to this occurrence (and subsequently an automatic run of mkinitcpio) with my keyboard attached.

To make this change permanent - note the required kernel module(s) and add it (them) to MODULES section in your /etc/mkinitcpio.conf.

Are you referring to including of the modules I can list via lsmod? Then I think I should include hid_generic.

Offline

Board footer

Powered by FluxBB