Kconfig 3.8 KB

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