1 What: /sys/class/backlight/<backlight>/scale
4 Contact: Daniel Thompson <daniel.thompson@linaro.org>
6 Description of the scale of the brightness curve.
8 The human eye senses brightness approximately logarithmically,
9 hence linear changes in brightness are perceived as being
10 non-linear. To achieve a linear perception of brightness changes
11 controls like sliders need to apply a logarithmic mapping for
12 backlights with a linear brightness curve.
14 Possible values of the attribute are:
17 The scale of the brightness curve is unknown.
20 The brightness changes linearly with each step. Brightness
21 controls should apply a logarithmic mapping for a linear
25 The brightness changes non-linearly with each step. Brightness
26 controls should use a linear mapping for a linear perception.
28 What: /sys/class/backlight/<backlight>/ambient_light_level
30 KernelVersion: v2.6.35
31 Contact: Michael Hennerich <michael.hennerich@analog.com>
33 (RO) Get conversion value of the light sensor.
35 The value is automatically updated every 80 ms when the
36 light sensor is enabled.
38 The value range is device-driver specific:
42 It returns integer between 0 (dark) and 8000 (max ambient
47 It returns a 13-bits integer.
49 What: /sys/class/backlight/<backlight>/ambient_light_zone
51 KernelVersion: v2.6.35
52 Contact: Michael Hennerich <michael.hennerich@analog.com>,
53 device-drivers-devel@blackfin.uclinux.org
56 (RW) Read or write the specific brightness level at which the
59 The value meaning is device-driver specific:
63 == ==========================
64 0 Off: Backlight set to 0 mA
68 == ==========================
72 == ==========================
73 0 Off: Backlight set to 0 mA
79 == ==========================
81 Writing 0 returns to normal/automatic ambient light level
84 It can be enabled by writing the value stored in
85 /sys/class/backlight/<backlight>/max_brightness to
86 /sys/class/backlight/<backlight>/brightness.
88 What: /sys/class/backlight/<backlight>/<ambient light zone>_max
90 KernelVersion: v2.6.32
91 Contact: device-drivers-devel@blackfin.uclinux.org
93 Control the maximum brightness for <ambient light zone>
94 on this <backlight>. Values are between 0 and 127. This file
95 will also show the brightness level stored for this
98 The <ambient light zone> is device-driver specific:
100 For ADP5520 and ADP5501, <ambient light zone> can be:
102 =========== ================================================
105 =========== ================================================
106 daylight /sys/class/backlight/<backlight>/daylight_max
107 office /sys/class/backlight/<backlight>/office_max
108 dark /sys/class/backlight/<backlight>/dark_max
109 =========== ================================================
111 For ADP8860, <ambient light zone> can be:
113 =========== ================================================
116 =========== ================================================
117 l1_daylight /sys/class/backlight/<backlight>/l1_daylight_max
118 l2_office /sys/class/backlight/<backlight>/l2_office_max
119 l3_dark /sys/class/backlight/<backlight>/l3_dark_max
120 =========== ================================================
122 For ADP8870, <ambient light zone> can be:
124 =========== ================================================
127 =========== ================================================
128 l1_daylight /sys/class/backlight/<backlight>/l1_daylight_max
129 l2_bright /sys/class/backlight/<backlight>/l2_bright_max
130 l3_office /sys/class/backlight/<backlight>/l3_office_max
131 l4_indoor /sys/class/backlight/<backlight>/l4_indoor_max
132 l5_dark /sys/class/backlight/<backlight>/l5_dark_max
133 =========== ================================================
135 See also: /sys/class/backlight/<backlight>/ambient_light_zone.
137 What: /sys/class/backlight/<backlight>/<ambient light zone>_dim
139 KernelVersion: v2.6.32
140 Contact: device-drivers-devel@blackfin.uclinux.org
142 Control the dim brightness for <ambient light zone>
143 on this <backlight>. Values are between 0 and 127, typically
144 set to 0. Full off when the backlight is disabled.
145 This file will also show the dim brightness level stored for
146 this <ambient light zone>.
148 The <ambient light zone> is device-driver specific:
150 For ADP5520 and ADP5501, <ambient light zone> can be:
152 =========== ================================================
155 =========== ================================================
156 daylight /sys/class/backlight/<backlight>/daylight_dim
157 office /sys/class/backlight/<backlight>/office_dim
158 dark /sys/class/backlight/<backlight>/dark_dim
159 =========== ================================================
161 For ADP8860, <ambient light zone> can be:
163 =========== ================================================
166 =========== ================================================
167 l1_daylight /sys/class/backlight/<backlight>/l1_daylight_dim
168 l2_office /sys/class/backlight/<backlight>/l2_office_dim
169 l3_dark /sys/class/backlight/<backlight>/l3_dark_dim
170 =========== ================================================
172 For ADP8870, <ambient light zone> can be:
174 =========== ================================================
177 =========== ================================================
178 l1_daylight /sys/class/backlight/<backlight>/l1_daylight_dim
179 l2_bright /sys/class/backlight/<backlight>/l2_bright_dim
180 l3_office /sys/class/backlight/<backlight>/l3_office_dim
181 l4_indoor /sys/class/backlight/<backlight>/l4_indoor_dim
182 l5_dark /sys/class/backlight/<backlight>/l5_dark_dim
183 =========== ================================================
185 See also: /sys/class/backlight/<backlight>/ambient_light_zone.