Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1What: /sys/class/leds/<led>/als_channel
2Date: May 2012
3KernelVersion: 3.5
4Contact: Johan Hovold <jhovold@gmail.com>
5Description:
6 Set the ALS output channel to use as input in
7 ALS-current-control mode (1, 2), where:
8
9 == ============
10 1 out_current1
11 2 out_current2
12 == ============
13
14What: /sys/class/leds/<led>/als_en
15Date: May 2012
16KernelVersion: 3.5
17Contact: Johan Hovold <jhovold@gmail.com>
18Description:
19 Enable ALS-current-control mode (0, 1).
20
21What: /sys/class/leds/<led>/falltime
22What: /sys/class/leds/<led>/risetime
23Date: April 2012
24KernelVersion: 3.5
25Contact: Johan Hovold <jhovold@gmail.com>
26Description:
27 Set the pattern generator fall and rise times (0..7), where:
28
29 == =======
30 0 2048 us
31 1 262 ms
32 2 524 ms
33 3 1.049 s
34 4 2.097 s
35 5 4.194 s
36 6 8.389 s
37 7 16.78 s
38 == =======
39
40What: /sys/class/leds/<led>/id
41Date: April 2012
42KernelVersion: 3.5
43Contact: Johan Hovold <jhovold@gmail.com>
44Description:
45 Get the id of this led (0..3).
46
47What: /sys/class/leds/<led>/linear
48Date: April 2012
49KernelVersion: 3.5
50Contact: Johan Hovold <jhovold@gmail.com>
51Description:
52 Set the brightness-mapping mode (0, 1), where:
53
54 == ================
55 0 exponential mode
56 1 linear mode
57 == ================
58
59What: /sys/class/leds/<led>/pwm
60Date: April 2012
61KernelVersion: 3.5
62Contact: Johan Hovold <jhovold@gmail.com>
63Description:
64 Set the PWM-input control mask (5 bits), where:
65
66 ===== ===========================
67 bit 5 PWM-input enabled in Zone 4
68 bit 4 PWM-input enabled in Zone 3
69 bit 3 PWM-input enabled in Zone 2
70 bit 2 PWM-input enabled in Zone 1
71 bit 1 PWM-input enabled in Zone 0
72 bit 0 PWM-input enabled
73 ===== ===========================