[ibm-acpi-devel] [GIT PATCH] thinkpad-acpi patches for merge window

2010-08-09 Thread Henrique de Moraes Holschuh
Matthew, This is a bit late, I hope you will still consider pushing these to Linus while the merge window is still open. Please pull from: git://repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git for-upstream/platform-x86_tpacpi To get the following changes: Henrique de Moraes Holschuh (4)

[ibm-acpi-devel] [PATCH 4/5] thinkpad-acpi: add support for model-specific keymaps

2010-08-09 Thread Henrique de Moraes Holschuh
Use the quirks engine to select model-specific keymaps, which makes it much easier to extend should we need it. Keycodes are based on the tables at http://www.thinkwiki.org/wiki/Default_meanings_of_special_keys. Signed-off-by: Henrique de Moraes Holschuh --- drivers/platform/x86/thinkpad_acpi.c

[ibm-acpi-devel] [PATCH 3/5] thinkpad-acpi: lock down size of hotkey keymap

2010-08-09 Thread Henrique de Moraes Holschuh
Use a safer coding style for the hotkey keymap. This does not fix any problems, as the current code is correct. But it might help avoid mistakes in the future. Signed-off-by: Henrique de Moraes Holschuh --- drivers/platform/x86/thinkpad_acpi.c | 19 +++ 1 files changed, 15 in

[ibm-acpi-devel] [PATCH 5/5] thinkpad-acpi: Add KEY_CAMERA (Fn-F6) for Lenovo keyboards

2010-08-09 Thread Henrique de Moraes Holschuh
From: Jens Taprogge On the T410s and most likely other current models, Fn-F6 is labeled as Camera/Headphone key. Report key presses as KEY_CAMERA. Signed-off-by: Jens Taprogge Acked-by: Jerone Young Acked-by: Henrique de Moraes Holschuh --- drivers/platform/x86/thinkpad_acpi.c |2 +- 1

[ibm-acpi-devel] [PATCH 2/5] thinkpad-acpi: untangle ACPI/vendor backlight selection

2010-08-09 Thread Henrique de Moraes Holschuh
acpi_video_backlight_support() already tells us if ACPI is handling backlight control through the generic ACPI handle. It is better to just trust it. While at it, adjust down a printk priority, and test earlier for brightness_enable=0. Signed-off-by: Henrique de Moraes Holschuh --- Documentati

[ibm-acpi-devel] [PATCH 1/5] thinkpad-acpi: find ACPI video device by synthetic HID

2010-08-09 Thread Henrique de Moraes Holschuh
The Linux ACPI core locates the ACPI video devices for us and marks them with ACPI_VIDEO_HID. Use that information to locate the video device instead of a half-baked hunt for _BCL. This uncouples the detection of the number of backlight brightness levels on ThinkPads from the ACPI paths in vid_ha