1f07fb521SKim, Milomenuconfig LEDS_TRIGGERS 2f07fb521SKim, Milo bool "LED Trigger support" 3f07fb521SKim, Milo depends on LEDS_CLASS 4f07fb521SKim, Milo help 5f07fb521SKim, Milo This option enables trigger support for the leds class. 6f07fb521SKim, Milo These triggers allow kernel events to drive the LEDs and can 7f07fb521SKim, Milo be configured via sysfs. If unsure, say Y. 8f07fb521SKim, Milo 9f07fb521SKim, Miloif LEDS_TRIGGERS 10f07fb521SKim, Milo 11f07fb521SKim, Miloconfig LEDS_TRIGGER_TIMER 12f07fb521SKim, Milo tristate "LED Timer Trigger" 13f07fb521SKim, Milo depends on LEDS_TRIGGERS 14f07fb521SKim, Milo help 15f07fb521SKim, Milo This allows LEDs to be controlled by a programmable timer 16f07fb521SKim, Milo via sysfs. Some LED hardware can be programmed to start 17f07fb521SKim, Milo blinking the LED without any further software interaction. 18f07fb521SKim, Milo For more details read Documentation/leds/leds-class.txt. 19f07fb521SKim, Milo 20f07fb521SKim, Milo If unsure, say Y. 21f07fb521SKim, Milo 22f07fb521SKim, Miloconfig LEDS_TRIGGER_ONESHOT 23f07fb521SKim, Milo tristate "LED One-shot Trigger" 24f07fb521SKim, Milo depends on LEDS_TRIGGERS 25f07fb521SKim, Milo help 26f07fb521SKim, Milo This allows LEDs to blink in one-shot pulses with parameters 27f07fb521SKim, Milo controlled via sysfs. It's useful to notify the user on 28f07fb521SKim, Milo sporadic events, when there are no clear begin and end trap points, 29f07fb521SKim, Milo or on dense events, where this blinks the LED at constant rate if 30f07fb521SKim, Milo rearmed continuously. 31f07fb521SKim, Milo 32f07fb521SKim, Milo It also shows how to use the led_blink_set_oneshot() function. 33f07fb521SKim, Milo 34f07fb521SKim, Milo If unsure, say Y. 35f07fb521SKim, Milo 36f07fb521SKim, Miloconfig LEDS_TRIGGER_IDE_DISK 37f07fb521SKim, Milo bool "LED IDE Disk Trigger" 38f07fb521SKim, Milo depends on IDE_GD_ATA 39f07fb521SKim, Milo depends on LEDS_TRIGGERS 40f07fb521SKim, Milo help 41f07fb521SKim, Milo This allows LEDs to be controlled by IDE disk activity. 42f07fb521SKim, Milo If unsure, say Y. 43f07fb521SKim, Milo 444b721174SEzequiel Garciaconfig LEDS_TRIGGER_MTD 454b721174SEzequiel Garcia bool "LED MTD (NAND/NOR) Trigger" 464b721174SEzequiel Garcia depends on MTD 474b721174SEzequiel Garcia depends on LEDS_TRIGGERS 484b721174SEzequiel Garcia help 494b721174SEzequiel Garcia This allows LEDs to be controlled by MTD activity. 504b721174SEzequiel Garcia If unsure, say N. 514b721174SEzequiel Garcia 52f07fb521SKim, Miloconfig LEDS_TRIGGER_HEARTBEAT 53f07fb521SKim, Milo tristate "LED Heartbeat Trigger" 54f07fb521SKim, Milo depends on LEDS_TRIGGERS 55f07fb521SKim, Milo help 56f07fb521SKim, Milo This allows LEDs to be controlled by a CPU load average. 57f07fb521SKim, Milo The flash frequency is a hyperbolic function of the 1-minute 58f07fb521SKim, Milo load average. 59f07fb521SKim, Milo If unsure, say Y. 60f07fb521SKim, Milo 61f07fb521SKim, Miloconfig LEDS_TRIGGER_BACKLIGHT 62f07fb521SKim, Milo tristate "LED backlight Trigger" 63f07fb521SKim, Milo depends on LEDS_TRIGGERS 64f07fb521SKim, Milo help 65f07fb521SKim, Milo This allows LEDs to be controlled as a backlight device: they 66f07fb521SKim, Milo turn off and on when the display is blanked and unblanked. 67f07fb521SKim, Milo 68f07fb521SKim, Milo If unsure, say N. 69f07fb521SKim, Milo 70f07fb521SKim, Miloconfig LEDS_TRIGGER_CPU 71f07fb521SKim, Milo bool "LED CPU Trigger" 72f07fb521SKim, Milo depends on LEDS_TRIGGERS 73f07fb521SKim, Milo help 74f07fb521SKim, Milo This allows LEDs to be controlled by active CPUs. This shows 75f07fb521SKim, Milo the active CPUs across an array of LEDs so you can see which 76f07fb521SKim, Milo CPUs are active on the system at any given moment. 77f07fb521SKim, Milo 78f07fb521SKim, Milo If unsure, say N. 79f07fb521SKim, Milo 80f07fb521SKim, Miloconfig LEDS_TRIGGER_GPIO 81f07fb521SKim, Milo tristate "LED GPIO Trigger" 82f07fb521SKim, Milo depends on LEDS_TRIGGERS 8382322741SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 84f07fb521SKim, Milo help 85f07fb521SKim, Milo This allows LEDs to be controlled by gpio events. It's good 86f07fb521SKim, Milo when using gpios as switches and triggering the needed LEDs 87f07fb521SKim, Milo from there. One use case is n810's keypad LEDs that could 88f07fb521SKim, Milo be triggered by this trigger when user slides up to show 89f07fb521SKim, Milo keypad. 90f07fb521SKim, Milo 91f07fb521SKim, Milo If unsure, say N. 92f07fb521SKim, Milo 93f07fb521SKim, Miloconfig LEDS_TRIGGER_DEFAULT_ON 94f07fb521SKim, Milo tristate "LED Default ON Trigger" 95f07fb521SKim, Milo depends on LEDS_TRIGGERS 96f07fb521SKim, Milo help 97f07fb521SKim, Milo This allows LEDs to be initialised in the ON state. 98f07fb521SKim, Milo If unsure, say Y. 99f07fb521SKim, Milo 100f07fb521SKim, Milocomment "iptables trigger is under Netfilter config (LED target)" 101f07fb521SKim, Milo depends on LEDS_TRIGGERS 102f07fb521SKim, Milo 103f07fb521SKim, Miloconfig LEDS_TRIGGER_TRANSIENT 104f07fb521SKim, Milo tristate "LED Transient Trigger" 105f07fb521SKim, Milo depends on LEDS_TRIGGERS 106f07fb521SKim, Milo help 107f07fb521SKim, Milo This allows one time activation of a transient state on 108f07fb521SKim, Milo GPIO/PWM based hardware. 109f07fb521SKim, Milo If unsure, say Y. 110f07fb521SKim, Milo 11148a1d032SKim, Miloconfig LEDS_TRIGGER_CAMERA 11248a1d032SKim, Milo tristate "LED Camera Flash/Torch Trigger" 11348a1d032SKim, Milo depends on LEDS_TRIGGERS 11448a1d032SKim, Milo help 11548a1d032SKim, Milo This allows LEDs to be controlled as a camera flash/torch device. 11648a1d032SKim, Milo This enables direct flash/torch on/off by the driver, kernel space. 11748a1d032SKim, Milo If unsure, say Y. 11848a1d032SKim, Milo 119916fe619SEzequiel Garciaconfig LEDS_TRIGGER_PANIC 120916fe619SEzequiel Garcia bool "LED Panic Trigger" 121916fe619SEzequiel Garcia depends on LEDS_TRIGGERS 122916fe619SEzequiel Garcia help 123916fe619SEzequiel Garcia This allows LEDs to be configured to blink on a kernel panic. 124*ba93cdceSEzequiel Garcia Enabling this option will allow to mark certain LEDs as panic indicators, 125*ba93cdceSEzequiel Garcia allowing to blink them on a kernel panic, even if they are set to 126*ba93cdceSEzequiel Garcia a different trigger. 127916fe619SEzequiel Garcia If unsure, say Y. 128916fe619SEzequiel Garcia 129f07fb521SKim, Miloendif # LEDS_TRIGGERS 130