Skip to content

Commit

Permalink
fix(louise): disable auto-suspend of bluetooth devices
Browse files Browse the repository at this point in the history
  • Loading branch information
mnacamura committed Jan 9, 2022
1 parent 1d81262 commit a50f17c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hosts/louise/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
# Enable both GuC and HuC firmware loading (for processors before Gen 11)
# https://wiki.archlinux.org/title/Intel_graphics#Enable_GuC_/
"i915.enable_guc=2"

# Disable auto suspend of bluetooth devices:
# https://github.com/linrunner/TLP/issues/545#issuecomment-833576226
"btusb.enable_autosuspend=0"
];

blacklistedKernelModules = [
Expand Down Expand Up @@ -87,6 +91,10 @@

CPU_SCALING_GOVERNOR_ON_AC = "powersave";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";

# Bluetooth adopter gets powered off after disconnecting bluetooth mouse.
# USB_EXCLUDE_BTUSB = true; # This does not work.
USB_DENYLIST = "0489:e0a2"; # Bus 001 Device 003: ID 0489:e0a2 Foxconn / Hon Hai
};

dropbox.enable = true;
Expand Down

0 comments on commit a50f17c

Please sign in to comment.