Touchpad under Linux

Mostly how to fix when it stops working

Put laptop into sleep. This seems to work well when the touchpad is "semi-locked" (some clicks, movements work)

Reload kernel modules:

modprobe -r psmouse && modprobe psmouse

Enable/disable from X:

xinput --list
# apt-get install xinput
# pick relevant ID
xinput disable ID
xinput enable ID