linrunner / TLP

TLP - Optimize Linux Laptop Battery Life
https://linrunner.de/tlp
GNU General Public License v2.0
2.51k stars 129 forks source link

Permit wildcards in USB_ALLOW/DENYLIST #696

Open dantefromhell opened 12 months ago

dantefromhell commented 12 months ago

Is your feature request related to a problem? Please describe.

I have a range of USB devices from the same vendor (Yubikey Security Keys) and would love to explicitly allow USB auto suspend using USB_ALLOWLIST.

Describe the solution you'd like

One possible solution could be to allow USB_ALLOWLIST to contain 1) wildcard characters in the device ID 2) using the USB vendor ID field