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
  • check the current kernel 
    [] uname -a
    Linux coffee 2.6.32-27-generic #49-Ubuntu SMP ...
  • [] cd boot
  • [] ls vmlinuz-*
    vmlinuz-2.6.32-26-generic
  • [] apt-get remove linux-image-2.6.32-26-generic
I didn't try to run apt-get autoremove,  but I don't know it works or not

'Computer > linux' 카테고리의 다른 글

Linus says: “C++ is a horrible language”  (0) 2011.02.16
Clean up old kernel in grub list (Ubuntu)  (0) 2011.01.28
Using parted, add a new 2TiB HDD  (0) 2011.01.26
ssh connection without typing password  (0) 2011.01.19
posted by citadel