summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-04-19 15:29:41 +0100
committerJakob Bornecrantz <jakob@vmware.com>2010-04-19 15:29:41 +0100
commit1d1c0514158abb66388ee4eb44764d201203a863 (patch)
tree9fbb6e11e5b4ba4291492c1ff6ad6b3f317a7a78 /tools
parentb22d830a4e1c609a709e71c306a3b3a8ff8a6078 (diff)
Only match against event[0-9] in udev rules
It looks like the udev rule was matched against two devices which caused the driver to be loaded twice. We shouldn't match against the other device because it will very seldom send bogus events. Some of the bug this caused was buttons getting stuck.
Diffstat (limited to 'tools')
-rw-r--r--tools/69-xorg-vmmouse.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/69-xorg-vmmouse.rules.in b/tools/69-xorg-vmmouse.rules.in
index 0d7f028..602afb6 100644
--- a/tools/69-xorg-vmmouse.rules.in
+++ b/tools/69-xorg-vmmouse.rules.in
@@ -1 +1 @@
-ACTION=="add|change", ENV{ID_INPUT_MOUSE}=="?*", ATTRS{description}=="i8042 AUX port", PROGRAM="__BIN_PREFIX__/vmmouse_detect", ENV{ID_INPUT.tags}="vmmouse"
+ACTION=="add|change", ENV{ID_INPUT_MOUSE}=="?*", ATTRS{description}=="i8042 AUX port", KERNEL=="event[0-9]*", PROGRAM="__BIN_PREFIX__/vmmouse_detect", ENV{ID_INPUT.tags}="vmmouse"