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...
The fix may be a little more complicated. d/blacklist. conf" d/blacklist. conf"
I had to add an 'apmd' script.
(1.) Blacklist usbtouchscreen in the file: "/etc/modprobe.
ie. add an entry to the end of the file "blacklist usbtouchscreen"
ie. "sudo gedit /etc/modprobe.
(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