USB Autosuspend
Scope:
Attached and subsequently plugged USB devices
USB_AUTOSUSPEND
Controls autosuspend for USB devices on boot and when plugged. Possible values:
1 – enable
0 – disable
USB_AUTOSUSPEND=1
Default when unconfigured: 1
USB_DENYLIST
Important
All input devices (driver usbhid), libsane-supported scanners, audio devices and (since version 1.11) serial port adapters will be excluded by default. It’s therefore unnecessary to put them on the USB_DENYLIST. To circumvent the default for certain devices enter the IDs into USB_ALLOWLIST.
Exclude USB device IDs from autosuspend. Useful for devices having difficulties in waking up from autosuspend. Use tlp-stat -u to the determine IDs. Multiple IDs are separated with blanks.
USB_DENYLIST="1111:2222 3333:4444"
Default when unconfigured: <none>
USB_EXCLUDE_AUDIO
Exclude audio devices from autosuspend:
0 – do not exclude
1 – exclude
USB_EXCLUDE_AUDIO=1
Default when unconfigured: 1
USB_EXCLUDE_BTUSB
Exclude bluetooth devices from autosuspend:
0 – do not exclude
1 – exclude
USB_EXCLUDE_BTUSB=1
Default when unconfigured: 0
Note
This feature is intended to solve stability issues with bluetooth connections.
USB_EXCLUDE_PHONE
Exclude smartphones from autosuspend to enable charging:
0 – do not exclude
1 – exclude
USB_EXCLUDE_PHONE=1
Default when unconfigured: 0
USB_EXCLUDE_PRINTER
Exclude printers from autosuspend:
0 – do not exclude
1 – exclude
USB_EXCLUDE_PRINTER=1
Default when unconfigured: 1
USB_EXCLUDE_WWAN
Exclude builtin WWAN devices from autosuspend:
0 – do not exclude
1 – exclude
USB_EXCLUDE_WWAN=0
Default when unconfigured: 0
Note
This feature is implemented by an internal denylist currently matching cards from Qualcomm, Ericsson and Sierra. Enter WWAN devices not recognized into USB_DENYLIST.
USB_ALLOWLIST
Re-enable autosuspend for USB device IDs already excluded by any of the settings above (allowlist always wins). Use tlp-stat -u to determine the IDs. Multiple IDs are separated with blanks.
USB_ALLOWLIST="5555:6666 7777:8888"
Default when unconfigured: <none>
See also
Settings: Introduction
FAQ: USB Devices
USB autosuspend – Kernel documentation