mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-27 05:19:43 +01:00
apple/macbook-pro/12-1: brcmfmac: mention resume issue
This commit is contained in:
parent
34c1bf11bb
commit
b371da6e8d
1 changed files with 3 additions and 2 deletions
|
@ -8,12 +8,13 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
powerManagement = {
|
powerManagement = {
|
||||||
# enable gradually increasing/decreasing CPU frequency, rather than using
|
# Enable gradually increasing/decreasing CPU frequency, rather than using
|
||||||
# "powersave", which would keep CPU frequency at 0.8GHz.
|
# "powersave", which would keep CPU frequency at 0.8GHz.
|
||||||
cpuFreqGovernor = lib.mkDefault "conservative";
|
cpuFreqGovernor = lib.mkDefault "conservative";
|
||||||
|
|
||||||
# brcmfmac being loaded during hibernation would not let a successful resume
|
# brcmfmac being loaded during hibernation would not let 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.
|
||||||
powerUpCommands = lib.mkBefore "${pkgs.kmod}/bin/modprobe brcmfmac";
|
powerUpCommands = lib.mkBefore "${pkgs.kmod}/bin/modprobe brcmfmac";
|
||||||
powerDownCommands = lib.mkBefore "${pkgs.kmod}/bin/rmmod brcmfmac";
|
powerDownCommands = lib.mkBefore "${pkgs.kmod}/bin/rmmod brcmfmac";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue