^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/class/backlight/<backlight>/bl_power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: Richard Purdie <rpurdie@rpsys.net>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Control BACKLIGHT power, values are FB_BLANK_* from fb.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - FB_BLANK_UNBLANK (0) : power on.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - FB_BLANK_POWERDOWN (4) : power off
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Users: HAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) What: /sys/class/backlight/<backlight>/brightness
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Date: April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) KernelVersion: 2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Contact: Richard Purdie <rpurdie@rpsys.net>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Control the brightness for this <backlight>. Values
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) are between 0 and max_brightness. This file will also
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) show the brightness level stored in the driver, which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) may not be the actual brightness (see actual_brightness).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Users: HAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) What: /sys/class/backlight/<backlight>/actual_brightness
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Date: March 2006
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) KernelVersion: 2.6.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Contact: Richard Purdie <rpurdie@rpsys.net>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Show the actual brightness by querying the hardware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Users: HAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) What: /sys/class/backlight/<backlight>/max_brightness
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Date: April 2005
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) KernelVersion: 2.6.12
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Contact: Richard Purdie <rpurdie@rpsys.net>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Maximum brightness for <backlight>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Users: HAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) What: /sys/class/backlight/<backlight>/type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) Date: September 2010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) KernelVersion: 2.6.37
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) Contact: Matthew Garrett <mjg@redhat.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) The type of interface controlled by <backlight>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) "firmware": The driver uses a standard firmware interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) "platform": The driver uses a platform-specific interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) "raw": The driver controls hardware registers directly
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) In the general case, when multiple backlight
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) interfaces are available for a single device, firmware
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) control should be preferred to platform control should
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) be preferred to raw control. Using a firmware
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) interface reduces the probability of confusion with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) the hardware and the OS independently updating the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) backlight state. Platform interfaces are mostly a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) holdover from pre-standardisation of firmware
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) interfaces.