sysfs-class-backlight 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. What: /sys/class/backlight/<backlight>/scale
  2. Date: July 2019
  3. KernelVersion: 5.4
  4. Contact: Daniel Thompson <[email protected]>
  5. Description:
  6. Description of the scale of the brightness curve.
  7. The human eye senses brightness approximately logarithmically,
  8. hence linear changes in brightness are perceived as being
  9. non-linear. To achieve a linear perception of brightness changes
  10. controls like sliders need to apply a logarithmic mapping for
  11. backlights with a linear brightness curve.
  12. Possible values of the attribute are:
  13. unknown
  14. The scale of the brightness curve is unknown.
  15. linear
  16. The brightness changes linearly with each step. Brightness
  17. controls should apply a logarithmic mapping for a linear
  18. perception.
  19. non-linear
  20. The brightness changes non-linearly with each step. Brightness
  21. controls should use a linear mapping for a linear perception.
  22. What: /sys/class/backlight/<backlight>/ambient_light_level
  23. Date: Apr, 2010
  24. KernelVersion: v2.6.35
  25. Contact: Michael Hennerich <[email protected]>
  26. Description:
  27. (RO) Get conversion value of the light sensor.
  28. The value is automatically updated every 80 ms when the
  29. light sensor is enabled.
  30. The value range is device-driver specific:
  31. For ADP8870:
  32. It returns integer between 0 (dark) and 8000 (max ambient
  33. brightness).
  34. For ADP8860:
  35. It returns a 13-bits integer.
  36. What: /sys/class/backlight/<backlight>/ambient_light_zone
  37. Date: Apr, 2010
  38. KernelVersion: v2.6.35
  39. Contact: Michael Hennerich <[email protected]>,
  40. [email protected]
  41. Description:
  42. (RW) Read or write the specific brightness level at which the
  43. backlight operates.
  44. The value meaning is device-driver specific:
  45. For ADP8860:
  46. == ==========================
  47. 0 Off: Backlight set to 0 mA
  48. 1 Level 1: daylight
  49. 2 Level 2: bright
  50. 3 Level 3: dark
  51. == ==========================
  52. For ADP8870:
  53. == ==========================
  54. 0 Off: Backlight set to 0 mA
  55. 1 Level 1: daylight
  56. 2 Level 2: bright
  57. 3 Level 3: office
  58. 4 Level 4: indoor
  59. 5 Level 5: dark
  60. == ==========================
  61. Writing 0 returns to normal/automatic ambient light level
  62. operation.
  63. It can be enabled by writing the value stored in
  64. /sys/class/backlight/<backlight>/max_brightness to
  65. /sys/class/backlight/<backlight>/brightness.
  66. What: /sys/class/backlight/<backlight>/<ambient light zone>_max
  67. Date: Sep, 2009
  68. KernelVersion: v2.6.32
  69. Contact: [email protected]
  70. Description:
  71. Control the maximum brightness for <ambient light zone>
  72. on this <backlight>. Values are between 0 and 127. This file
  73. will also show the brightness level stored for this
  74. <ambient light zone>.
  75. The <ambient light zone> is device-driver specific:
  76. For ADP5520 and ADP5501, <ambient light zone> can be:
  77. =========== ================================================
  78. Ambient sysfs entry
  79. light zone
  80. =========== ================================================
  81. daylight /sys/class/backlight/<backlight>/daylight_max
  82. office /sys/class/backlight/<backlight>/office_max
  83. dark /sys/class/backlight/<backlight>/dark_max
  84. =========== ================================================
  85. For ADP8860, <ambient light zone> can be:
  86. =========== ================================================
  87. Ambient sysfs entry
  88. light zone
  89. =========== ================================================
  90. l1_daylight /sys/class/backlight/<backlight>/l1_daylight_max
  91. l2_office /sys/class/backlight/<backlight>/l2_office_max
  92. l3_dark /sys/class/backlight/<backlight>/l3_dark_max
  93. =========== ================================================
  94. For ADP8870, <ambient light zone> can be:
  95. =========== ================================================
  96. Ambient sysfs entry
  97. light zone
  98. =========== ================================================
  99. l1_daylight /sys/class/backlight/<backlight>/l1_daylight_max
  100. l2_bright /sys/class/backlight/<backlight>/l2_bright_max
  101. l3_office /sys/class/backlight/<backlight>/l3_office_max
  102. l4_indoor /sys/class/backlight/<backlight>/l4_indoor_max
  103. l5_dark /sys/class/backlight/<backlight>/l5_dark_max
  104. =========== ================================================
  105. See also: /sys/class/backlight/<backlight>/ambient_light_zone.
  106. What: /sys/class/backlight/<backlight>/<ambient light zone>_dim
  107. Date: Sep, 2009
  108. KernelVersion: v2.6.32
  109. Contact: [email protected]
  110. Description:
  111. Control the dim brightness for <ambient light zone>
  112. on this <backlight>. Values are between 0 and 127, typically
  113. set to 0. Full off when the backlight is disabled.
  114. This file will also show the dim brightness level stored for
  115. this <ambient light zone>.
  116. The <ambient light zone> is device-driver specific:
  117. For ADP5520 and ADP5501, <ambient light zone> can be:
  118. =========== ================================================
  119. Ambient sysfs entry
  120. light zone
  121. =========== ================================================
  122. daylight /sys/class/backlight/<backlight>/daylight_dim
  123. office /sys/class/backlight/<backlight>/office_dim
  124. dark /sys/class/backlight/<backlight>/dark_dim
  125. =========== ================================================
  126. For ADP8860, <ambient light zone> can be:
  127. =========== ================================================
  128. Ambient sysfs entry
  129. light zone
  130. =========== ================================================
  131. l1_daylight /sys/class/backlight/<backlight>/l1_daylight_dim
  132. l2_office /sys/class/backlight/<backlight>/l2_office_dim
  133. l3_dark /sys/class/backlight/<backlight>/l3_dark_dim
  134. =========== ================================================
  135. For ADP8870, <ambient light zone> can be:
  136. =========== ================================================
  137. Ambient sysfs entry
  138. light zone
  139. =========== ================================================
  140. l1_daylight /sys/class/backlight/<backlight>/l1_daylight_dim
  141. l2_bright /sys/class/backlight/<backlight>/l2_bright_dim
  142. l3_office /sys/class/backlight/<backlight>/l3_office_dim
  143. l4_indoor /sys/class/backlight/<backlight>/l4_indoor_dim
  144. l5_dark /sys/class/backlight/<backlight>/l5_dark_dim
  145. =========== ================================================
  146. See also: /sys/class/backlight/<backlight>/ambient_light_zone.