Drive-Trust-Alliance / sedutil

DTA sedutil Self encrypting drive software
603 stars 233 forks source link

USB keyboard required for entering passphrase #422

Open bshor opened 1 year ago

bshor commented 1 year ago

I'm running Garuda Linux, an Arch derivative (so: newest everything, including the 6.1.6 kernel), on a new notebook (HP Elitebook) and a SED-capable SSD (Crucial P5 Plus). I successfully locked the drive using the instructions on the Arch Wiki.

I noticed, however, that when I'm asked for the pass-phrase on bootup, I can only enter it with my USB keyboard that's attached to my USB-C hub. Literally using the laptop's keyboard gets no response, while I can easily type it with the USB keyboard.

I saw also that using the rescue disk has the same issue -- no response from the internal keyboard, USB works fine.

This might be almost usable if the internal keyboard worked to type the pass-phrase when away from my desk and the USB keyboard was not attached. But it doesn't! So the software is totally useless, as you can imagine, if I can't enter my passphrase.

What could be going on?

gohrner commented 1 year ago

Does the notebook have an AMD Ryzen 6000 series CPU or something similar?

bshor commented 1 year ago

Yes, it does (6800U).

gohrner commented 1 year ago

Then it's probably a kernel bug: https://www.reddit.com/r/AMDLaptops/comments/vdc7fy/keyboard_in_multiple_ryzen_6000_laptops_not/

Linux 6.0 contains the fix, but the kernel contained in the PBA is much older.

Not sure if you'd have success by manually putting an up-to-date kernel into the PBA image.

bshor commented 1 year ago

Oh, wow. Ok, I didn't realize this. Thank you for letting me know. Probably this should be on the main GitHub page, and on the Arch Wiki!