ACPI: thinkpad-acpi: allow use of CMOS NVRAM for brightness control
commit26e8b4b56e9d6f8ced25de62f3de9f3b21584c32
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 7 Jul 2007 01:37:57 +0000 (6 22:37 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 9 Sep 2007 02:15:12 +0000 (8 23:15 -0300)
tree145dd2e45c7e059c588eb666c8293c63cc0a159d
parent1c72495385e34eb31bb6ee06564e7f080f2be695
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>
Documentation/thinkpad-acpi.txt
drivers/misc/Kconfig
drivers/misc/thinkpad_acpi.c
drivers/misc/thinkpad_acpi.h