Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/class/leds/<led>/als_channel
0002 Date:           May 2012
0003 KernelVersion:  3.5
0004 Contact:        Johan Hovold <jhovold@gmail.com>
0005 Description:
0006                 Set the ALS output channel to use as input in
0007                 ALS-current-control mode (1, 2), where:
0008 
0009                 ==  ============
0010                 1   out_current1
0011                 2   out_current2
0012                 ==  ============
0013 
0014 What:           /sys/class/leds/<led>/als_en
0015 Date:           May 2012
0016 KernelVersion:  3.5
0017 Contact:        Johan Hovold <jhovold@gmail.com>
0018 Description:
0019                 Enable ALS-current-control mode (0, 1).
0020 
0021 What:           /sys/class/leds/<led>/falltime
0022 What:           /sys/class/leds/<led>/risetime
0023 Date:           April 2012
0024 KernelVersion:  3.5
0025 Contact:        Johan Hovold <jhovold@gmail.com>
0026 Description:
0027                 Set the pattern generator fall and rise times (0..7), where:
0028 
0029                 ==  =======
0030                 0   2048 us
0031                 1   262 ms
0032                 2   524 ms
0033                 3   1.049 s
0034                 4   2.097 s
0035                 5   4.194 s
0036                 6   8.389 s
0037                 7   16.78 s
0038                 ==  =======
0039 
0040 What:           /sys/class/leds/<led>/id
0041 Date:           April 2012
0042 KernelVersion:  3.5
0043 Contact:        Johan Hovold <jhovold@gmail.com>
0044 Description:
0045                 Get the id of this led (0..3).
0046 
0047 What:           /sys/class/leds/<led>/linear
0048 Date:           April 2012
0049 KernelVersion:  3.5
0050 Contact:        Johan Hovold <jhovold@gmail.com>
0051 Description:
0052                 Set the brightness-mapping mode (0, 1), where:
0053 
0054                 ==  ================
0055                 0   exponential mode
0056                 1   linear mode
0057                 ==  ================
0058 
0059 What:           /sys/class/leds/<led>/pwm
0060 Date:           April 2012
0061 KernelVersion:  3.5
0062 Contact:        Johan Hovold <jhovold@gmail.com>
0063 Description:
0064                 Set the PWM-input control mask (5 bits), where:
0065 
0066                 =====  ===========================
0067                 bit 5  PWM-input enabled in Zone 4
0068                 bit 4  PWM-input enabled in Zone 3
0069                 bit 3  PWM-input enabled in Zone 2
0070                 bit 2  PWM-input enabled in Zone 1
0071                 bit 1  PWM-input enabled in Zone 0
0072                 bit 0  PWM-input enabled
0073                 =====  ===========================