Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/class/leds/<led>/flash_brightness
0002 Date:           March 2015
0003 KernelVersion:  4.0
0004 Contact:        Jacek Anaszewski <j.anaszewski@samsung.com>
0005 Description:    read/write
0006                 Set the brightness of this LED in the flash strobe mode, in
0007                 microamperes. The file is created only for the flash LED devices
0008                 that support setting flash brightness.
0009 
0010                 The value is between 0 and
0011                 /sys/class/leds/<led>/max_flash_brightness.
0012 
0013 What:           /sys/class/leds/<led>/max_flash_brightness
0014 Date:           March 2015
0015 KernelVersion:  4.0
0016 Contact:        Jacek Anaszewski <j.anaszewski@samsung.com>
0017 Description:    read only
0018                 Maximum brightness level for this LED in the flash strobe mode,
0019                 in microamperes.
0020 
0021 What:           /sys/class/leds/<led>/flash_timeout
0022 Date:           March 2015
0023 KernelVersion:  4.0
0024 Contact:        Jacek Anaszewski <j.anaszewski@samsung.com>
0025 Description:    read/write
0026                 Hardware timeout for flash, in microseconds. The flash strobe
0027                 is stopped after this period of time has passed from the start
0028                 of the strobe. The file is created only for the flash LED
0029                 devices that support setting flash timeout.
0030 
0031 What:           /sys/class/leds/<led>/max_flash_timeout
0032 Date:           March 2015
0033 KernelVersion:  4.0
0034 Contact:        Jacek Anaszewski <j.anaszewski@samsung.com>
0035 Description:    read only
0036                 Maximum flash timeout for this LED, in microseconds.
0037 
0038 What:           /sys/class/leds/<led>/flash_strobe
0039 Date:           March 2015
0040 KernelVersion:  4.0
0041 Contact:        Jacek Anaszewski <j.anaszewski@samsung.com>
0042 Description:    read/write
0043                 Flash strobe state. When written with 1 it triggers flash strobe
0044                 and when written with 0 it turns the flash off.
0045 
0046                 On read 1 means that flash is currently strobing and 0 means
0047                 that flash is off.
0048 
0049 What:           /sys/class/leds/<led>/flash_fault
0050 Date:           March 2015
0051 KernelVersion:  4.0
0052 Contact:        Jacek Anaszewski <j.anaszewski@samsung.com>
0053 Description:    read only
0054                 Space separated list of flash faults that may have occurred.
0055                 Flash faults are re-read after strobing the flash. Possible
0056                 flash faults:
0057 
0058                 * led-over-voltage
0059                         flash controller voltage to the flash LED
0060                         has exceeded the limit specific to the flash controller
0061                 * flash-timeout-exceeded
0062                         the flash strobe was still on when
0063                         the timeout set by the user has expired; not all flash
0064                         controllers may set this in all such conditions
0065                 * controller-over-temperature
0066                         the flash controller has
0067                         overheated
0068                 * controller-short-circuit
0069                         the short circuit protection
0070                         of the flash controller has been triggered
0071                 * led-power-supply-over-current
0072                         current in the LED power
0073                         supply has exceeded the limit specific to the flash
0074                         controller
0075                 * indicator-led-fault
0076                         the flash controller has detected
0077                         a short or open circuit condition on the indicator LED
0078                 * led-under-voltage
0079                         flash controller voltage to the flash
0080                         LED has been below the minimum limit specific to
0081                         the flash
0082                 * controller-under-voltage
0083                         the input voltage of the flash
0084                         controller is below the limit under which strobing the
0085                         flash at full current will not be possible;
0086                         the condition persists until this flag is no longer set
0087                 * led-over-temperature
0088                         the temperature of the LED has exceeded
0089                         its allowed upper limit