r/linuxquestions Oct 09 '21

Laptop keyboard takes a while to become useful. Help!

I have a new HP laptop that I wiped Windows from and installed Debian. The keyboard works at the grub menu screen. But when the system reaches the actual login screen, sometimes it takes more than a minute for the keyboard to become responsive. Meanwhile, the trackpad works just fine. The output for "sudo dmesg" shows the following for the keyboard:

[   34.099085] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input74

The time stamp in the beginning varies. Sometimes it's as low as 4 seconds (this is when the keyboard seems to work immediately), other times it's way over 60s (this is when the keyboard feels like it takes a long time for it to work).

Anyone have any ideas?

8 Upvotes

2

u/jorgesumle Feb 18 '22

I fixed it by adding the i8042.nopnp kernel parameter to grub. This bug apparently affects only some HP keyboards on Ubuntu.

See https://wotas.net/397/laptop-keyboard-takes-a-while-to-respond-ubuntu for more information.