Gigabyte mobo sleep bug
Hello. I'm new to bazzite and linux in general. I became aware of the known issue with gigabyte motherboards waking the system from sleep immediately, and i found this script (https://github.com/DAK404/OpenSUSE-Setup-Scripts/blob/main/Scriptlets/Fixes-and-Tweaks/Fix-GigabyteDesktopSleepFix.sh ) on github that should disable the device causing the issue, but i can't seem to run it; terminal returns "failed to enable unit: unit biosWakeupWorkaround.service does not exist". can anyone offer some insight into what's preventing it from working?
GitHub
OpenSUSE-Setup-Scripts/Scriptlets/Fixes-and-Tweaks/Fix-GigabyteDesk...
A set of useful scripts that can help in setting up and maintaining OpenSUSE Tumbleweed systems - DAK404/OpenSUSE-Setup-Scripts
25 Replies
Have a look at the fixes from archwiki. https://wiki.archlinux.org/title/Power_management/Wakeup_triggers#Gigabyte_motherboards
Which motherboard do you have?
b550 aorus pro ax, sorry I should've mentioned that
I tried the command in that section and tried to sleep and my monitors and peripherals turned off but the PC remained on. monitors wouldn't turn back on so I had to hold the power button to shut down
The script from opensuse also only does the
echo GPP0 > /proc/acpi/wakeup
thing, same as the arch wiki. Not sure why it's not creating the systemd service for you, but that's the errormessage
https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#PC_will_not_wake_from_sleep_on_A520I_and_B550I_motherboards has some more diagnosing steps for those last symptomsyep
that script is fine
also, check what gpp0 is by just running
cat /proc/acpi/wakeup
it likely will tell you what sysfs node it is or disabledit's enabled. under sysfs node it lists pci:0000:00:01.1
also when i try to run echo GPP0 > /proc/acpi/wakeup i get permission denied. not sure how to get elevated perms for this as i'm not being prompted for my password
You'll need sudo. In linux guides things with $ are user # is root
what does it state in lspci?
if its a pci bridge then its probably safe to disable wakeup
if you do the wrong one, you will lock waking up at all
how do i check this?
lspci
sorry just without -t doesn't show the pci number
check the first few numbers when running
lspci
and you know what is waking up the system
if its just a "GPP bridge" or something, its ok to disableyea 00:01:1 says gpp bridge
it likely is the chipset*
you can check this by doing
lspci -v
it shows more info
to be fair just give a try, see if it works. make sure to test whether you can still wake the system by keyboard&mouse and by power button
and then you're good
and hopefully it doesn't lock the system upi'm not sure if the command to disable it worked properly, still shows as enabled when i run cat /proc/acpi/wakeup
need to enable the service
after you run the script
i couldn't get the script to run though
let me try again
systemctl enable biosWakeupWorkaround.service
you can also just do it manually
run this:
sudo nano /etc/systemd/system/toggle-gpp0-to-fix-wakeup.service
add this:
then Ctrl+X and then Y
then sudo systemctl enable toggle-gpp0-to-fix-wakeup.service
then rebootcurrently here after hitting y, not sure how to proceed

oh
Enter
ah
but you should cancel this
as you added a whol bunch of letters after service
lol
sorry i forgot to say to press enter first and then Y
lmao
i hit enter when you said to, how do i change that lol
just do
sudo rm -rf /etc/systemd/system/toggle-gpp0*
then try again
after you press Ctrl+X press Y and then Enterok cool, rebooting
it works
thank you both!
Happy gaming and thanks fax for coming in clutch!