18c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/bl_power 28c2ecf20Sopenharmony_ciDate: April 2005 38c2ecf20Sopenharmony_ciKernelVersion: 2.6.12 48c2ecf20Sopenharmony_ciContact: Richard Purdie <rpurdie@rpsys.net> 58c2ecf20Sopenharmony_ciDescription: 68c2ecf20Sopenharmony_ci Control BACKLIGHT power, values are FB_BLANK_* from fb.h 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci - FB_BLANK_UNBLANK (0) : power on. 98c2ecf20Sopenharmony_ci - FB_BLANK_POWERDOWN (4) : power off 108c2ecf20Sopenharmony_ciUsers: HAL 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/brightness 138c2ecf20Sopenharmony_ciDate: April 2005 148c2ecf20Sopenharmony_ciKernelVersion: 2.6.12 158c2ecf20Sopenharmony_ciContact: Richard Purdie <rpurdie@rpsys.net> 168c2ecf20Sopenharmony_ciDescription: 178c2ecf20Sopenharmony_ci Control the brightness for this <backlight>. Values 188c2ecf20Sopenharmony_ci are between 0 and max_brightness. This file will also 198c2ecf20Sopenharmony_ci show the brightness level stored in the driver, which 208c2ecf20Sopenharmony_ci may not be the actual brightness (see actual_brightness). 218c2ecf20Sopenharmony_ciUsers: HAL 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/actual_brightness 248c2ecf20Sopenharmony_ciDate: March 2006 258c2ecf20Sopenharmony_ciKernelVersion: 2.6.17 268c2ecf20Sopenharmony_ciContact: Richard Purdie <rpurdie@rpsys.net> 278c2ecf20Sopenharmony_ciDescription: 288c2ecf20Sopenharmony_ci Show the actual brightness by querying the hardware. 298c2ecf20Sopenharmony_ciUsers: HAL 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/max_brightness 328c2ecf20Sopenharmony_ciDate: April 2005 338c2ecf20Sopenharmony_ciKernelVersion: 2.6.12 348c2ecf20Sopenharmony_ciContact: Richard Purdie <rpurdie@rpsys.net> 358c2ecf20Sopenharmony_ciDescription: 368c2ecf20Sopenharmony_ci Maximum brightness for <backlight>. 378c2ecf20Sopenharmony_ciUsers: HAL 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ciWhat: /sys/class/backlight/<backlight>/type 408c2ecf20Sopenharmony_ciDate: September 2010 418c2ecf20Sopenharmony_ciKernelVersion: 2.6.37 428c2ecf20Sopenharmony_ciContact: Matthew Garrett <mjg@redhat.com> 438c2ecf20Sopenharmony_ciDescription: 448c2ecf20Sopenharmony_ci The type of interface controlled by <backlight>. 458c2ecf20Sopenharmony_ci "firmware": The driver uses a standard firmware interface 468c2ecf20Sopenharmony_ci "platform": The driver uses a platform-specific interface 478c2ecf20Sopenharmony_ci "raw": The driver controls hardware registers directly 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci In the general case, when multiple backlight 508c2ecf20Sopenharmony_ci interfaces are available for a single device, firmware 518c2ecf20Sopenharmony_ci control should be preferred to platform control should 528c2ecf20Sopenharmony_ci be preferred to raw control. Using a firmware 538c2ecf20Sopenharmony_ci interface reduces the probability of confusion with 548c2ecf20Sopenharmony_ci the hardware and the OS independently updating the 558c2ecf20Sopenharmony_ci backlight state. Platform interfaces are mostly a 568c2ecf20Sopenharmony_ci holdover from pre-standardisation of firmware 578c2ecf20Sopenharmony_ci interfaces. 58