====== TQMa62xx - YOCTO Linux BSP documentation ====== ---- {{ :en:arm:tqma62xx:mba62xx_user_leds.jpg?300&nolink |}} The MBa62xx has two user controllable LEDs, the behavior of these LEDs can be selected by several triggers. \\ The user LED's are located in /sys/devices/platform/gpio-leds/leds/.\\ To change the behaviour a specific LED, the value in the file trigger must be overwritten.
++++The following values are valid:| * none * bluetooth-power * kbd-scrolllock * kbd-numlock * kbd-capslock * kbd-kanalock * kbd-shiftlock * kbd-altgrlock * kbd-altlock * kbd-shiftllock * kbd-shiftrlock * kbd-ctrllock * kbd-ctrlllock * kbd-ctrlrlock * mmc0 * disk-activity * disk-read * disk-write * ide-disk * heartbeat * cpu * cpu0 * cpu1 * cpu2 * cpu3 * default-on * panic * mmc1 ++++
For example set the trigger of led1 to heartbeat echo heartbeat > /sys/class/leds/led1/trigger