[SOLVED] LED1 on Debian

Started by morind79, December 08, 2014, 02:42:32 PM

Previous topic - Next topic

morind79

Hi All,

I use the latest Debian image from the Wiki (Release 8).
I see the LED1 blinking, so I wanted to remove this. I edited /etc/rc.local but I see this :


chmod 777 /dev/disp  /dev/cedar_dev /dev/ump  /dev/mali
echo 1008000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo 408000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

#./opt/led_blink.sh&

#startx&
#/etc/init.d/lightdm start

exit 0


As far as I know the blinking script is already commented out.
So why LED1 is still blinking, it is blinking 2 times very quicly, then wait for 1sec and so on...

Any ideas ?

Best regards
Denis

kantal

Hi!

You can change it in the FEX file, search for 'heartbeat' in it.

kantal

More info:
1) see your available LED triggers: $ zcat /proc/config.gz | grep -i trigg
2) https://www.kernel.org/doc/Documentation/leds/leds-class.txt


morind79

Hi,

Thanks, exact, this is in the fex file, I removed it now :-)

Best regards,
Denis

kantal

and even more info :)

$ cd /sys/class/leds/green:ph02:led1/
$ cat trigger  # get a list of avaiable triggers and the currently active one is in []
try:
$ echo none > trigger # check the led
$ cat trigger
$ echo heartbeat > trigger