#63 USB Keyboard does not work with Libreboot 20211122

Open
opened 7 months ago by weimzh · 6 comments

Libreboot 20211122 (GRUB rom) has issues with USB keyboard.

When using the arrow keys with the USB keyboard, it has no response.

Sometimes Libreboot will fail to boot with 'Unknown key 0xff detected' error message flooding the screen with USB keyboard plugged in.

Tried with 2 keyboards and both have the same issue.

Libreboot 20211122 (GRUB rom) has issues with USB keyboard. When using the arrow keys with the USB keyboard, it has no response. Sometimes Libreboot will fail to boot with 'Unknown key 0xff detected' error message flooding the screen with USB keyboard plugged in. Tried with 2 keyboards and both have the same issue.
Wei Mingzhi commented 7 months ago
Poster
video of the bug: https://www.youtube.com/watch?v=mH7mCW-sFJk
Leah Rowe commented 7 months ago
Owner

try this:

edit the grub.cfg in your rom. see this line:

terminal_input --append at_keyboard

add a new line after, and add this:

terminal_input --append usb_keyboard

you can do this by following the guide:

https://libreboot.org/docs/gnulinux/grub_cbfs.html

tell me if this fixes the problem

try this fix first and we'll go from there. good luck!

try this: edit the grub.cfg in your rom. see this line: `terminal_input --append at_keyboard` add a new line after, and add this: `terminal_input --append usb_keyboard` you can do this by following the guide: <https://libreboot.org/docs/gnulinux/grub_cbfs.html> tell me if this fixes the problem try this fix first and we'll go from there. good luck!
Wei Mingzhi commented 7 months ago
Poster

added terminal_input --append usb_keyboard

Seems the issue is fixed if I plug in the keyboard before powering on the laptop with that line.

If I plug in the keyboard after powering on the laptop in the GRUB screen, libreboot GRUB would still flood the screen with the 'unknown key 0xff detected' error message.

added terminal_input --append usb_keyboard Seems the issue is fixed if I plug in the keyboard _before_ powering on the laptop with that line. If I plug in the keyboard _after_ powering on the laptop in the GRUB screen, libreboot GRUB would still flood the screen with the 'unknown key 0xff detected' error message.

I have a similar issue on my T400. Both external mice and keyboards cause the same error message (Unknown key 0xff detected) but ONLY if they are plugged into my Type 2504 dock. If I plug them into the built-in USB ports they work just fine.

Also, if I plug them in as my OS loads then they work just fine.

When the screen floods with "Unknown key 0xff detected" if I then unplug the offending device, I get this message: alloc magic is broken at 0x7cdd11f0.

I have a similar issue on my T400. Both external mice and keyboards cause the same error message (Unknown key 0xff detected) but ONLY if they are plugged into my Type 2504 dock. If I plug them into the built-in USB ports they work just fine. Also, if I plug them in as my OS loads then they work just fine. When the screen floods with "Unknown key 0xff detected" if I then unplug the offending device, I get this message: alloc magic is broken at 0x7cdd11f0.
Leah Rowe commented 6 months ago
Owner

i'll test with usb_keyboard added as you suggest, ready for the next release. for now, we at least have this documented here

indeed, the existing at_keyboard line is good for ps/2 keyboards (including thinkpad internal keyboards) but not external usb ones

i'll test with usb_keyboard added as you suggest, ready for the next release. for now, we at least have this documented here indeed, the existing at_keyboard line is good for ps/2 keyboards (including thinkpad internal keyboards) but not external usb ones
Leah Rowe commented 6 months ago
Owner

should be fixed now. leaving this option just in case. test with lbmk c3a66c3275

should be fixed now. leaving this option just in case. test with lbmk c3a66c32750fa4a9a90ddb6383b09fdfb6ff77f5
Sign in to join this conversation.
No Label
No Milestone
No assignee
3 Participants
Loading...
Cancel
Save
There is no content yet.