From c11c8ac938e65d864401de86b10dfcb2786c1f0e Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 22 Mar 2023 09:34:03 +0100 Subject: [PATCH] dumpyourvms: fix powerUp/powerDown commands for linux kernels version 6.1+ --- hosts/dumpyourvms/dumpyourvms.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/dumpyourvms/dumpyourvms.nix b/hosts/dumpyourvms/dumpyourvms.nix index 182ef7cb..6aed4752 100644 --- a/hosts/dumpyourvms/dumpyourvms.nix +++ b/hosts/dumpyourvms/dumpyourvms.nix @@ -124,8 +124,8 @@ in { # brcmfmac being loaded during hibernation would inhibit a successful resume # https://bugzilla.kernel.org/show_bug.cgi?id=101681#c116. # Also brcmfmac could randomly crash on resume from sleep. - powerUpCommands = lib.mkBefore "${pkgs.kmod}/bin/modprobe brcmfmac"; - powerDownCommands = lib.mkBefore "${pkgs.kmod}/bin/rmmod brcmfmac"; + powerUpCommands = lib.mkBefore "${pkgs.kmod}/bin/modprobe brcmfmac_wcc brcmfmac"; + powerDownCommands = lib.mkBefore "${pkgs.kmod}/bin/rmmod brcmfmac_wcc brcmfmac"; }; # Change lid switch behaviour