-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from aarron-lee/main
add suspend workaround
- Loading branch information
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Legion Go immediately waking up from suspend | ||
|
||
Some users are reporting that suspend/resume is not working. | ||
|
||
The Legion Go controllers are waking up the device. | ||
|
||
For to workaround this issue, create a udev rule that blocks the controllers from waking the device. | ||
|
||
You can install the fix by running the following in terminal, then reboot: | ||
|
||
``` | ||
echo 'ACTION=="add", SUBSYSTEM=="pci", DEVPATH=="*/0000:00:08.1/*c2:00.3", ATTR{power/wakeup}="disabled"' | sudo tee /etc/udev/rules.d/99-suspend-fix.rules | ||
``` | ||
|
||
If you wish to remove this fix later on, simply delete the udev rule file. | ||
|
||
``` | ||
sudo rm /etc/udev/rules.d/99-suspend-fix.rules | ||
``` |