diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:49:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:49:52 +0000 |
commit | 55944e5e40b1be2afc4855d8d2baf4b73d1876b5 (patch) | |
tree | 33f869f55a1b149e9b7c2b7e201867ca5dd52992 /hwdb.d/60-autosuspend.hwdb | |
parent | Initial commit. (diff) | |
download | systemd-55944e5e40b1be2afc4855d8d2baf4b73d1876b5.tar.xz systemd-55944e5e40b1be2afc4855d8d2baf4b73d1876b5.zip |
Adding upstream version 255.4.upstream/255.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'hwdb.d/60-autosuspend.hwdb')
-rw-r--r-- | hwdb.d/60-autosuspend.hwdb | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/hwdb.d/60-autosuspend.hwdb b/hwdb.d/60-autosuspend.hwdb new file mode 100644 index 0000000..1bdc041 --- /dev/null +++ b/hwdb.d/60-autosuspend.hwdb @@ -0,0 +1,105 @@ +# This file is part of systemd. +# +# The lookup keys are $MODALIAS strings, see udev's hwdb builtin. +# +# Match string formats: +# <subsystem>:<modalias> +# +# pci:v<vendor>d<device> +# usb:v<vendor>p<product> +# +# To add local entries, create a new file +# /etc/udev/hwdb.d/61-autosuspend-local.hwdb +# and add your rules there. To load the new rules execute (as root): +# systemd-hwdb update +# udevadm trigger /dev/… +# +# If your changes are generally applicable, preferably send them as a pull +# request to +# https://github.com/systemd/systemd +# or create a bug report on https://github.com/systemd/systemd/issues and +# include your new rules, a description of the device, and the output of +# udevadm info +# the device. +# +# Allowed properties are: +# ID_AUTOSUSPEND=1 +# ID_AUTOSUSPEND_DELAY_MS=#### +# ID_PERSIST=0 +# +# ID_AUTOSUSPEND_DELAY_MS adjusts the delay for autosuspend to something +# different than the kernel default of 2000ms. +# +# ID_PERSIST=0 allows disabling the kernels USB "persist" feature, which allows +# the continued use of devices after a power loss (due to suspend). Disable it +# if the device will loose state without a USB power session and the driver +# is unable to recover the state when resuming. See +# https://docs.kernel.org/driver-api/usb/persist.html + +# Sort by brand, model + +######################################### +# Alcor +######################################### + +# AU9540 Smartcard Reader +usb:v058Fp9540* + ID_AUTOSUSPEND=1 + +######################################### +# Framework +######################################### + +# HDMI Expansion Card +usb:v32ACp0002* +# DisplayPort Expansion Card +usb:v32ACp0003* + ID_AUTOSUSPEND=1 + +######################################### +# Lenovo +######################################### + +# X1C8 Touchscreen +usb:v04F3p2B7C* +# T14 Gen 1 Touchscreen +usb:v04F3p2ACC* + ID_AUTOSUSPEND=1 + +######################################### +# Microsoft +######################################### + +# Surface Pro (2017) Type Cover +usb:v045Ep09C0* + ID_AUTOSUSPEND=1 + +######################################### +# QEMU +######################################### + +# Emulated USB HID devices +usb:v0627p0001:*QEMU USB Keyboard* +usb:v0627p0001:*QEMU USB Mouse* +usb:v0627p0001:*QEMU USB Tablet* + ID_AUTOSUSPEND=1 + +######################################### +# WWAN +######################################### + +# Sierra Wireless EM7345 4G LTE modem +usb:v1199pA001* + ID_AUTOSUSPEND=1 + +# Fibocom LG850-GL +usb:v2CB7p0007* + ID_AUTOSUSPEND=1 + ID_AUTOSUSPEND_DELAY_MS=7000 + +######################################### +# Wacom +######################################### + +usb:v056Ap51A0* + ID_AUTOSUSPEND=1 |