• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1ACTION!="add|change", GOTO="wacom_end"
2
3# Match all serial wacom tablets with a serial ID starting with WACf
4# Notes: We assign NAME though we shouldn't, but currently the server requires it
5#        We assign the lot to subsystem pnp too because server reads NAME from
6#        the parent device. Once all that's fixed, as simple SUBSYSTEM="tty"
7#        will do and the ENV{NAME} can be removed.
8SUBSYSTEM=="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}"
9SUBSYSTEM=="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}"
10
11# comment out the next line if your distribution does not provide systemd
12# If a /dev/ttySx device with the WACf name is detected, start the
13# wacom-inputattach service with the kernel name as parameter
14SUBSYSTEM=="tty|pnp", KERNEL=="ttyS[0-9]*", ATTRS{id}=="WACf*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="wacom-inputattach@%k.service"
15
16LABEL="wacom_end"
17
18