Skip to content

Instantly share code, notes, and snippets.

@rickybrent
Last active May 4, 2021 18:58
Show Gist options
  • Save rickybrent/235fa0b7d4dc3c5dcb0c5fef7adb2d3a to your computer and use it in GitHub Desktop.
Save rickybrent/235fa0b7d4dc3c5dcb0c5fef7adb2d3a to your computer and use it in GitHub Desktop.
X1 Yoga 3 touch screen after suspend hack
[Unit]
Description=Touch wake Thinkpad X1 Yoga 3rd gen hack
After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target sleep.target
[Service]
ExecStart=/bin/sh -c "modprobe acpi_call && echo '\\_SB.PCI0.LPCB.EC._Q2A' > /proc/acpi/call"
[Install]
WantedBy=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target sleep.target
@rickybrent
Copy link
Author

rickybrent commented Apr 22, 2021

from https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Yoga_(Gen_3) -- also needs the acpi-call-dkms package.

sudo apt install acpi-call-dkms
sudo cp activate-touch-hack.service /etc/systemd/system/
sudo systemctl enable /etc/systemd/system/activate-touch-hack.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment