I have Asus Zenbook with AMD radeon graphics. After installing Ubuntu 18.04 LTs my laptop keyboard was working fine, but after updating and rebooting the laptop, the keyboard stopped working, not even in lock screen. USB keyboard still works. Touchpad also works.
I followed other similar questions on this topic and followed the following procedure:
sudo apt-get install xserver-xorg-input-all
after running this code in terminal, and rebooting the laptop, keyboard issue was solved. I did multiple reboots later and keyboard was still working. However, when I shutdown/poweroff the laptop, keyboard does not work when powered on again. So the problem is I have to run the above code everytime I switch on after shutdown.
Is there any way to solve the problem so that laptop keyboard works irrespective of shut down or reboot?
sudo dpkg-reconfigure keyboard
.sudo dpkg-reconfigure keyboard-configuration
.