So, Dell XPS 13 has the nice touch screen with Debian Jessie, but there is one problem for this. After suspend, hibernate, or both, the touch screen doesn't work at all.


Somehow this is related with some Gnome 3 bug, which I read in somewhere in web. So don't need to recompile the package, the simple approach to reload the kernel module via

alias reload_touch='modprobe -r hid_multitouch && modprobe hid_multitouch'


However, the further googling guided me the following page

https://mail.gnome.org/archives/networkmanager-list/2014-October/msg00091.html


I've got the hint from the above page, do the same thing except the hid_multitouch kernel module. Create hid_multitouch-reload.service in /etc/systemd/system as

[Unit]
Description=Reload hid_multitouch driver after system resume
After=hibernate.target
After=suspend.target
After=hybrid-sleep.target

[Service]
Type=oneshot
ExecStart=/sbin/modprobe -r hid_multitouch
ExecStart=/sbin/modprobe hid_multitouch

[Install]
WantedBy=hibernate.target
WantedBy=suspend.target
WantedBy=hybrid-sleep.target

And

root@ctrlnb0:/etc/systemd/system# systemctl enable hid_multitouch-reload.service
Created symlink from /etc/systemd/system/hibernate.target.wants/hid_multitouch-reload.service to /etc/systemd/system/hid_multitouch-reload.service.
Created symlink from /etc/systemd/system/suspend.target.wants/hid_multitouch-reload.service to /etc/systemd/system/hid_multitouch-reload.service.
Created symlink from /etc/systemd/system/hybrid-sleep.target.wants/hid_multitouch-reload.service to /etc/systemd/system/hid_multitouch-reload.service.


I will check whether this solution is correct or not in next week. :)

work well :)



posted by citadel