I just upgraded my laptop from 18.04.5 to 20.04 and my keyboard and mouse have stopped working. The keyboard works in BIOS and when entering my password for cryptsetup but as soon as it's all fully loaded up, the mouse and keyboard stop working. I've tried using the terminal/command line to enter sudo alt-get install xserver-xorg-input-all as suggested on a few sites. This has not helped at all! Does anyone have any suggestions? I'm completely lost without my laptop!! Thanks in advance.
Ubuntu 20.04 / CHUWI AEROBOOK Have the same issue, although in my case the keyboard stopped working after a few reboots right after install and config.
- Still works with USB keyboard after normal boot
- Laptop keyboard works after a recovery boot, but display settings are gone - no brightness control, no external monitor.
- Tried most of the solutions in posts online to no effect.
The problem is Ubuntu thinks your PC is a tablet and diables the keyboard.
The fix below works if the following command gives you any number that is not
How to fix this: (from https://askubuntu.com/a/1282269/558457)
There is a bug in recent kernels that disables some laptop keyboards. Mainly Acer and HP so far. Can usually go to recovery and boot from kernel 5.4.0-42 or use an external keyboard.
intel_vbtnkernel module is a workaround for this, as seen in Why my laptop's keyboard screwed up since kernel 5.4.0-47 till 5.8.0-20
To implement this, you can either create a new file in
/etc/modprobe.dwith the suffix
.confor use the main
blacklist.conffile. The former may be preferable, since you can then just delete the file when it is no longer required (i.e. when the bug is fixed):
Add a line to the file, optionally with a comment explaining why you are doing this
# bug in module breaks keyboard, so don't load it blacklist intel_vbtn
Save the file, exit and reboot.