This is an old revision of the document!
VIM1/VIM2 has only one node.
$ ls /sys/class/leds sys_led
VIM3/VIM3L has two nodes.
ls /sys/class/leds red_led sys_led
VIM4 has only one node pwmled.
$ ls /sys/class/leds pwmled
Edge1 has two nodes.
$ ls /sys/class/leds read_led sys_led
We will use sys_led (white) as an example.
Set the LED node parameter to none to turn off the LED:
$ echo none | sudo tee /sys/class/leds/sys_led/trigger
Set the LED node parameter to default-on to keep the LED permanently on:
$ echo default-on | sudo tee /sys/class/leds/sys_led/trigger
Set the LED node parameter to heartbeat, to make the LED flash with a heartbeat blink:
$ echo heartbeat > /sys/class/leds/sys_led/trigger
You can also experiment with other parameters.
Lets use pwmled (white) as an example.
Set the LED node parameter to none to turn off the LED:
$ echo none | sudo tee /sys/class/leds/pwmled/trigger
Set the LED node parameter to heartbeat, to make the LED flash with a heartbeat rhythm:
$ echo heartbeat | sudo tee /sys/class/leds/pwmled/trigger
Set the LED node parameter to heartbeat, to make the LED flash with a heartbeat blink:
$ echo heartbeat > /sys/class/leds/pwmled/trigger
You can also experiment with other parameters.
We will use sys_led as an example:
Set the LED node parameter to none to turn off the LED:
$ echo none | sudo tee /sys/class/leds/sys_led/trigger
Set the LED node parameter to default-on to keep the LED permanently on:
$ echo default-on | sudo tee /sys/class/leds/sys_led/trigger
Set the LED node parameter to heartbeat, to make the LED flash with a heartbeat blink:
$ echo heartbeat > /sys/class/leds/sys_led/trigger
You can also experiment with other parameters.