2010-05-20 23:27:33 +00:00
|
|
|
ACTION!="add|change", GOTO="wacom_end"
|
|
|
|
|
2011-07-21 01:04:29 +00:00
|
|
|
# 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}"
|
2010-05-20 23:27:33 +00:00
|
|
|
|
2012-04-16 06:30:41 +00:00
|
|
|
# inputattach
|
|
|
|
SUBSYSTEM=="tty|pnp", KERNEL=="ttyS[0-9]*", ATTRS{id}=="WACf*", RUN+="/usr/sbin/modprobe wacom_w8001", RUN+="/usr/sbin/inputattach --daemon -w8001 /dev/%k"
|
|
|
|
|
2010-05-20 23:27:33 +00:00
|
|
|
LABEL="wacom_end"
|
|
|
|
|