Tag Info

New answers tagged


I'm using a udev rule as follows, to give members of group leds access to all LEDs: SUBSYSTEM=="leds", ACTION=="add|change", RUN+="/bin/chgrp -R leds /sys%p", RUN+="/bin/chmod -R g=u /sys%p" Note the ACTION=="change" is needed to handle dynamically created attributes. For example, if the LED's trigger is set to "timer" (echo timer > trigger), then ...

Top 50 recent answers are included