2013-02-20 08:36:01 +00:00
|
|
|
menuconfig LEDS_TRIGGERS
|
|
|
|
bool "LED Trigger support"
|
|
|
|
depends on LEDS_CLASS
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
|
|
|
if LEDS_TRIGGERS
|
|
|
|
|
|
|
|
config LEDS_TRIGGER_TIMER
|
|
|
|
tristate "LED Timer Trigger"
|
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
help
|
|
|
|
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.txt.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
|
|
|
config LEDS_TRIGGER_ONESHOT
|
|
|
|
tristate "LED One-shot Trigger"
|
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2016-06-10 05:59:56 +00:00
|
|
|
config LEDS_TRIGGER_DISK
|
|
|
|
bool "LED Disk Trigger"
|
|
|
|
depends on IDE_GD_ATA || ATA
|
2013-02-20 08:36:01 +00:00
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
help
|
2016-06-10 05:59:56 +00:00
|
|
|
This allows LEDs to be controlled by disk activity.
|
2013-02-20 08:36:01 +00:00
|
|
|
If unsure, say Y.
|
|
|
|
|
2016-04-12 20:46:40 +00:00
|
|
|
config LEDS_TRIGGER_MTD
|
|
|
|
bool "LED MTD (NAND/NOR) Trigger"
|
|
|
|
depends on MTD
|
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
help
|
|
|
|
This allows LEDs to be controlled by MTD activity.
|
|
|
|
If unsure, say N.
|
|
|
|
|
2013-02-20 08:36:01 +00:00
|
|
|
config LEDS_TRIGGER_HEARTBEAT
|
|
|
|
tristate "LED Heartbeat Trigger"
|
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
|
|
|
config LEDS_TRIGGER_BACKLIGHT
|
|
|
|
tristate "LED backlight Trigger"
|
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
|
|
|
config LEDS_TRIGGER_CPU
|
|
|
|
bool "LED CPU Trigger"
|
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2017-08-28 18:44:51 +00:00
|
|
|
config LEDS_TRIGGER_ACTIVITY
|
|
|
|
tristate "LED activity Trigger"
|
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
help
|
2017-11-30 13:36:41 +00:00
|
|
|
This allows LEDs to be controlled by an immediate CPU usage.
|
2017-08-28 18:44:51 +00:00
|
|
|
The flash frequency and duty cycle varies from faint flashes to
|
|
|
|
intense brightness depending on the instant CPU load.
|
|
|
|
If unsure, say N.
|
|
|
|
|
2013-02-20 08:36:01 +00:00
|
|
|
config LEDS_TRIGGER_GPIO
|
|
|
|
tristate "LED GPIO Trigger"
|
|
|
|
depends on LEDS_TRIGGERS
|
2015-05-05 16:32:25 +00:00
|
|
|
depends on GPIOLIB || COMPILE_TEST
|
2013-02-20 08:36:01 +00:00
|
|
|
help
|
|
|
|
This allows LEDs to be controlled by gpio events. It's good
|
|
|
|
when using gpios as switches and triggering the needed LEDs
|
|
|
|
from there. One use case is n810's keypad LEDs that could
|
|
|
|
be triggered by this trigger when user slides up to show
|
|
|
|
keypad.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config LEDS_TRIGGER_DEFAULT_ON
|
|
|
|
tristate "LED Default ON Trigger"
|
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
help
|
|
|
|
This allows LEDs to be initialised in the ON state.
|
|
|
|
If unsure, say Y.
|
|
|
|
|
|
|
|
comment "iptables trigger is under Netfilter config (LED target)"
|
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
|
|
|
|
config LEDS_TRIGGER_TRANSIENT
|
|
|
|
tristate "LED Transient Trigger"
|
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
help
|
|
|
|
This allows one time activation of a transient state on
|
|
|
|
GPIO/PWM based hardware.
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2013-03-14 11:29:24 +00:00
|
|
|
config LEDS_TRIGGER_CAMERA
|
|
|
|
tristate "LED Camera Flash/Torch Trigger"
|
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2016-03-29 20:35:47 +00:00
|
|
|
config LEDS_TRIGGER_PANIC
|
|
|
|
bool "LED Panic Trigger"
|
|
|
|
depends on LEDS_TRIGGERS
|
|
|
|
help
|
|
|
|
This allows LEDs to be configured to blink on a kernel panic.
|
2016-04-28 22:03:38 +00:00
|
|
|
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.
|
2016-03-29 20:35:47 +00:00
|
|
|
If unsure, say Y.
|
|
|
|
|
2013-02-20 08:36:01 +00:00
|
|
|
endif # LEDS_TRIGGERS
|