# From http://linuxwacom.sourceforge.net/index.php/howto/newwacom # udev rules for wacom tablets. KERNEL!="event[0-9]*", GOTO="wacom_end" # Multiple interface support for stylus and touch devices. DRIVERS=="wacom", ATTRS{bInterfaceNumber}=="00", ENV{WACOM_TYPE}="stylus" DRIVERS=="wacom", ATTRS{bInterfaceNumber}=="01", ENV{WACOM_TYPE}="touch" # Convenience links for the common case of a single tablet. We could do just this: #ATTRS{idVendor}=="056a", SYMLINK+="input/wacom-$env{WACOM_TYPE}" # but for legacy reasons, we keep the input/wacom link as the generic stylus device. ATTRS{idVendor}=="056a", ENV{WACOM_TYPE}!="touch", SYMLINK+="input/wacom" ATTRS{idVendor}=="056a", ENV{WACOM_TYPE}=="touch", SYMLINK+="input/wacom-touch" # Check and repossess the device if a module other than the wacom one # is already bound to it. ATTRS{idVendor}=="056a", ACTION=="add", RUN+="check_driver wacom $devpath $env{ID_BUS}" LABEL="wacom_end"