ACPI: thinkpad-acpi: prefer standard ACPI backlight level control
commit5d24abea9b66ed391c6369d3e869ebe094154e1b
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 11 Oct 2007 08:07:53 +0000 (11 05:07 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 30 Oct 2007 22:47:53 +0000 (30 20:47 -0200)
treecc56797b9928d4436112a8ad4cad2742a09a6c77
parent71f307877cc7d575bb266494bc28f14a54d7a192
ACPI: thinkpad-acpi: prefer standard ACPI backlight level control

Newer Lenovo BIOSes support the standard ACPI backlight brightness
interface (_BCM, _BQC, _BCL).  It should be used instead of the native
thinkpad backlight brightness control interface when possible.

This patch disables the native brightness support in the driver by default
when we detect that the standard ACPI interface is available.  The local
admin can still enable it using the module parameter "brightness_enable".

Note that we need to detect the standard ACPI backlight interface only in
boxes for which we would load the native backlight interface in the first
place, and that no ThinkPad BIOS has _BCL but misses the other methods, so
the detection routines can be really simple.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Documentation/thinkpad-acpi.txt
drivers/misc/thinkpad_acpi.c