Desktop PC immediately wakes from sleep

Hi everyone! Just swapped to Bazzite (dual-booting) on my desktop PC. It's going mostly well, except I'm having a problem where it refuses to sleep. I put it to sleep, it signs me out, the lights turn off and fans spin down, and then immediately turns back on. I've found this article on ArchWiki (which I know, Bazzite isn't Arch!) which mentions that my motherboard model might be to blame. I tried the command, but it said permission denied. Any advice or thoughts? https://wiki.archlinux.org/title/Power_management/Wakeup_triggers#Instantaneous_wakeup_after_suspending
No description
4 Replies
wolfyreload
wolfyreload2w ago
Arch is assuming that you are running the commands as root. No idea if this will work or not though. The Arch wiki is really good for figuring out how stuff works at least
sudo su # change to root (after typing your password)
echo GPP0 > /proc/acpi/wakeup # what the arch wiki was suggesting for Gigabyte motherboard in your link
sudo su # change to root (after typing your password)
echo GPP0 > /proc/acpi/wakeup # what the arch wiki was suggesting for Gigabyte motherboard in your link
If you run cat /proc/acpi/wakeup afterwards check if the GPP0 device is disabled and then try your sleep and wake up
ellie
ellieOP2w ago
Yes! It managed to point me in the right track :-) I actually found a Reddit thread that seems to fix the issue, including a script that should automate it. Other commenters on there mention running the solution Bazzite too!
ellie
ellieOP2w ago
Thank you for your help though! Just wanted to post the thread in case anyone else stumbles across this in the future
Want results from more Discord servers?
Add your server