Thursday, May 24, 2018

Raspberry Pi 3 - Led status


cat /sys/class/leds/led0/trigger
none rc-feedback kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock timer oneshot heartbeat backlight gpio cpu cpu0 cpu1 cpu2 cpu3 default-on input panic mmc1 [mmc0] rfkill-any rfkill0 rfkill1

echo none > /sys/class/leds/led0/trigger
will turn off the led completely (if it becomes annoying)

echo heartbeat > /sys/class/leds/led0/trigger
will cause the led to flash with the linux heartbeat pattern

echo timer > /sys/class/leds/led0/trigger
will cause the led to flash once a second