Created
December 8, 2020 23:07
-
-
Save mlabieniec/345935789e048e53d8b387ba1e4d30b1 to your computer and use it in GitHub Desktop.
Macbook Pro Ubuntu 20.10+ suspend fix
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/sh -e | |
# Disables the lid (you would need to use the power button) | |
# echo LID0 > /proc/acpi/wakeup | |
# Disables (I think) the yubikey usb which i think fires the wake event causing suspend to not work | |
echo XHC1 > /proc/acpi/wakeup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment