Blame SOURCES/70-wacom.rules

44a568
ACTION!="add|change", GOTO="wacom_end"
44a568
44a568
# Match all serial wacom tablets with a serial ID starting with WACf
44a568
# Notes: We assign NAME though we shouldn't, but currently the server requires it
44a568
#        We assign the lot to subsystem pnp too because server reads NAME from
44a568
#        the parent device. Once all that's fixed, as simple SUBSYSTEM="tty"
44a568
#        will do and the ENV{NAME} can be removed.
44a568
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}"
44a568
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}"
44a568
44a568
# inputattach
45d908
SUBSYSTEM=="tty|pnp", KERNEL=="ttyS[0-9]*", ATTRS{id}=="WACf*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="wacom-inputattach@%k.service"
44a568
44a568
LABEL="wacom_end"
44a568