Additions to Power Manager Interface

Richard Hughes hughsient at gmail.com
Tue Sep 12 06:39:18 PDT 2006


On Tue, 2006-09-12 at 13:47 +0100, Padraig O'Briain wrote:
> Some time ago I proposed adding some new XSETTINGS but was told that 
> gnome-power-manager would be more appropriate. See 
> http://lists.freedesktop.org/archives/xdg/2006-August/008436.html
> 
> Would you agree to the addition of the following interfaces to the Gnome 
> Power Manager DBUS interface?

> IsMimimizedCPURequested

Define minimised... We already have a GetLowPowerMode method (and should
have a signal), see
http://cvs.gnome.org/viewcvs/*checkout*/gnome-power-manager/docs/dbus-interface.html for the full list.

This could also be expressed in a desktop neutral HAL method, something
like we have already. Doing stuff like this on a org.gnome.* service
means then KDE and XFCE get no love.

> GetDisplayCapability
> 
> Returns the display capability
> 
> Direction Type                 Description
> ------------------------------------------
> out       String
>          hw_accel_full        hardware 2D or 3D acceleration
>          hw_accel_partial     hardware 2D acceleration
>          hw_accel_none        no hardware acceleration (default)
>          network_display      remote display
>          persistent_display   e.g. as proposed for $100 laptop
> Padraig

This doesn't sounds very GNOMEy to me. One place it might belong is HAL.

You could imagine:

video_adapter.acceleration = "3d" (string, optional)
video_adapter.persistent = TRUE (bool, optional)
video_adapter.networked_display = TRUE (bool, optional)

and this could be done either automatically using a prober (code that
executes once for hal) or using an fdi file (where you can match against
machine make and model).

In fact, the more I think of this, the more I think this belongs
squarely in the territory of HAL. I've CC'd the hal list for reference,
I hope you don't mind.

Does this sound suitable?

Richard.




More information about the hal mailing list