Comment 0 for bug 1569880

Revision history for this message
Egbert van der Wal (eggie) wrote :

On my laptop (Clevo P650RA) the touchpad is not always enabled after a suspend. I have worked around this by creating /etc/systemd/system/trackpad.service that runs a script in /etc/pm/sleep.d/ that re-enables the trackpad by doing:

DISPLAY=:0.0 /bin/su <myusername> -c '/usr/bin/xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 1' >> /var/log/touchpad.log

For some reason, the 'Device Enabled' flag is set to 0 during suspend, and it sometimes is not automatically re-enabled (but then again, sometimes it is).

I tried reporting this using 'ubuntu-bug xserver-xorg-input-evdev' like instructed, but unfortunately, ubuntu-bug seems to segfault while attempting to report the bug.