activate usb lamp when video camera is in use

revision 1c21df2312bc0e9a5b79dbbbd86b042d2ab1ea83

raw

etc/udev/rules.d/99-usblamp.rules

1
2
3
4
#dream cheeky usb webmail notifier
# LED sysfs attributes: sysfs files stay root:root by default, so chgrp them
ACTION=="add", SUBSYSTEM=="leds", ATTRS{idVendor}=="1d34", ATTRS{idProduct}=="0004", RUN+="/bin/chgrp -R cweiske %S%p", RUN+="/bin/chmod -R g+w %S%p"
 

History