summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2014-07-07 16:43:01 -0700
committerJason Gerecke <killertofu@gmail.com>2014-08-12 15:25:19 -0700
commit6a9c6a221d2eba20f63d8d1ee451772a54ae5b65 (patch)
treebe9dbc503d75bcb5a7e0a1a2bf7c8902fcd31382 /conf
parent4a376ec733b44c648b00bda91b7d40a22b54ac7b (diff)
downloadxf86-input-wacom-6a9c6a221d2eba20f63d8d1ee451772a54ae5b65.tar.gz
conf: Add new InputDevice matches based on USB and PnP ID
If the kernel's HID driver is used rather than wacom.ko, its very possible that the device will not have "Wacom" anywhere in its device name. To ensure we are able to match Wacom tablets in this situation, we add matches based on the known USB and PnP IDs. Signed-off-by: Jason Gerecke <killertofu@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'conf')
-rw-r--r--conf/50-wacom.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf/50-wacom.conf b/conf/50-wacom.conf
index 95f10e9..fc0eed2 100644
--- a/conf/50-wacom.conf
+++ b/conf/50-wacom.conf
@@ -1,4 +1,18 @@
Section "InputClass"
+ Identifier "Wacom USB device class"
+ MatchUSBID "056a:*"
+ MatchDevicePath "/dev/input/event*"
+ Driver "wacom"
+EndSection
+
+Section "InputClass"
+ Identifier "Wacom PnP device class"
+ MatchPnPID "WACf*|WCOM*|WACM*|FUJ02e5|FUJ02e7|FUJ02e9"
+ MatchDevicePath "/dev/input/event*"
+ Driver "wacom"
+EndSection
+
+Section "InputClass"
Identifier "Wacom class"
MatchProduct "Wacom|WACOM|PTK-540WL|ISD-V4"
MatchDevicePath "/dev/input/event*"