You are looking at an old revision of the page LEDs. This revision was created by Nikolaus Schaller.
Table of Content
How to control the LEDs
LEDs
are controlled by the TCA6507 driver.
LED numbers
The examples below all refer to LED 0. Substitute the correct LED number:
- 0: AUX - Red
- 1: AUX - Green
- 3: Power - Red
- 4: Power - Green
- 6: WLAN/Bluetooth Reset (active low - don't use blink modes)
LED on
LEDs are switched through the TCA6507 driver ($value = 0: on, 1: off, 2..255: blinking/pulsing)
echo "0" >/sys/class/leds/tca6507.0/brightness
LED permanently off
echo "1" >/sys/class/leds/tca6507.0/brightness
LED blink
Values 2..255
echo $value >/sys/class/leds/tca6507.0/brightness
Example
make AUX button blink yellow (red+green)
echo 128 >/sys/class/leds/tca6507.0/brightness
echo 128 >/sys/class/leds/tca6507.1/brightness
make AUX button blink between red and yellow (red+green)
echo 0 >/sys/class/leds/tca6507.0/brightness
echo 128 >/sys/class/leds/tca6507.1/brightness