187 lines · plain
1What: /sys/class/backlight/<backlight>/scale2Date: July 20193KernelVersion: 5.44Contact: Daniel Thompson <daniel.thompson@linaro.org>5Description:6 Description of the scale of the brightness curve.7 8 The human eye senses brightness approximately logarithmically,9 hence linear changes in brightness are perceived as being10 non-linear. To achieve a linear perception of brightness changes11 controls like sliders need to apply a logarithmic mapping for12 backlights with a linear brightness curve.13 14 Possible values of the attribute are:15 16 unknown17 The scale of the brightness curve is unknown.18 19 linear20 The brightness changes linearly with each step. Brightness21 controls should apply a logarithmic mapping for a linear22 perception.23 24 non-linear25 The brightness changes non-linearly with each step. Brightness26 controls should use a linear mapping for a linear perception.27 28What: /sys/class/backlight/<backlight>/ambient_light_level29Date: Apr, 201030KernelVersion: v2.6.3531Contact: Michael Hennerich <michael.hennerich@analog.com>32Description:33 (RO) Get conversion value of the light sensor.34 35 The value is automatically updated every 80 ms when the36 light sensor is enabled.37 38 The value range is device-driver specific:39 40 For ADP8870:41 42 It returns integer between 0 (dark) and 8000 (max ambient43 brightness).44 45 For ADP8860:46 47 It returns a 13-bits integer.48 49What: /sys/class/backlight/<backlight>/ambient_light_zone50Date: Apr, 201051KernelVersion: v2.6.3552Contact: Michael Hennerich <michael.hennerich@analog.com>,53 device-drivers-devel@blackfin.uclinux.org54 55Description:56 (RW) Read or write the specific brightness level at which the57 backlight operates.58 59 The value meaning is device-driver specific:60 61 For ADP8860:62 63 == ==========================64 0 Off: Backlight set to 0 mA65 1 Level 1: daylight66 2 Level 2: bright67 3 Level 3: dark68 == ==========================69 70 For ADP8870:71 72 == ==========================73 0 Off: Backlight set to 0 mA74 1 Level 1: daylight75 2 Level 2: bright76 3 Level 3: office77 4 Level 4: indoor78 5 Level 5: dark79 == ==========================80 81 Writing 0 returns to normal/automatic ambient light level82 operation.83 84 It can be enabled by writing the value stored in85 /sys/class/backlight/<backlight>/max_brightness to86 /sys/class/backlight/<backlight>/brightness.87 88What: /sys/class/backlight/<backlight>/<ambient light zone>_max89Date: Sep, 200990KernelVersion: v2.6.3291Contact: device-drivers-devel@blackfin.uclinux.org92Description:93 Control the maximum brightness for <ambient light zone>94 on this <backlight>. Values are between 0 and 127. This file95 will also show the brightness level stored for this96 <ambient light zone>.97 98 The <ambient light zone> is device-driver specific:99 100 For ADP5520 and ADP5501, <ambient light zone> can be:101 102 =========== ================================================103 Ambient sysfs entry104 light zone105 =========== ================================================106 daylight /sys/class/backlight/<backlight>/daylight_max107 office /sys/class/backlight/<backlight>/office_max108 dark /sys/class/backlight/<backlight>/dark_max109 =========== ================================================110 111 For ADP8860, <ambient light zone> can be:112 113 =========== ================================================114 Ambient sysfs entry115 light zone116 =========== ================================================117 l1_daylight /sys/class/backlight/<backlight>/l1_daylight_max118 l2_office /sys/class/backlight/<backlight>/l2_office_max119 l3_dark /sys/class/backlight/<backlight>/l3_dark_max120 =========== ================================================121 122 For ADP8870, <ambient light zone> can be:123 124 =========== ================================================125 Ambient sysfs entry126 light zone127 =========== ================================================128 l1_daylight /sys/class/backlight/<backlight>/l1_daylight_max129 l2_bright /sys/class/backlight/<backlight>/l2_bright_max130 l3_office /sys/class/backlight/<backlight>/l3_office_max131 l4_indoor /sys/class/backlight/<backlight>/l4_indoor_max132 l5_dark /sys/class/backlight/<backlight>/l5_dark_max133 =========== ================================================134 135 See also: /sys/class/backlight/<backlight>/ambient_light_zone.136 137What: /sys/class/backlight/<backlight>/<ambient light zone>_dim138Date: Sep, 2009139KernelVersion: v2.6.32140Contact: device-drivers-devel@blackfin.uclinux.org141Description:142 Control the dim brightness for <ambient light zone>143 on this <backlight>. Values are between 0 and 127, typically144 set to 0. Full off when the backlight is disabled.145 This file will also show the dim brightness level stored for146 this <ambient light zone>.147 148 The <ambient light zone> is device-driver specific:149 150 For ADP5520 and ADP5501, <ambient light zone> can be:151 152 =========== ================================================153 Ambient sysfs entry154 light zone155 =========== ================================================156 daylight /sys/class/backlight/<backlight>/daylight_dim157 office /sys/class/backlight/<backlight>/office_dim158 dark /sys/class/backlight/<backlight>/dark_dim159 =========== ================================================160 161 For ADP8860, <ambient light zone> can be:162 163 =========== ================================================164 Ambient sysfs entry165 light zone166 =========== ================================================167 l1_daylight /sys/class/backlight/<backlight>/l1_daylight_dim168 l2_office /sys/class/backlight/<backlight>/l2_office_dim169 l3_dark /sys/class/backlight/<backlight>/l3_dark_dim170 =========== ================================================171 172 For ADP8870, <ambient light zone> can be:173 174 =========== ================================================175 Ambient sysfs entry176 light zone177 =========== ================================================178 l1_daylight /sys/class/backlight/<backlight>/l1_daylight_dim179 l2_bright /sys/class/backlight/<backlight>/l2_bright_dim180 l3_office /sys/class/backlight/<backlight>/l3_office_dim181 l4_indoor /sys/class/backlight/<backlight>/l4_indoor_dim182 l5_dark /sys/class/backlight/<backlight>/l5_dark_dim183 =========== ================================================184 185 See also: /sys/class/backlight/<backlight>/ambient_light_zone.186 187