Not sure if this is the right place to ask so please ignore if its not.<br><br>Are there any plans for supporting any standardised messages on resume from suspend / hibernate. I have provided a pm-util script that will send a DeviceKit.Power event on resume but it haven't recieved any love at all :)<br>
<br>It would be very much needed for XBMC as we want resume to act almost like a complete start (i.e scan folders for changes and such on resume).<br><br>Cheers,<br>Tobias<br><br><div class="gmail_quote">On Mon, Dec 7, 2009 at 5:09 PM, Victor Lowther <span dir="ltr"><<a href="mailto:victor.lowther@gmail.com">victor.lowther@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Dec 7, 2009, at 10:00 AM, Frederic Crozat <<a href="mailto:fcrozat@mandriva.com">fcrozat@mandriva.com</a>><br>
wrote:<br>
<br>
> Le 06/12/2009 05:24, Victor Lowther a écrit :<br>
<div class="im">>> PM-utils 1.3.0-rc1 is not available for testing. Notable changes<br>
>> from<br>
>> the pm-utils 1.2 series:<br>
>><br>
>> * We now have a suspend-hybrid method that does not rely on<br>
>> tuxonice or<br>
>> userspace suspend/resume. It initially suspends the box, and sets an<br>
>> alarm to wake up in 15 minutes. If the system is not resumed<br>
>> before the<br>
>> alarm goes off, it will wake up and hibernate. You should be sure<br>
>> hibernate works before using this mode -- if the system fails to<br>
>> hibernate, it will not go back to sleep on its own (working around<br>
>> this<br>
>> involves better reporting from the kernel about the last sleep<br>
>> state --<br>
>> I have a patch forthcoming for that), and if you cannot resume from<br>
>> hibernate you may as well have not even tried to hibernate in the<br>
>> first<br>
>> place.<br>
><br>
</div>> One thing to keep in mind (it might be more needed for g-p-m and KDE<br>
> equivalent) : users might think they laptop are really<br>
> "off" (harddisk not running) and moving it in a backpack or whatever<br>
> and the "hibernate part" could be started while laptop is not a<br>
> "physicaly" stable position. Maybe g-p-m / kpowersave should warn<br>
> users the first time they enable "hybrid" suspend (with explanation<br>
> on the timeout)..<br>
<br>
It is not an issue for g-p-m right now because it does not expose<br>
hybrid suspend at all. I do not know if kpowersave does - I have not<br>
used kde since the mid 1990's.<br>
<br>
><br>
> --<br>
> Frederic Crozat<br>
> Mandriva<br>
<div><div></div><div class="h5">_______________________________________________<br>
devkit-devel mailing list<br>
<a href="mailto:devkit-devel@lists.freedesktop.org">devkit-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/devkit-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/devkit-devel</a><br>
</div></div></blockquote></div><br>