summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Gerecke <jason.gerecke@wacom.com>2020-12-02 13:51:44 -0800
committerPeter Hutterer <peter.hutterer@who-t.net>2020-12-03 08:49:59 +1000
commit2dc5769aaa91e8f61620a027af21b4e0b7ac1cc8 (patch)
tree7567ae57b47b734780237ee8f16c29576afca448
parentf9cc6a1dda10c1e8cdd1c68a7873c4d90665cb06 (diff)
downloadxf86-input-wacom-2dc5769aaa91e8f61620a027af21b4e0b7ac1cc8.tar.gz
tools: update rules to handle bind/unbind events
Summary: we expect add, change or remove but kernel 4.12 added bind and unbind. These events were previously discarded by udevd. Our rules should handle any event *but* remove, so update as suggested in the announce email linked below. For a longer explanation, see the system 247rc2 announcement https://lists.freedesktop.org/archives/systemd-devel/2020-November/045570.html Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
-rw-r--r--conf/wacom.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/wacom.rules b/conf/wacom.rules
index 6093af3..ab3110e 100644
--- a/conf/wacom.rules
+++ b/conf/wacom.rules
@@ -1,4 +1,4 @@
-ACTION!="add|change", GOTO="wacom_end"
+ACTION=="remove", GOTO="wacom_end"
# Match all serial wacom tablets with a serial ID starting with WACf
# Notes: We assign NAME though we shouldn't, but currently the server requires it