dumpyourvms: fix powerUp/powerDown commands for

linux kernels version 6.1+
This commit is contained in:
teutat3s 2023-03-22 09:34:03 +01:00
parent 76ec848b23
commit c11c8ac938
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -124,8 +124,8 @@ in {
# brcmfmac being loaded during hibernation would inhibit a successful resume # brcmfmac being loaded during hibernation would inhibit a successful resume
# https://bugzilla.kernel.org/show_bug.cgi?id=101681#c116. # https://bugzilla.kernel.org/show_bug.cgi?id=101681#c116.
# Also brcmfmac could randomly crash on resume from sleep. # Also brcmfmac could randomly crash on resume from sleep.
powerUpCommands = lib.mkBefore "${pkgs.kmod}/bin/modprobe brcmfmac"; powerUpCommands = lib.mkBefore "${pkgs.kmod}/bin/modprobe brcmfmac_wcc brcmfmac";
powerDownCommands = lib.mkBefore "${pkgs.kmod}/bin/rmmod brcmfmac"; powerDownCommands = lib.mkBefore "${pkgs.kmod}/bin/rmmod brcmfmac_wcc brcmfmac";
}; };
# Change lid switch behaviour # Change lid switch behaviour