ACPI: thinkpad-acpi: fix lenovo keymap for brightness
commit6bcc8a6faa80df37e7f57958ea62a982d48841c9
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 21 Nov 2007 18:52:08 +0000 (21 16:52 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 4 Dec 2007 15:51:02 +0000 (4 13:51 -0200)
tree3ed7fec2ba5c9ebaff8ca172c007a584f50b37f7
parent09b56adc98e0f8a21644fcb4d20ad367c3fceb55
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