OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
power-suspend medium common DISPUTE

Stop TLP's USB autosuspend killing DACs, headsets and Bluetooth on battery

archomarchyendeavouroscachyosmanjarolaptoptlppipewire
CORRECTED An auditor found the fix wrong or incomplete and rewrote it.
AUDIT NOTE

Two real errors. (1) The cause paragraph is wrong about defaults: TLP's own docs state "All input devices (driver usbhid), libsane-supported scanners and audio devices get excluded by default". USB_EXCLUDE_AUDIO defaults to 1, so a USB DAC is already excluded and USB autosuspend is not the explanation for it. The device that genuinely is NOT excluded by default is Bluetooth (USB_EXCLUDE_BTUSB defaults to 0), which the record misses as the one-line fix. (2) The closing 'without TLP' udev rule is backwards and actively harmful: ATTR{power/control}="auto" ENABLES autosuspend on every non-mouse, non-keyboard USB device. It would cause the reported symptom on a machine that does not have it. Disabling autosuspend requires "on", not "auto". USB_DENYLIST and USB_AUTOSUSPEND=0 themselves are correct option names, and the note about /etc/tlp.conf taking precedence over /etc/tlp.d/ is right.

The cause above was rewritten on 2026-08-30 to match this note; the fix was corrected by the audit itself.
RISK

USB_AUTOSUSPEND=0 measurably shortens battery life. Prefer denylisting the specific device.

Symptom

On battery my USB DAC crackles or disappears, my Bluetooth headphones cut out, or the mouse stutters. It is all fine when plugged into AC. dmesg shows hci0: link tx timeout.

Cause

With its default configuration TLP enables USB autosuspend on battery. Its own docs state that all input devices (driver usbhid), libsane-supported scanners **and audio devices** are excluded by default. USB_EXCLUDE_AUDIO defaults to 1, so a USB DAC is already covered and autosuspend is usually not the explanation for it. The class that genuinely is *not* excluded by default is Bluetooth: USB_EXCLUDE_BTUSB defaults to 0, so a USB Bluetooth radio is the device this actually bites.

Fix

Identify the device:


lsusb

For Bluetooth (the common case, because unlike input, scanner and audio devices, Bluetooth is NOT excluded by default):


# /etc/tlp.d/10-usb.conf
USB_EXCLUDE_BTUSB=1

For anything else, denylist by vendor:product:


# /etc/tlp.d/10-usb.conf
USB_DENYLIST="1234:5678"

Note that USB audio devices (snd_usb_audio) and usbhid input devices are already excluded by TLP defaults. If your DAC crackles on battery, TLP's USB autosuspend is probably not the cause. Look at CPU/PCIe power settings (PCIE_ASPM_ON_BAT, CPU_ENERGY_PERF_POLICY_ON_BAT) or PipeWire quantum settings instead.

Blunt fallback:


# /etc/tlp.d/10-usb.conf
USB_AUTOSUSPEND=0

sudo systemctl restart tlp.service
sudo systemctl restart bluetooth.service
tlp-stat -u        # confirm the device now shows as excluded

Settings in /etc/tlp.conf override /etc/tlp.d/ drop-ins, so make sure the same key is not also set there.

Without TLP, the correct udev rule DISABLES autosuspend for the offending device. "auto" turns it on, which is the opposite of what you want here:


# /etc/udev/rules.d/50-usb-no-autosuspend.rules
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="8087", ATTRS{idProduct}=="0aaa", TEST=="power/control", ATTR{power/control}="on"

sudo udevadm control --reload-rules && sudo udevadm trigger --subsystem-match=usb

Or disable USB autosuspend globally with the usbcore.autosuspend=-1 kernel parameter.

Verify

sudo tlp-stat -u shows control = on for the denylisted device while on battery, and the device works normally unplugged from AC.

Sources

tlp-usb-autosuspend-breaks-devices