sysfs-class-led-flash 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. What: /sys/class/leds/<led>/flash_brightness
  2. Date: March 2015
  3. KernelVersion: 4.0
  4. Contact: Jacek Anaszewski <j.anaszewski@samsung.com>
  5. Description: read/write
  6. Set the brightness of this LED in the flash strobe mode, in
  7. microamperes. The file is created only for the flash LED devices
  8. that support setting flash brightness.
  9. The value is between 0 and
  10. /sys/class/leds/<led>/max_flash_brightness.
  11. What: /sys/class/leds/<led>/max_flash_brightness
  12. Date: March 2015
  13. KernelVersion: 4.0
  14. Contact: Jacek Anaszewski <j.anaszewski@samsung.com>
  15. Description: read only
  16. Maximum brightness level for this LED in the flash strobe mode,
  17. in microamperes.
  18. What: /sys/class/leds/<led>/flash_timeout
  19. Date: March 2015
  20. KernelVersion: 4.0
  21. Contact: Jacek Anaszewski <j.anaszewski@samsung.com>
  22. Description: read/write
  23. Hardware timeout for flash, in microseconds. The flash strobe
  24. is stopped after this period of time has passed from the start
  25. of the strobe. The file is created only for the flash LED
  26. devices that support setting flash timeout.
  27. What: /sys/class/leds/<led>/max_flash_timeout
  28. Date: March 2015
  29. KernelVersion: 4.0
  30. Contact: Jacek Anaszewski <j.anaszewski@samsung.com>
  31. Description: read only
  32. Maximum flash timeout for this LED, in microseconds.
  33. What: /sys/class/leds/<led>/flash_strobe
  34. Date: March 2015
  35. KernelVersion: 4.0
  36. Contact: Jacek Anaszewski <j.anaszewski@samsung.com>
  37. Description: read/write
  38. Flash strobe state. When written with 1 it triggers flash strobe
  39. and when written with 0 it turns the flash off.
  40. On read 1 means that flash is currently strobing and 0 means
  41. that flash is off.
  42. What: /sys/class/leds/<led>/flash_fault
  43. Date: March 2015
  44. KernelVersion: 4.0
  45. Contact: Jacek Anaszewski <j.anaszewski@samsung.com>
  46. Description: read only
  47. Space separated list of flash faults that may have occurred.
  48. Flash faults are re-read after strobing the flash. Possible
  49. flash faults:
  50. * led-over-voltage
  51. flash controller voltage to the flash LED
  52. has exceeded the limit specific to the flash controller
  53. * flash-timeout-exceeded
  54. the flash strobe was still on when
  55. the timeout set by the user has expired; not all flash
  56. controllers may set this in all such conditions
  57. * controller-over-temperature
  58. the flash controller has
  59. overheated
  60. * controller-short-circuit
  61. the short circuit protection
  62. of the flash controller has been triggered
  63. * led-power-supply-over-current
  64. current in the LED power
  65. supply has exceeded the limit specific to the flash
  66. controller
  67. * indicator-led-fault
  68. the flash controller has detected
  69. a short or open circuit condition on the indicator LED
  70. * led-under-voltage
  71. flash controller voltage to the flash
  72. LED has been below the minimum limit specific to
  73. the flash
  74. * controller-under-voltage
  75. the input voltage of the flash
  76. controller is below the limit under which strobing the
  77. flash at full current will not be possible;
  78. the condition persists until this flag is no longer set
  79. * led-over-temperature
  80. the temperature of the LED has exceeded
  81. its allowed upper limit