[Sugar-devel] [PATCH] Make initial DCON unfreeze conditional on the presence of a DCON.

Paul Fox pgf at laptop.org
Sun Jun 27 17:58:12 EDT 2010


daniel wrote:
 > On 27 June 2010 11:21, Sascha Silbe <sascha-ml-ui-sugar-devel at silbe.org> wrote:
 > > Does anyone use (or is going to use) OHM with Sugar > 0.88? If not, we should
 > > just throw out this code - powerd doesn't provide the OHM API.
 > 
 > powerd could implement it trivially, and should. (with a simple binary
 > using dbus activation)

i agree.  i'd welcome a powerd patch for this -- i think it would
take the form of a helper executable that listened for dbus
control messages, and informed powerd via its usual event mechanism.

 > 
 > The lack of this functionality causes the XO-1 bootup sequence to be
 > uncomfortably interrupted with a black screen when powerd unfreezes
 > too early. We should fix this and I think the above approach is the
 > best way.

in the short term the timer that powerd currently uses could be
adjusted, but clearly that's not a real solution.

 > 
 > > Any future support for unfreezing the DCON should try to align to the
 > > Gnome way - IIRC they discussed sending a DBus signal once the desktop is
 > > up&running (to which powerd could be listening); maybe they have specified
 > > or even implemented that by now.
 > 
 > This sounds like exactly what we have already.

except that the the current calls are pretty ohm-specific, aren't they?
(i haven't looked at them in a while.)

paul
=---------------------
 paul fox, pgf at laptop.org


More information about the Sugar-devel mailing list