ACPI: thinkpad-acpi: fix lenovo keymap for brightness
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 13 Dec 2007 14:14:09 +0000 (12:14 -0200)
committerLen Brown <len.brown@intel.com>
Fri, 14 Dec 2007 02:59:59 +0000 (21:59 -0500)
commit56a185b43be05e48da7428e6a1d3e2585b232b1d
tree5ac3aa82ca686de768d2708e5133da9265edd51c
parentda8cadb31b82c9d41fc593c8deab6aa20b162d6b
ACPI: thinkpad-acpi: fix lenovo keymap for brightness

Starting in 2.6.23...

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>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/thinkpad_acpi.c