On Jun 23, 2010, at 4:39 AM, Vincent Untz <vu...@gnome.org> wrote:

Le mardi 22 juin 2010, à 19:32 -0500, Victor Lowther a écrit :
On Tue, 2010-06-22 at 18:33 -0500, Victor Lowther wrote:
On Tue, 2010-06-22 at 12:54 +0200, Vincent Untz wrote:
Hi,

(I'm not subscribed, please cc me if you need input from me :-))

There's a nice deadlock when pm-suspend is called by upowerd:

[...]

The results of this is that the calling process is blocked for some time
(a dbus timeout), which can result in ugly ghost windows. See
https://bugzilla.novell.com/show_bug.cgi?id=615646 for example.

Richard is thinking that the pm-powersave part might be better handled
by upowerd itself instead of a hook for pm-suspend...

pm-utils is supposed to be lower level than upowerd. Since we no longer rely on hal, we should just teach on_ac_power how to get what we need
straight from sysfs.

It looks pretty strightforward, I will have a patch shortly.

OK, there is a rewritten on_ac_power in pm-utils git master. Check it
out and see if it works for you.

Works great, thanks!

Ok, I will push this out for the next 1.4 and 1.3 pm-utils release.


Vincent

--
Les gens heureux ne sont pas pressés.
_______________________________________________
Pm-utils mailing list
pm-ut...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils
_______________________________________________
devkit-devel mailing list
devkit-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to