From eb903ed873af4063bf400ac988b03465fef51129 Mon Sep 17 00:00:00 2001 From: Tom Vincent Date: Thu, 16 Nov 2023 10:54:41 +0000 Subject: [PATCH] Update README.md --- framework/13-inch/7040-amd/README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/framework/13-inch/7040-amd/README.md b/framework/13-inch/7040-amd/README.md index 8ad0dbb..be3293e 100644 --- a/framework/13-inch/7040-amd/README.md +++ b/framework/13-inch/7040-amd/README.md @@ -21,11 +21,9 @@ Then run 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. ```nix -services.udev.extraRules = '' -# Prevent wake when plugging in AC during suspend. Trade-off: keyboard wake disabled. See: -# https://community.frame.work/t/tracking-framework-amd-ryzen-7040-series-lid-wakeup-behavior-feedback/39128/45 -ACTION=="add", SUBSYSTEM=="serio", DRIVERS=="atkbd", ATTR{power/wakeup}="disabled" -''; +{ + hardware.framework.amd-7040.preventWakeOnAC = true; +} ``` See [Framework AMD Ryzen 7040 Series lid wakeup behavior feedback](https://community.frame.work/t/tracking-framework-amd-ryzen-7040-series-lid-wakeup-behavior-feedback/39128/45).