Skip to content

Commit

Permalink
Fix Gigabyte B650 suspend issue (#1385)
Browse files Browse the repository at this point in the history
  • Loading branch information
shouya authored Feb 24, 2025
1 parent bbf25ca commit 55e9685
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ See code for all available configurations.
| [FriendlyARM NanoPi R5s](friendlyarm/nanopi-r5s) | `<nixos-hardware/friendlyarm/nanopi-r5s>` |
| [Focus M2 Gen 1](focus/m2/gen1) | `<nixos-hardware/focus/m2/gen1>` |
| [Gigabyte B550](gigabyte/b550) | `<nixos-hardware/gigabyte/b550>` |
| [Gigabyte B650](gigabyte/b650) | `<nixos-hardware/gigabyte/b650>` |
| [GPD MicroPC](gpd/micropc) | `<nixos-hardware/gpd/micropc>` |
| [GPD P2 Max](gpd/p2-max) | `<nixos-hardware/gpd/p2-max>` |
| [GPD Pocket 3](gpd/pocket-3) | `<nixos-hardware/gpd/pocket-3>` |
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
friendlyarm-nanopi-r5s = import ./friendlyarm/nanopi-r5s;
focus-m2-gen1 = import ./focus/m2/gen1;
gigabyte-b550 = import ./gigabyte/b550;
gigabyte-b650 = import ./gigabyte/b650;
google-pixelbook = import ./google/pixelbook;
gpd-micropc = import ./gpd/micropc;
gpd-p2-max = import ./gpd/p2-max;
Expand Down
5 changes: 0 additions & 5 deletions gigabyte/b650/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,3 @@ bug where the PC will wakeup immediately after going into suspend.
## Affects at least

- Gigabyte B650M Aorus Elite AX (Rev. 1.3) (BIOS Version F32b)
- Can not be fixed by modifying enabled entries in /proc/acpi/wakeup.
Computer wakes up even if all enabled entries are disabled. Therefore, no
fix exist currently.


6 changes: 6 additions & 0 deletions gigabyte/b650/b650-fix-suspend.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
# see https://bbs.archlinux.org/viewtopic.php?pid=2227023
boot.kernelParams = [
"acpi_osi=\"!Windows 2015\""
];
}
5 changes: 5 additions & 0 deletions gigabyte/b650/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
imports = [
./b650-fix-suspend.nix
];
}

0 comments on commit 55e9685

Please sign in to comment.