summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Pearson <markpearson@lenovo.com>2020-06-09 09:27:58 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-07-27 10:26:33 +0200
commit7a335af7bd7e32a3565675b1f5697494cbfb9ba9 (patch)
tree38b40701711d8efcbc5c72b488ff730108289d64
parent038b5864bf3817b0fb296e5b7ca6259fa487efb0 (diff)
downloadsystemd-7a335af7bd7e32a3565675b1f5697494cbfb9ba9.tar.gz
Added rules for Wacom Pen and EMV Smartcard Reader
(cherry picked from commit 7cb375e69179e80da261234abb5b53663a17eb9b) [zjs: This is from https://github.com/systemd/systemd/pull/16113. For v246 a much complicated fix was merged. Let's use this simple one in the stable branch.]
-rw-r--r--rules.d/61-autosuspend-manual.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.d/61-autosuspend-manual.rules b/rules.d/61-autosuspend-manual.rules
index 2b973af960..5a16727b5c 100644
--- a/rules.d/61-autosuspend-manual.rules
+++ b/rules.d/61-autosuspend-manual.rules
@@ -10,6 +10,8 @@ SUBSYSTEM=="usb", GOTO="autosuspend_manual_usb"
# USB rules
LABEL="autosuspend_manual_usb"
+ATTR{idVendor}=="056a", ATTR{idProduct}=="51a0", GOTO="autosuspend_manual_enable"
+ATTR{idVendor}=="058f", ATTR{idProduct}=="9540", GOTO="autosuspend_manual_enable"
GOTO="autosuspend_manual_end"
# Enable autosuspend