Skip to content

Instantly share code, notes, and snippets.

@rechner
Created January 24, 2020 00:42
Show Gist options
  • Save rechner/cffd716957144941c27daf366f9046d8 to your computer and use it in GitHub Desktop.
Save rechner/cffd716957144941c27daf366f9046d8 to your computer and use it in GitHub Desktop.
# cp suspend-fix.service /etc/systemd/system && systemctl enable --now suspend-fix.service
[Unit]
Description=Disable suspend wakeup interrupts except for LID
[Service]
Type=oneshot
ExecStart=/bin/sh -c "echo SLPB GLAN XHC > /proc/acpi/wakeup"
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment