Skip to content

Installed Arch linux and have ran into my second issue. Laptop Keyboard not typing passphrase for encrypted volume.

I plug in USB keyboard it works then i'm able to type with builtin keyboard aswell as USB keyboard. I've got the HOOKS all there. I've tried putting the same hook modules into grub modules but no luck.

0 points14 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
adyh58

Author

17
posts
50
comments
4
media
View profile

19 comments

Find out which kernel module your laptop keyboard uses when it is working (booted normally), and then put it into /etc/mkinitcpio.conf file MODULES array.

2 points

From the arch wiki an addition to the keyboard hook:

Tip: For systems that are booted with different hardware configurations (e.g. laptops with external keyboard vs. internal keyboard or headless systems), it is helpful to place this hook before autodetect in order to always include all keyboard drivers. Otherwise the external keyboard only works in early userspace if it was connected when creating the image

Nevertheless you might see a systemd problem...

1 points

I've ran into a very similar issue today. Laptop keyboard does not work when prompted for encrypted drive passphrase. Connecting external usb keyboard solves the issue with entering the passphrase and enables to boot the system. This issue started occurring after today system upgrade which included systemd update. I am baffled why would laptop keyboard suddenly stopped working or needed an extra driver entry in mkinitcpio.conf. I would rather expect usb keyboard require such shenanigans.

1 points

Solution or wait for an update? This is driving me nuts lol I'm a new arch user.

1 points

I think you're using LVM on LUKS so you have to make sure the required kernel modules for the internal keyboard are loaded in the correct order (/etc/mkinitcpio.conf) to make it work properly:

-HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)
+HOOKS=(base udev autodetect modconf block keyboard keymap encrypt lvm2 filesystems fsck)

As you can see the keyboard and keymap modules are placed first before the encrypt and lvm2 modules. It is important that these are placed before the filesystems module.

Rebuild the image afterwards with mkinicpio -p linux to apply the new modules.

1 points

-HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)
+HOOKS=(base udev autodetect modconf block keyboard keymap encrypt lvm2 filesystems fsck)

Still the same issue

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.