[PATCH] command line options for hald-addon-acpi

David Zeuthen david at fubar.dk
Tue Aug 2 13:24:46 PDT 2005


On Tue, 2005-08-02 at 22:15 +0200, Timo Hoenig wrote:
> > It should be easier than trivial to do, so I think we will. Another
> > point is that we want to integrate specific ACPI-extras functionality
> > anyway so e.g. HAL can expose an interface to set laptop display
> > brightness.
> 
> Yes, good point.  Here we're facing another problem:  The generic ACPI
> video driver does not yet support many systems.  I'm really unsure if
> the switch from the specific drivers to generic ACPI drivers will be
> very smooth.
> 
> Do we want to integrate support of specific notebook drivers into HAL
> nevertheless?  If yes, should we support interfaces of non-mainline
> drivers, too?

Yes, I think we want that, AFAIK, the generic ACPI interfaces don't
really work on any laptop I know but I could be wrong. I know that the
latest experimental version of ibm-acpi supports this and I've got a T41
so I can do that actually =).

However, first we need to define the external interface, but I think
that's not too difficult (just expose the interface
org.freedesktop.Hal.LaptopScreen with methods SetBrightness(..) and some
properties. It just requires some work to get the right interface...

Cheers,
David


_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list