]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: thinkpad-acpi: allow use of CMOS NVRAM for brightness control
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 19 Jul 2007 02:45:43 +0000 (23:45 -0300)
committerLen Brown <len.brown@intel.com>
Sun, 22 Jul 2007 03:49:03 +0000 (23:49 -0400)
commit24d3b77467b6aaf59e38dce4aa86d05541858195
tree92975c9c2d4b37922d25782bd02d7076d77e817e
parentd5a2f2f1d68e2da538ac28540cddd9ccc733b001
ACPI: thinkpad-acpi: allow use of CMOS NVRAM for brightness control

It appears that Lenovo decided to break the EC brightness control interface
in a weird way in their latest BIOSes.  Fortunately, the old CMOS NVRAM
interface works just fine in such BIOSes.

Add a module parameter that allows the user to select which strategy to use
for brightness control: EC, NVRAM, or both.  By default, do both (which is
the way thinkpad-acpi used to work until now) on IBM ThinkPads, and use
NVRAM only on Lenovo ThinkPads.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Documentation/thinkpad-acpi.txt
drivers/misc/Kconfig
drivers/misc/thinkpad_acpi.c
drivers/misc/thinkpad_acpi.h