[arch] new udev rulessyntax
Johannes Held
mail at hehejo.de
Thu Sep 28 08:53:09 EDT 2006
Tobias Powalowski schrieb:
> ATTRS not ATTR
I thought ATTRS was a typo in readme-udev-arch.txt cause of this part:
> SYSFS -> ATTRS
> DRIVER -> DRIVERS
> ATTR{file}="value" can be used now, to write to a sysfs file of the
> event device. Instead of:
> ..., SYSFS{type}=="0|7|14", RUN+="/bin/sh -c 'echo 60 > /sys$$DEVPATH/timeout'"
> we now can do:
> ..., ATTR{type}=="0|7|14", ATTR{timeout}="60"
You wrote SYSFS -> ATTRS but then the example showed only ATTR.
But thank you - I update my rules.
--
Gruß, Johannes
http://www.hehejo.de
http://gallery.hehejo.de/jo
http://dl.hehejo.de
More information about the arch
mailing list