Hi,

I tried to get powersave 0.15.19 (for which unfortunately no official
tarball exists, had to extract it from the SUSE srpm) running for Debian.
The current solution with kpowersave 0.7 and powersave 0.14.x is
suboptimal, as they both don't really work nicely together.

The versions I used are
liblazy 0.2
powersave 0.15.9
hal 0.5.10 (built with CK/PK support)
PolicyKit 0.7
ConsoleKit 0.2.3

This combination doesn't seem to work, at least running powersave -u
yields
User is not allowed for hal-power-suspend according to PolicyKit.
Although I can Suspend/Hibernate from within kpowersave without problems.

It looks like user_binary/powersave.cpp still uses old-style calls to
PK, e.g. liblazy_hal_is_caller_privileged("hal-power-hibernate")

So, what's your plan with regard to powersave? Will it be adapted for PK
0.7? And why does user_binary/powersave.cpp contact PK at all for
Suspend/Hibernate? I mean, HAL does this checks already.
Wouldn't it make more sense, to simply call the HAL method, and if you
get a PermissionDeniedByPolicy error, talks to PK, let the user
authenticate and acquire the Suspend/Hibernate permission and try again.

At least that's how I understood it should work [1].
Is powersave still actively developed?

Cheers,
Michael

[1] http://hal.freedesktop.org/docs/PolicyKit/model-theory-of-operation.html
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to