I recently switched from Windows to Elementary OS and i have noticed several times that the keyboard as well as the touch pad stops working. If i restart my laptop, then everything seems to work fine for sometime but then again the same problem occurs. This never happened in Windows. Please help.
In my case elementary OS was working fine until I install so many things including software update from app center, then I leave my laptop and when I came back the keyboard and mouse does not work.
I was logged in automatically and I can see the desktop with the mouse pointer, but I'm unable to move the mouse nor type anything on my keyboard (not even changing the screen brightness or volume on function keys)
The solution in my case since I cannot type anything:
- I boot into elementary OS secure boot (the the one that has Advanced Options)
- Select Network to enable network
- Select Root to enable typing through command line
sudo apt-get install --reinstall xserver-xorg-input-all
I got the answer from this link, maybe it can help you with other information