1# This file is part of systemd.
2#
3# The lookup keys are $MODALIAS strings, see udev's hwdb builtin.
4#
5# Match string formats:
6# <subsystem>:<modalias>
7#
8# pci:v<vendor>d<device>
9# usb:v<vendor>p<product>
10#
11# To add local entries, create a new file
12#   /etc/udev/hwdb.d/61-autosuspend-local.hwdb
13# and add your rules there. To load the new rules execute (as root):
14#   systemd-hwdb update
15#   udevadm trigger /dev/…
16#
17# If your changes are generally applicable, preferably send them as a pull
18# request to
19#   https://github.com/systemd/systemd
20# or create a bug report on https://github.com/systemd/systemd/issues and
21# include your new rules, a description of the device, and the output of
22#   udevadm info
23# the device.
24#
25# Allowed properties are:
26#    ID_AUTOSUSPEND=1
27#    ID_AUTOSUSPEND_DELAY_MS=####
28#    ID_PERSIST=0
29#
30# ID_AUTOSUSPEND_DELAY_MS adjusts the delay for autosuspend to something
31# different than the kernel default of 2000ms.
32#
33# ID_PERSIST=0 allows disabling the kernels USB "persist" feature, which allows
34# the continued use of devices after a power loss (due to suspend). Disable it
35# if the device will loose state without a USB power session and the driver
36# is unable to recover the state when resuming. See
37#   https://www.kernel.org/doc/html/latest/driver-api/usb/persist.html
38
39# Sort by brand, model
40
41#########################################
42# Alcor
43#########################################
44
45# AU9540 Smartcard Reader
46usb:v058Fp9540*
47 ID_AUTOSUSPEND=1
48
49#########################################
50# Lenovo
51#########################################
52
53# X1C8 Touchscreen
54usb:v04F3p2B7C*
55# T14 Gen 1 Touchscreen
56usb:v04F3p2ACC*
57 ID_AUTOSUSPEND=1
58
59#########################################
60# Microsoft
61#########################################
62
63# Surface Pro (2017) Type Cover
64usb:v045Ep09C0*
65 ID_AUTOSUSPEND=1
66
67#########################################
68# QEMU
69#########################################
70
71# Emulated USB HID devices
72usb:v0627p0001:*QEMU USB Keyboard*
73usb:v0627p0001:*QEMU USB Mouse*
74usb:v0627p0001:*QEMU USB Tablet*
75 ID_AUTOSUSPEND=1
76
77#########################################
78# WWAN
79#########################################
80
81# Sierra Wireless EM7345 4G LTE modem
82usb:v1199pA001*
83 ID_AUTOSUSPEND=1
84
85# Fibocom LG850-GL
86usb:v2CB7p0007*
87 ID_AUTOSUSPEND=1
88 ID_AUTOSUSPEND_DELAY_MS=7000
89
90#########################################
91# Wacom
92#########################################
93
94usb:v056Ap51A0*
95 ID_AUTOSUSPEND=1
96