summaryrefslogtreecommitdiff
path: root/staging/xf86-input-wacom/70-wacom.rules
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-12 23:14:35 +0000
committerroot <root@rshg054.dnsready.net>2011-08-12 23:14:35 +0000
commit3b2bf66355e8254bc2f033dab2dfea9e2978fa4d (patch)
tree71995991b30b0bfc7deb0c92f1da969bbfd91ec7 /staging/xf86-input-wacom/70-wacom.rules
parenteddbc98aa28d38b35833cfb1a4a3cf632c9f2b47 (diff)
Fri Aug 12 23:14:35 UTC 2011
Diffstat (limited to 'staging/xf86-input-wacom/70-wacom.rules')
-rw-r--r--staging/xf86-input-wacom/70-wacom.rules12
1 files changed, 12 insertions, 0 deletions
diff --git a/staging/xf86-input-wacom/70-wacom.rules b/staging/xf86-input-wacom/70-wacom.rules
new file mode 100644
index 000000000..f6aa20835
--- /dev/null
+++ b/staging/xf86-input-wacom/70-wacom.rules
@@ -0,0 +1,12 @@
+ACTION!="add|change", 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
+# We assign the lot to subsystem pnp too because server reads NAME from
+# the parent device. Once all that's fixed, as simple SUBSYSTEM="tty"
+# will do and the ENV{NAME} can be removed.
+SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="WACf*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"
+SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="FUJ*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"
+
+LABEL="wacom_end"
+