ACPI: thinkpad-acpi: fix lenovo keymap for brightness
commit3ac49650f48da0419de97ec1e773ca386943da91
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 21 Nov 2007 14:52:08 +0000 (21 12:52 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Mon, 11 Feb 2008 17:22:07 +0000 (11 15:22 -0200)
tree799019ae524a015299170ca650a771b1611e08ec
parent793de08f90fcb2d19f392f49874606c712f092fe
ACPI: thinkpad-acpi: fix lenovo keymap for brightness

Several reports from X60 users complained that the default Lenovo keymap
issuing EV_KEY KEY_BRIGHTNESS_UP/DOWN input events caused major issues when
the proper brightness support through ACPI video.c was loaded.

Therefore, remove the generation of these events by default, which is the
right thing for T60, X60, R60, T61, X61 and R61 with their latest BIOSes.

Distros that want to misuse these events into OSD reporting (which requires
an ugly hack from hell in HAL) are welcome to set up the key map they need
through HAL.  That way, we don't break everyone else's systems.

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