70-wacom.rules 1.1 KB

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