1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-18 23:59:45 +01:00
nixos-hardware/framework/13-inch/7040-amd
2023-11-13 22:40:45 +00:00
..
default.nix feat(framework): add suspend udev hint 2023-11-13 22:32:05 +00:00
README.md Update README.md 2023-11-13 22:40:45 +00:00

Framework Laptop 13

Updating Firmware

First put enable fwupd

services.fwupd.enable = true;

Then run

 $ fwupdmgr update

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.

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"
'';

See Framework AMD Ryzen 7040 Series lid wakeup behavior feedback.