Last active
November 12, 2020 00:50
-
-
Save kyoheiyazawa/55a831dac8b08df8bfb115d4fd240f0d to your computer and use it in GitHub Desktop.
Fix Thinkpad X1 Carbon trackpad dropout (place at /lib/systemd/system-sleep/)
This file contains hidden or 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
#!/bin/bash | |
# chmod 755, chown root:root | |
sleep 1s | |
if [ "${1}" == "post" ]; then | |
echo "Executing custom touchpad fix at /usr/lib/systemd/system-sleep/touchpad-fix.sh" | |
echo -n "none" | sudo tee /sys/bus/serio/devices/serio1/drvctl | |
echo -n "reconnect" | sudo tee /sys/bus/serio/devices/serio1/drvctl | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment