Ubuntu – Keyboard not working after wake up or when I open the lid, Sony Vaio Ubuntu 18.04

18.04keyboardsonyvaio

The keyboard is not working on my Laptop when the system wakes up from suspend mode or when I close the Lid and then reopen.

I made a little edit on the grub file, where I added this Line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash atkbd.reset"

and again I have the same problem. Does someone know how to fix this ? Thanks.

Best Answer

  • I've found the solution to this problem, and adding this line

    GRUB_CMDLINE_LINUX_DEFAULT="**i8042.direct i8042.dumbkbd**"
    

    to /etc/default/grub will work.

    As it says in that file, you need to run sudo update-grub before these new settings will take effect.

    However, the bad thing is that the Caps Lock and NumLock lights on the Keyboard will be either always ON or OFF.