Comment 22 for bug 81767

Revision history for this message
Jan Skowron (jan-skowron) wrote :

Solution:

  sudo sh -c 'echo -n "i8042" > /sys/bus/platform/drivers/i8042/unbind'
  sudo sh -c 'echo -n "i8042" > /sys/bus/platform/drivers/i8042/bind'

Problem with keyboard not working after resume from suspend is in driver i8042. Until it will be fixed I advise to use this workaroud.
Other solution is to complile i8042 as module (and maybe psmouse) and unload it before suspend, that load it after resume.

I have put two above lines into my Power Manager configuration (/etc/pm/hooks/). If you are using diferent suspend script put it there.
I have laptop HP nx7400 with Fedora Core 6, as I can see this problem is common through all Linux distibutions and all manufacturers. On hundreds of forums there are questions like: "What to do if my keyboard and touchpad doesnt wake up after resume from suspend or thaw after hibernate" or topics like "no keyboard after suspend" and "keyboard problem after resume from hibernation". I think it is imperativie to solve this problem once and for all.

Problem solved but only temporarlly!
Solution from: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/23497/comments/17

PS. sometimes after resume scroll on touchpad doest work, going to text console (Alt+F1) and back (Alt+F7) often helps.