Skip to content

Commit

Permalink
enable acpi.ec_no_wakeup in Thinkpad T14 AMD Gen 5
Browse files Browse the repository at this point in the history
  • Loading branch information
kowale authored and Mic92 committed Dec 3, 2024
1 parent cceee0a commit bad8e79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lenovo/thinkpad/t14/amd/gen5/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
../../../../../common/cpu/amd/pstate.nix
];

# Embedded controller wake-ups drain battery in s2idle on this device
# See https://lore.kernel.org/all/ZnFYpWHJ5Ml724Nv@ohnotp/
boot.kernelParams = [ "acpi.ec_no_wakeup=1" ];

# For the Qualcomm NFA765 [17cb:1103] wireless network controller
# See https://bugzilla.redhat.com/show_bug.cgi?id=2047878
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.16") pkgs.linuxPackages_latest;
Expand Down

0 comments on commit bad8e79

Please sign in to comment.