summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-06-18 18:38:58 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-06-22 14:45:20 +0200
commit39d5b72e32c15c1d5e7e9b70d38707b9e5a780bf (patch)
tree5872c5b09ec8e5b4fe16df1e189b89e2f617372e
parentaa549ff3972b067c4225db0a845f5c638842fba3 (diff)
downloadsystemd-39d5b72e32c15c1d5e7e9b70d38707b9e5a780bf.tar.gz
hwdb: enable autosuspend for Wacom Pen and EMV Smartcard Reader
Replaces #16113.
-rw-r--r--hwdb.d/60-autosuspend.hwdb44
-rw-r--r--hwdb.d/meson.build1
2 files changed, 45 insertions, 0 deletions
diff --git a/hwdb.d/60-autosuspend.hwdb b/hwdb.d/60-autosuspend.hwdb
new file mode 100644
index 0000000000..0de49afa6c
--- /dev/null
+++ b/hwdb.d/60-autosuspend.hwdb
@@ -0,0 +1,44 @@
+# 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
+
+#
+# Sort by brand, model
+
+#########################################
+# Alcor
+#########################################
+
+# AU9540 Smartcard Reader
+usb:v058Fp9540*
+ ID_AUTOSUSPEND=1
+
+#########################################
+# Wacom
+#########################################
+
+usb:v056Ap51A0*
+ ID_AUTOSUSPEND=1
diff --git a/hwdb.d/meson.build b/hwdb.d/meson.build
index 95e32729bf..5c77387a26 100644
--- a/hwdb.d/meson.build
+++ b/hwdb.d/meson.build
@@ -18,6 +18,7 @@ hwdb_files_notest = files('''
'''.split())
hwdb_files_test = files('''
+ 60-autosuspend.hwdb
60-evdev.hwdb
60-input-id.hwdb
60-keyboard.hwdb