You are not logged in.

#1 2021-12-12 12:49:29

LucStr
Member
Registered: 2021-12-10
Posts: 4

mkinitcpio does not recognize keyboard on grub disk encryption

Hello everyone

I am running the latest Arch with both encrypted boot and root partition. This works fine. I am running Arch on a Laptop and started using a docking station to run it. My current issue is that my keyboard is not recognized in the startup prompt where grub is asking me for the passphrase for the boot partition. As soon as I start using my keyboard (Corsair k70 mk2) the whole disk encryption prompt gets locked and there is no escape except a hard reboot. If I use the onboard keyboard or another basic external keyboard the boot process works just fine. I am unsure what steps I should take to solve this. As a note the keyboard works just fine after I booted into the system.

So far I have taken the following steps:
- Add Usb Modules to mkinitcpio.conf:
MODULES=(usbhid xhci_hcd hid_generic ohci_pci hid_logitech_dj uhci_hcd)

I have tried different combinations of the above mentioned.

- Switch autoload & keyboard on the Hooks:
HOOKS=(base systemd keyboard autodetect sd-vconsole modconf block sd-encrypt filesystems fsck)

- Installing the aur package https://aur.archlinux.org/packages/upd72020x-fw/

Additionally every time after a change I've run the mkinitcpio -p linux command as well as grub-mkconfig, grub-install as well as resigning my EFI binary.

Would anybody know what might be my issue? I am happy to supply you with more information if needed.

Offline

#2 2021-12-13 13:26:22

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,083

Re: mkinitcpio does not recognize keyboard on grub disk encryption

Does the docking station use renesas chips ? If not that pacakge won't make a difference .

Is the keyboard from docking station working correctly if you boot the fallback image ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2021-12-15 22:37:30

LucStr
Member
Registered: 2021-12-10
Posts: 4

Re: mkinitcpio does not recognize keyboard on grub disk encryption

Unfortunately I did not get this working, but I also misunderstood something. I am using an encrypted boot partition. Grub was modified to be able to decrypt boot itself to access the linux firmware. The changes I make within the mkinitcpio.conf file do not take effect until the initramfs is loaded. Therefore any changes made to it won't have an impact. I assume this is a limitation of grub and therefore not possible. After talking to a friend About this. He told me that Mechanical Keyboards can sometime send invisible characters for Windows mode and this might interfere with Grub. Because of these reasons I abandoned this approach.

Offline

Board footer

Powered by FluxBB