mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
framework amd: only apply suspend workaround on <6.7
This commit is contained in:
@@ -18,7 +18,7 @@ Then run
|
||||
|
||||
## Suspend/wake workaround
|
||||
|
||||
As of firmware v03.03, a bug in the EC causes the system to wake if AC is connected _despite_ the lid being closed. The following works around this, with the trade-off that keyboard presses also no longer wake the system.
|
||||
As of firmware v03.03, a bug in the EC causes the system to wake if AC is connected _despite_ the lid being closed. A workaround has been [upstreamed](https://github.com/torvalds/linux/commit/a55bdad5dfd1efd4ed9ffe518897a21ca8e4e193) in Linux v6.7. For older kernels, the following works around this, with the trade-off that keyboard presses also no longer wake the system.
|
||||
|
||||
```nix
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user