Skip to content

Commit 55e9685

Browse files
authored
Fix Gigabyte B650 suspend issue (#1385)
1 parent bbf25ca commit 55e9685

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ See code for all available configurations.
184184
| [FriendlyARM NanoPi R5s](friendlyarm/nanopi-r5s) | `<nixos-hardware/friendlyarm/nanopi-r5s>` |
185185
| [Focus M2 Gen 1](focus/m2/gen1) | `<nixos-hardware/focus/m2/gen1>` |
186186
| [Gigabyte B550](gigabyte/b550) | `<nixos-hardware/gigabyte/b550>` |
187+
| [Gigabyte B650](gigabyte/b650) | `<nixos-hardware/gigabyte/b650>` |
187188
| [GPD MicroPC](gpd/micropc) | `<nixos-hardware/gpd/micropc>` |
188189
| [GPD P2 Max](gpd/p2-max) | `<nixos-hardware/gpd/p2-max>` |
189190
| [GPD Pocket 3](gpd/pocket-3) | `<nixos-hardware/gpd/pocket-3>` |

flake.nix

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
friendlyarm-nanopi-r5s = import ./friendlyarm/nanopi-r5s;
124124
focus-m2-gen1 = import ./focus/m2/gen1;
125125
gigabyte-b550 = import ./gigabyte/b550;
126+
gigabyte-b650 = import ./gigabyte/b650;
126127
google-pixelbook = import ./google/pixelbook;
127128
gpd-micropc = import ./gpd/micropc;
128129
gpd-p2-max = import ./gpd/p2-max;

gigabyte/b650/README.md

-5
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,3 @@ bug where the PC will wakeup immediately after going into suspend.
66
## Affects at least
77

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

gigabyte/b650/b650-fix-suspend.nix

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
# see https://bbs.archlinux.org/viewtopic.php?pid=2227023
3+
boot.kernelParams = [
4+
"acpi_osi=\"!Windows 2015\""
5+
];
6+
}

gigabyte/b650/default.nix

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
imports = [
3+
./b650-fix-suspend.nix
4+
];
5+
}

0 commit comments

Comments
 (0)