Skip to content

Commit

Permalink
RUNTIME_PM_DRIVER_DENYLIST: add xhci_hcd to default
Browse files Browse the repository at this point in the history
Rationale: users report that USB devices are not recognized or do not
work in battery mode.

Workaround: exclude USB3 controllers from runtime pm. Additional power
consumption on unaffected laptops should be negligible.

References:
* https://linrunner.de/tlp/faq/usb.html#faq-usb-not-working-on-battery
* #436
* #587
  • Loading branch information
linrunner committed Feb 20, 2024
1 parent ac8b5e7 commit ed62f4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
RUNTIME_PM_DRIVER_DENYLIST="mei_me nouveau radeon"
RUNTIME_PM_DRIVER_DENYLIST="mei_me nouveau radeon xhci_hcd"
USB_AUTOSUSPEND=1
USB_EXCLUDE_AUDIO=1
USB_EXCLUDE_BTUSB=0
Expand Down
4 changes: 2 additions & 2 deletions tlp.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,9 @@
# Note: this preserves the kernel driver default, to force a certain state
# use RUNTIME_PM_ENABLE/DISABLE instead.
# Separate multiple drivers with spaces.
# Default: "mei_me nouveau radeon", use "" to disable completely.
# Default: "mei_me nouveau radeon xhci_hcd", use "" to disable completely.

#RUNTIME_PM_DRIVER_DENYLIST="mei_me nouveau radeon"
#RUNTIME_PM_DRIVER_DENYLIST="mei_me nouveau radeon xhci_hcd"

# Permanently enable/disable Runtime PM for listed PCIe device addresses
# (independent of the power source). This has priority over all preceding
Expand Down

0 comments on commit ed62f4a

Please sign in to comment.