xorg-x11-drv-wacom/70-wacom.rules
Peter Hutterer 1fe30fc052 Fix udev rules file again:
use ==, not = to compare subsystems
assign ENV{NAME} even though we shouldn't, the server currently requires it
assign the lot to subsystem pnp too, that's where the server reads it
from
2011-07-21 11:04:29 +10:00

13 lines
807 B
Plaintext

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"