sysfs-class-led-flash 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 - flash controller voltage to the flash LED
  51. has exceeded the limit specific to the flash controller
  52. * flash-timeout-exceeded - the flash strobe was still on when
  53. the timeout set by the user has expired; not all flash
  54. controllers may set this in all such conditions
  55. * controller-over-temperature - the flash controller has
  56. overheated
  57. * controller-short-circuit - the short circuit protection
  58. of the flash controller has been triggered
  59. * led-power-supply-over-current - current in the LED power
  60. supply has exceeded the limit specific to the flash
  61. controller
  62. * indicator-led-fault - the flash controller has detected
  63. a short or open circuit condition on the indicator LED
  64. * led-under-voltage - flash controller voltage to the flash
  65. LED has been below the minimum limit specific to
  66. the flash
  67. * controller-under-voltage - the input voltage of the flash
  68. controller is below the limit under which strobing the
  69. flash at full current will not be possible;
  70. the condition persists until this flag is no longer set
  71. * led-over-temperature - the temperature of the LED has exceeded
  72. its allowed upper limit