[ltp] Re: ibm-acpi-0.11

Borislav Deianov linux-thinkpad@linux-thinkpad.org
Fri, 18 Mar 2005 23:54:12 -0800


On Thu, 17 Mar 2005 11:36:04 +0000 (UTC) Daniel Stodden <dns@somacoma.net> wrote:
> On Thu, 2005-03-17 at 03:22 -0800, Borislav Deianov wrote:
>
> >         - Fn key combinations
> >         - ThinkLight on and off
> >
> >         - experimental brightness control
> >         - experimental volume control
>
> this probably means this is the point one could start thinking about
> reimplementing a tpb-style application based on a WAY saner interface
> than the nvram polling tpb is built upon.

Unfortunately, not quite. The volume and brightness buttons do not
generate ACPI events, so you can't just handle them via acpid. You'd
have to poll /proc/acpi/ibm/* which is very likely slower than polling
/dev/nvram.

Regards,
Boris