Hi dreh,
After looking at your udev info. I'm thinking for stand alone rules we could try the following for the matches: add ttyS port match (I agree with you), use SUBSYSTEMS=="pnp" instead of SUBSYSTEM=="pnp", instead of ATTRS{id} for the tablet ID we use either ENV{PRODUCT} or ENV{NAME}. We should only need one of the latter for a unique match. Continue to assign ID_INPUT and ID_INPUT_TABLET 1 (true) and move symlink to end. I'm not quite sure we need "ttyS[0-9]*". Since Natty, Ubuntu went from the standard 4 ports (ttyS0-ttyS3) to 32 ports (ttyS0-ttyS31). My guess is that had something to do with upstart. But we know yours is on ttyS0 and the only other port I've seen used is ttyS4.
match ID:
Code:
ACTION=="add|change", KERNEL=="ttyS[0-9]*", SUBSYSTEMS=="pnp", ENV{PRODUCT}=='13/3e/*', ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", SYMLINK="input/wacom"
or match name:
Code:
ACTION=="add|change", KERNEL=="ttyS[0-9]*", SUBSYSTEMS=="pnp", ENV{NAME}=="Wacom protocol IV serial tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", SYMLINK="input/wacom"
When we call inputattach from the rule we don't need the symlink and can substitute the inputattach commandline parameters for it.
match ID:
Code:
# Attach Wacom legacy protocol IV serial tablets
ACTION=="add|change", KERNEL=="ttyS[0-9]*", SUBSYSTEMS=="pnp", ENV{PRODUCT}=='13/3e/*', ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", RUN+="/lib/udev/inputattach --wacom_iv /dev/%k"
or match name:
Code:
# Attach Wacom legacy protocol IV serial tablets
ACTION=="add|change", KERNEL=="ttyS[0-9]*", SUBSYSTEMS=="pnp", ENV{NAME}=="Wacom protocol IV serial tablet", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", RUN+="/lib/udev/inputattach --wacom_iv /dev/%k"
And if inputattach doesn't start maybe try adding & to the rule as in:
Code:
RUN+="/lib/udev/inputattach --wacom_iv /dev/%k &"
Bookmarks