[ibm-acpi-devel] [PATCH 09/12] thinkpad-acpi: enhanced debugging messages for rfkill subdrivers

2009-04-03 Thread Henrique de Moraes Holschuh
Enhance debugging messages for all rfkill subdrivers in thinkpad-acpi. Also, log a warning if the deprecated sysfs attributes are in use. These attributes are going to be removed sometime in 2010. There is an user-visible side-effect: we now coalesce attempts to enable/disable bluetooth or WWAN i

[ibm-acpi-devel] [PATCH 06/12] thinkpad-acpi: add new debug helpers and warn of deprecated atts

2009-04-03 Thread Henrique de Moraes Holschuh
Add a debug helper that discloses the TGID of the userspace task attempting to access the driver. This is highly useful when dealing with bug reports, since often the user has no idea that some userspace application is accessing thinkpad-acpi... Also add a helper to log warnings about sysfs attri

[ibm-acpi-devel] [PATCH 10/12] thinkpad-acpi: enhanced debugging messages for the hotkey subdriver

2009-04-03 Thread Henrique de Moraes Holschuh
Enhance debugging messages for the hotkey subdriver. Signed-off-by: Henrique de Moraes Holschuh --- Documentation/laptops/thinkpad-acpi.txt |1 + drivers/platform/x86/thinkpad_acpi.c| 39 +++ 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/D

[ibm-acpi-devel] [PATCH 03/12] thinkpad-acpi: documentation cleanup

2009-04-03 Thread Henrique de Moraes Holschuh
Some cleanups to the documentation of the driver. Signed-off-by: Henrique de Moraes Holschuh --- Documentation/laptops/thinkpad-acpi.txt | 76 +-- 1 files changed, 52 insertions(+), 24 deletions(-) diff --git a/Documentation/laptops/thinkpad-acpi.txt b/Documentati

[ibm-acpi-devel] [PATCH 04/12] thinkpad-acpi: cleanup debug helpers

2009-04-03 Thread Henrique de Moraes Holschuh
Fix the vdbg_printk macro definition to be sane when CONFIG_THINKPAD_ACPI_DEBUG is undefined, and move the mess into a file section of its own. This doesn't change anything in the current code, but future code will need the proper behaviour. Signed-off-by: Henrique de Moraes Holschuh --- driver

[ibm-acpi-devel] [GIT PATCH] thinkpad-acpi queue for 2.6.30

2009-04-03 Thread Henrique de Moraes Holschuh
Len, This patchset has the changes for thinkpad-acpi that I would like to see merged for 2.6.30 (while the window is still open). It contains the patch for http://bugzilla.kernel.org/show_bug.cgi?id=11750, and a few enhancements. Shortlog: Henrique de Moraes Holschuh (12): thinkpad-acpi:

[ibm-acpi-devel] [PATCH 05/12] thinkpad-acpi: add missing log levels

2009-04-03 Thread Henrique de Moraes Holschuh
Add missing log levels in a standalone commit, to avoid dependencies in future unrelated changes, just because they wanted to use one of the missing log levels. Signed-off-by: Henrique de Moraes Holschuh --- drivers/platform/x86/thinkpad_acpi.c | 19 +++ 1 files changed, 11 ins

[ibm-acpi-devel] [PATCH 01/12] thinkpad-acpi: update copyright notices

2009-04-03 Thread Henrique de Moraes Holschuh
It is that time of the year again... Signed-off-by: Henrique de Moraes Holschuh --- drivers/platform/x86/thinkpad_acpi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index d99f1cd..fd6985b 1

[ibm-acpi-devel] [PATCH 08/12] thinkpad-acpi: restrict access to some firmware LEDs

2009-04-03 Thread Henrique de Moraes Holschuh
Some of the ThinkPad LEDs indicate critical conditions that can cause data loss or cause hardware damage when ignored (e.g. force-ejecting a powered up bay; ignoring a failing battery, or empty battery; force- undocking with the dock buses still active, etc). On almost all ThinkPads, LED access is

[ibm-acpi-devel] [PATCH 07/12] thinkpad-acpi: remove HKEY disable functionality

2009-04-03 Thread Henrique de Moraes Holschuh
The HKEY disable functionality basically cripples the entire event model of the ThinkPad firmware and of the thinkpad-acpi driver. Remove this functionality from the driver. HKEY must be enabled at all times while thinkpad-acpi is loaded, and disabled otherwise. For sysfs, according to the sysfs

[ibm-acpi-devel] [PATCH 12/12] thinkpad-acpi: rework brightness support

2009-04-03 Thread Henrique de Moraes Holschuh
Refactor and redesign the brightness control backend... In order to fix bugzilla #11750... Add a new brightness control mode: support direct NVRAM checkpointing of the backlight level (i.e. store directly to NVRAM without the need for UCMS calls), and use that together with the EC-based control.

[ibm-acpi-devel] [PATCH 11/12] thinkpad-acpi: enhanced debugging messages for the fan subdriver

2009-04-03 Thread Henrique de Moraes Holschuh
Enhance debugging messages for the fan subdriver. Signed-off-by: Henrique de Moraes Holschuh --- Documentation/laptops/thinkpad-acpi.txt |1 + drivers/platform/x86/thinkpad_acpi.c| 46 +++--- 2 files changed, 42 insertions(+), 5 deletions(-) diff --git a/Docume

[ibm-acpi-devel] [PATCH 02/12] thinkpad-acpi: drop ibm-acpi alias

2009-04-03 Thread Henrique de Moraes Holschuh
The driver was renamed two years ago, on 2.6.21. Drop the old compatibility alias, we have given everybody quite enough time to update their configs to the new name. Signed-off-by: Henrique de Moraes Holschuh --- drivers/platform/x86/thinkpad_acpi.c |3 --- 1 files changed, 0 insertions(+),