1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-26 19:49:45 +01:00
nixos-hardware/gigabyte/b550
Nire Bryce 474549f841
gigabyte b550: suspend fix (#884)
fixes b550 suspend bug by setting up systemd services that disable GPP0 and GPP8 in /proc/acpi/wakeup

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-03-25 08:40:22 +01:00
..
b550-fix-suspend.nix gigabyte b550: suspend fix (#884) 2024-03-25 08:40:22 +01:00
default.nix gigabyte b550: suspend fix (#884) 2024-03-25 08:40:22 +01:00
README.md gigabyte b550: suspend fix (#884) 2024-03-25 08:40:22 +01:00

B550 suspend bug

Gigabyte B550-family motherboards have a hard to diagnose (At least, from the system log events) suspend bug.

As of the F18 bios for the b550m-d3sh (My machine), released in 2024-02-27, this is still unfixed by the manufacurer and has been for over 4 years.

Symptoms:

  • Suspend PC
  • It goes into suspend, then seems to boot and hang. Sometimes it suspends successfully, but waking it from suspend puts it in the "zombie" state.
  • By playing chicken with volatile storage and flicking the power switch on the back of power supply, you can sometimes get it to wake from suspend as the card un-powers before volatile storage does.

Fix: disable GPP0 and GPP8 (And, for some cards, potentially PTXH, I can't test) in /proc/acpi/wakeup - To do this permanently, a systemd service is provided

This affects at least:

Anecdotes of other boards:

Shoutouts:

Breadcrumbs:

https://www.reddit.com/r/gigabyte/comments/p5ewjn/b550i_pro_ax_f13_bios_sleep_issue_on_linux/

https://www.reddit.com/r/archlinux/comments/11urtla/systemctl_suspend_hibernate_and_hybridsleep_all/

https://forum.manjaro.org/t/system-do-not-wake-up-after-suspend/76681/2