CONFIG_LEDS_TRIGGERS LED Trigger support
This option enables trigger support for the leds class. These triggers allow kernel events to drive the LEDs and can be configured via sysfs. If unsure, say Y.
- Depends on
NEW_LEDS && LEDS_CLASS
If LEDS_TRIGGERS
- Depends on
NEW_LEDS && LEDS_TRIGGERS
CONFIG_LEDS_TRIGGERS_HW_CHANGED LED hardware-initiated trigger transition support
This option enables support for hardware initiated hardware control transitions, where the LED hardware autonomously switches between "none" (i.e., no trigger) and its private trigger.
See Documentation/leds/leds-class.rst for details.
- Depends on
NEW_LEDS && LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_TIMER LED Timer Trigger
- Off
- Module
- Built in
This allows LEDs to be controlled by a programmable timer via sysfs. Some LED hardware can be programmed to start blinking the LED without any further software interaction. For more details read Documentation/leds/leds-class.rst.
If unsure, say Y.
- Depends on
NEW_LEDS && LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_ONESHOT LED One-shot Trigger
- Off
- Module
- Built in
This allows LEDs to blink in one-shot pulses with parameters controlled via sysfs. It's useful to notify the user on sporadic events, when there are no clear begin and end trap points, or on dense events, where this blinks the LED at constant rate if rearmed continuously.
It also shows how to use the led_blink_set_oneshot() function.
If unsure, say Y.
- Depends on
NEW_LEDS && LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_DISK LED Disk Trigger
This allows LEDs to be controlled by disk activity. If unsure, say Y.
- Depends on
NEW_LEDS && LEDS_TRIGGERS && ATA
CONFIG_LEDS_TRIGGER_MTD LED MTD (NAND/NOR) Trigger
This allows LEDs to be controlled by MTD activity. If unsure, say N.
- Depends on
NEW_LEDS && LEDS_TRIGGERS && MTD
CONFIG_LEDS_TRIGGER_HEARTBEAT LED Heartbeat Trigger
- Off
- Module
- Built in
This allows LEDs to be controlled by a CPU load average. The flash frequency is a hyperbolic function of the 1-minute load average. If unsure, say Y.
- Depends on
NEW_LEDS && LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_BACKLIGHT LED backlight Trigger
- Off
- Module
- Built in
This allows LEDs to be controlled as a backlight device: they turn off and on when the display is blanked and unblanked.
If unsure, say N.
- Depends on
NEW_LEDS && LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_CPU LED CPU Trigger
This allows LEDs to be controlled by active CPUs. This shows the active CPUs across an array of LEDs so you can see which CPUs are active on the system at any given moment.
If unsure, say N.
- Depends on
NEW_LEDS && LEDS_TRIGGERS && !PREEMPT_RT
CONFIG_LEDS_TRIGGER_ACTIVITY LED activity Trigger
- Off
- Module
- Built in
This allows LEDs to be controlled by an immediate CPU usage. The flash frequency and duty cycle varies from faint flashes to intense brightness depending on the instant CPU load. If unsure, say N.
- Depends on
NEW_LEDS && LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_GPIO LED GPIO Trigger
- Off
- Module
- Built in
This allows LEDs to be controlled by gpio events. It's good when using gpios as switches and triggering the needed LEDs from there. Triggers are defined as device properties.
If unsure, say N.
- Depends on
NEW_LEDS && LEDS_TRIGGERS && (GPIOLIB || COMPILE_TEST)
CONFIG_LEDS_TRIGGER_DEFAULT_ON LED Default ON Trigger
- Off
- Module
- Built in
This allows LEDs to be initialised in the ON state. If unsure, say Y.
- Depends on
NEW_LEDS && LEDS_TRIGGERS
iptables trigger is under Netfilter config (LED target)
- Depends on
NEW_LEDS && LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_TRANSIENT LED Transient Trigger
- Off
- Module
- Built in
This allows one time activation of a transient state on GPIO/PWM based hardware. If unsure, say Y.
- Depends on
NEW_LEDS && LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_CAMERA LED Camera Flash/Torch Trigger
- Off
- Module
- Built in
This allows LEDs to be controlled as a camera flash/torch device. This enables direct flash/torch on/off by the driver, kernel space. If unsure, say Y.
- Depends on
NEW_LEDS && LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_PANIC LED Panic Trigger
This allows LEDs to be configured to blink on a kernel panic. Enabling this option will allow to mark certain LEDs as panic indicators, allowing to blink them on a kernel panic, even if they are set to a different trigger. If unsure, say Y.
- Depends on
NEW_LEDS && LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_NETDEV LED Netdev Trigger
- Off
- Module
- Built in
This allows LEDs to be controlled by network device activity. If unsure, say Y.
- Depends on
NEW_LEDS && LEDS_TRIGGERS && NET
CONFIG_LEDS_TRIGGER_PATTERN LED Pattern Trigger
- Off
- Module
- Built in
This allows LEDs to be controlled by a software or hardware pattern which is a series of tuples, of brightness and duration (ms). If unsure, say N
- Depends on
NEW_LEDS && LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_TTY LED Trigger for TTY devices
- Off
- Module
- Built in
This allows LEDs to be controlled by activity on ttys which includes serial devices like /dev/ttyS0.
When build as a module this driver will be called ledtrig-tty.
- Depends on
NEW_LEDS && LEDS_TRIGGERS && TTY
CONFIG_LEDS_TRIGGER_INPUT_EVENTS LED Input events trigger
- Off
- Module
- Built in
Turn LEDs on when there is input (/dev/input/event*) activity and turn them back off again after there has been no activity for 5 seconds.
This is primarily intended to control LEDs which are a backlight for capacitive touch-buttons, such as e.g. the menu / home / back buttons found on the bottom bezel of many older smartphones and tablets.
This can also be used to turn on the keyboard backlight LED on input events and turn the keyboard backlight off again when idle.
When build as a module this driver will be called ledtrig-input-events.
- Depends on
NEW_LEDS && LEDS_TRIGGERS && INPUT