You are not logged in.

#1 2019-09-04 17:53:44

olocin
Member
Registered: 2018-01-03
Posts: 171

Best order for hooks in /etc/mkinitcpio.conf

Using

HOOKS=(base udev autodetect modconf block filesystems keyboard consolefont encrypt fsck)

when laptop is docked, I'm unable to type my system encryption password using external keyboard.
Is there a different order of the hooks, or a new hook, or another method that enables me to type it using external keyboard?

Offline

#2 2019-09-04 17:57:03

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Best order for hooks in /etc/mkinitcpio.conf

Using the fallback initrd is the issue still present?

Offline

#3 2019-09-04 18:07:15

sabroad
Member
Registered: 2015-05-24
Posts: 242

Re: Best order for hooks in /etc/mkinitcpio.conf

olocin wrote:

there a different order of the hooks, or a new hook, or another method that enables me to type it using external keyboard?

tl;dr put the keyboard hook before autodetect

According to the wiki:

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.


--
saint_abroad

Offline

#4 2019-09-04 18:17:49

olocin
Member
Registered: 2018-01-03
Posts: 171

Re: Best order for hooks in /etc/mkinitcpio.conf

Cool, thanks.

Offline

Board footer

Powered by FluxBB