About half the time when entering Ubuntu or resuming from sleep, my built-in laptop keyboard doesn't register any inputs or show up in xinput even though my keyboard always works on GRUB and Windows. Repeatedly unplugging and replugging some USB peripherals (USB hub, mouse, external hard drive) eventually reactivates the keyboard and makes it appear in xinput (as "AT Translated Set 2 keyboard" always with id=15, even if something else was id=15 previously). The keyboard still lights up even when inputs aren't being registered. I've been having this issue since first installing Ubuntu a week or two ago.

All of my drivers are up to date, and I'm on the latest version of Ubuntu. Disabling intel_vbtn as outlined here: https://askubuntu.com/a/1282269/558457 also didn't fix the issue. Does anyone know about a possible cause or fix?

  • While it's far from a perfect fix, I noticed that if I boot up without any USB peripherals at all, my keyboard usually starts working fine as soon as I get to the login screen or shortly after.
    – Sam Lowe
    Mar 11 '21 at 3:14

This issue can generally be fixed by installing the xserver-xorg-input-all package, which will include better support for a number of keyboards (and other input devices). You can install it like this:

sudo apt update
sudo apt install xserver-xorg-input-all

Once this is done, reboot the notebook and you should be good to go 👍🏻

  • Unfortunately, that didn't work. Are there any other packages that might help?
    – Sam Lowe
    Feb 16 '21 at 1:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.