summaryrefslogtreecommitdiff
path: root/rules/rules.d/60-persistent-input.rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-05-01 17:52:21 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-05-01 17:52:21 +0200
commit998d9788e76db8d323e4192b23d621fc5c65be4d (patch)
tree249a096d0b1c9a4a049a88dd08994f9c3122e5c4 /rules/rules.d/60-persistent-input.rules
parentcb0237d7d9f16f7aebb98a515fda90406d16db35 (diff)
rules: add "event*" match
Diffstat (limited to 'rules/rules.d/60-persistent-input.rules')
-rw-r--r--rules/rules.d/60-persistent-input.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rules.d/60-persistent-input.rules b/rules/rules.d/60-persistent-input.rules
index 9b0e75fb98..f522b417b2 100644
--- a/rules/rules.d/60-persistent-input.rules
+++ b/rules/rules.d/60-persistent-input.rules
@@ -27,7 +27,7 @@ LABEL="serial", ENV{ID_CLASS}=="?*", ENV{ID_SERIAL}=="", ENV{ID_SERIAL}="noseria
KERNEL=="mouse*|js*", ENV{ID_BUS}=="?*", ENV{ID_CLASS}=="?*", SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_CLASS}"
KERNEL=="event*", ENV{ID_BUS}=="?*", ENV{ID_CLASS}=="?*", SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-event-$env{ID_CLASS}"
# allow empty class for USB devices, by appending the interface number
-SUBSYSTEMS=="usb", ENV{ID_BUS}=="?*", ENV{ID_CLASS}=="", ATTRS{bInterfaceNumber}=="?*", \
+SUBSYSTEMS=="usb", ENV{ID_BUS}=="?*", KERNEL=="event*", ENV{ID_CLASS}=="", ATTRS{bInterfaceNumber}=="?*", \
SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-event-if$attr{bInterfaceNumber}"
# by-path