[Pm-utils] pm-utils on suse 10.2 and suspend2

Stefan Seyfried seife at suse.de
Mon Jan 8 06:57:47 PST 2007

On Mon, Jan 08, 2007 at 03:04:14AM -0800, Alexy Khrabrov wrote:
> Thanks all for clarificatons!
> What it seems we need to have is kpowersave inherit from pm-utils, is
> it going to be the case?  It wouldn't make sense to maintain two sets
> of action schemes for both...  And kpowersave must handle button
> actions, too.  Where does kpowersave stand in terms of integration
> with pm-utils?

Read my previous mail again :-)

pm-utils does not handle any actions. The policy manager does.
pm-utils only "executes" the decisions made by the policy manager.

Right now, we have two policy-managers (i know of): gnome-power-manager
and kpowersave. Kpowersave right now is simply broken (or "feature 
incomplete") wrt. button and lid events. This is kind of embarassing,
but nothing that shows the need for a redesign, we just need to fix
the bug / implement the functions, and this will happen soon (and then
be available as an update for openSUSE 10.2).

The policy managers just talk to HAL via DBus. HAL then calls out to
pm-utils who do the actual suspending.
And if pm-utils is not available, HAL can use other methods, such as
the old powersaved method (this is what you get on oS 10.2 when you
have powersaved installed, but not pm-utils) or using hibernate from
suspend2.net (which is what you get if you have neither pm-utils nor
powersaved, but hibernate). But this again does not help the button issue,
since this is a bug in kpowersave.
It should work fine using gnome-power-manager.

Have fun :-)
Stefan Seyfried                  \ "I didn't want to write for pay. I
QA / R&D Team Mobile Devices      \ wanted to be paid for what I write."
SUSE LINUX Products GmbH, Nürnberg \                    -- Leonard Cohen

More information about the Pm-utils mailing list