Attached a patch to have the green on board led working as an on/off indicator for vompclient.
The other leds (except for the red power led) can be cleared by this patch (but the kernel needs to be recompiled for that):
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=31&t=12530&sid=f152b5af6d3915a18ed8b2d005daa801&start=25 (http://www.raspberrypi.org/phpBB3/viewtopic.php?f=31&t=12530&sid=f152b5af6d3915a18ed8b2d005daa801&start=25)
Thanks for the patch. I have it it in my git.
But it is only working, if you run vomp as root.
Marten
Hi Marten,
You are right, the default Raspbian permissions for the interface my patch is using is:
root@raspvideo:/sys/class/leds/led0# ls -l brightness
-rw-r--r-- 1 root root 4096 Oct 30 09:04 brightness
If you change these permissions to writeable for the user that is running vompclient, it should work.
Or one could add to /etc/rc.local:
chmod o+w /sys/class/leds/led0/brightness
AFAIK there is no significant security issue with this, as long as you don't mind that anyone that has access to your raspi can turn your LED on or off :-)