Re: [ibm-acpi-devel] [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-08 Thread Thomas Renninger
On Mon, 2007-10-08 at 10:12 -0300, Henrique de Moraes Holschuh wrote: > If we detect the presence of _BCL on a Lenovo ThinkPad, it means there is > support for ACPI standard backlight brightness control. In that case, it > is probably best to not make the ThinkPad-specific backlight interface > av

Re: [ibm-acpi-devel] [PATCH 2/4] ACPI: thinkpad-acpi: support 16 levels of brightness (v2)

2007-10-08 Thread Thomas Renninger
On Mon, 2007-10-08 at 10:12 -0300, Henrique de Moraes Holschuh wrote: > Lenovo ThinkPads with ACPI Video brightness control often have 16 > brightness levels in EC, and not just eight levels like older ThinkPads. > > We detect the number of brightness levels by the presence of a _BCL method > with

[ibm-acpi-devel] [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-08 Thread Henrique de Moraes Holschuh
If we detect the presence of _BCL on a Lenovo ThinkPad, it means there is support for ACPI standard backlight brightness control. In that case, it is probably best to not make the ThinkPad-specific backlight interface available. Provide a Kconfig option (default disabled) to make the ThinkPad-spe

[ibm-acpi-devel] [GIT PATCH v2] thinkpad-acpi changes for the merge window (part 2)

2007-10-08 Thread Henrique de Moraes Holschuh
(resending, I missed one patch in the series. Sorry about that) Len, Here is the second batch of thinkpad-acpi changes for the merge window (target:

[ibm-acpi-devel] [PATCH 4/4] ACPI: thinkpad-acpi: bump up version to 0.17

2007-10-08 Thread Henrique de Moraes Holschuh
The lm-sensors 3.0.0/libsensors4 compatibility changes are reason enough to bump up the version string. Do it. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> --- Documentation/thinkpad-acpi.txt |4 ++-- drivers/misc/thinkpad_acpi.c|2 +- 2 files changed, 3 insertions(

[ibm-acpi-devel] [PATCH 2/4] ACPI: thinkpad-acpi: support 16 levels of brightness (v2)

2007-10-08 Thread Henrique de Moraes Holschuh
Lenovo ThinkPads with ACPI Video brightness control often have 16 brightness levels in EC, and not just eight levels like older ThinkPads. We detect the number of brightness levels by the presence of a _BCL method with 18 entries (16 levels plus the on-battery and on-ac recommended levels). If _B

[ibm-acpi-devel] [PATCH 1/4] ACPI: thinkpad-acpi: skip blanks before the data when parsing sysfs

2007-10-08 Thread Henrique de Moraes Holschuh
Skip blanks not just at the tail of sysfs writes, but also at the head. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> --- drivers/misc/thinkpad_acpi.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_ac

[ibm-acpi-devel] [PATCH 3/3] ACPI: thinkpad-acpi: bump up version to 0.17

2007-10-08 Thread Henrique de Moraes Holschuh
The lm-sensors 3.0.0/libsensors4 compatibility changes are reason enough to bump up the version string. Do it. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> --- Documentation/thinkpad-acpi.txt |4 ++-- drivers/misc/thinkpad_acpi.c|2 +- 2 files changed, 3 insertions(

[ibm-acpi-devel] [PATCH 2/3] ACPI: thinkpad-acpi: support 16 levels of brightness (v2)

2007-10-08 Thread Henrique de Moraes Holschuh
Lenovo ThinkPads with ACPI Video brightness control often have 16 brightness levels in EC, and not just eight levels like older ThinkPads. We detect the number of brightness levels by the presence of a _BCL method with 18 entries (16 levels plus the on-battery and on-ac recommended levels). If _B

[ibm-acpi-devel] [GIT PATCH] thinkpad-acpi changes for the merge window (part 2)

2007-10-08 Thread Henrique de Moraes Holschuh
Len, Here is the second batch of thinkpad-acpi changes for the merge window (target: 2.6.24). There will be a third batch, soon. This batch improves

[ibm-acpi-devel] [PATCH 1/3] ACPI: thinkpad-acpi: skip blanks before the data when parsing sysfs

2007-10-08 Thread Henrique de Moraes Holschuh
Skip blanks not just at the tail of sysfs writes, but also at the head. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> --- drivers/misc/thinkpad_acpi.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_ac