Created
October 22, 2017 13:37
-
-
Save emesik/d01679052ef3aeb83ebe87f46d223b12 to your computer and use it in GitHub Desktop.
Service file which reloads wacom module on suspend/resume. Makes touchscreen work. Arch Linux / Lenovo ThinkPad Yoga S3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Reload wacom module (touchscreen) | |
After=suspend.target | |
[Service] | |
User=root | |
Type=oneshot | |
ExecStart=/usr/bin/rmmod wacom | |
ExecStop=/usr/bin/modprobe wacom | |
TimeoutSec=0 | |
StandardOutput=syslog | |
[Install] | |
WantedBy=suspend.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/etc/systemd/system
systemctl enable resume-wacom-reload.service