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

2007-10-09 Thread Henrique de Moraes Holschuh
On Tue, 09 Oct 2007, Thomas Renninger wrote: > 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 br

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 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