The fix may be a little more complicated.
I had to add an 'apmd' script.
(1.) Blacklist usbtouchscreen in the file: "/etc/modprobe.d/blacklist.conf"
ie. add an entry to the end of the file "blacklist usbtouchscreen"
ie. "sudo gedit /etc/modprobe.d/blacklist.conf"
(2.) Create a file in /etc/apm/scripts.d called "touchscreen" and put
the following contents in it.
#!/bin/sh
#
# apmd proxy script for ALSA
[ -x /usr/sbin/alsactl ] || exit 0
case "$1,$2" in
suspend,*) /usr/sbin/alsactl store && /sbin/alsa suspend ;;
resume,suspend) /sbin/alsa resume && /usr/sbin/alsactl restore ;;
esac
########
(3.) Then save it and type "sudo chmod 755
/etc/apm/scripts.d/touchscreen"
(4.) Then type "cd /etc/apm/resume.d"
(5.) Then from that path type, "sudo ln -s ../scripts.d/touchscreen
./20touchscreen"
(6.) Shut your lid and re-open it and see if the touchscreen starts
working...
ASUS Vivobook here
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xinput in Ubuntu.
https://bugs.launchpad.net/bugs/1275416
Title:
touchscreen do not work after suspend/resume
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xinput/+bug/1275416/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp