Not sure if this is the right place to ask so please ignore if its not. 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 :)
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). Cheers, Tobias On Mon, Dec 7, 2009 at 5:09 PM, Victor Lowther <[email protected]>wrote: > On Dec 7, 2009, at 10:00 AM, Frederic Crozat <[email protected]> > wrote: > > > Le 06/12/2009 05:24, Victor Lowther a écrit : > >> PM-utils 1.3.0-rc1 is not available for testing. Notable changes > >> from > >> the pm-utils 1.2 series: > >> > >> * We now have a suspend-hybrid method that does not rely on > >> tuxonice or > >> userspace suspend/resume. It initially suspends the box, and sets an > >> alarm to wake up in 15 minutes. If the system is not resumed > >> before the > >> alarm goes off, it will wake up and hibernate. You should be sure > >> hibernate works before using this mode -- if the system fails to > >> hibernate, it will not go back to sleep on its own (working around > >> this > >> involves better reporting from the kernel about the last sleep > >> state -- > >> I have a patch forthcoming for that), and if you cannot resume from > >> hibernate you may as well have not even tried to hibernate in the > >> first > >> place. > > > > One thing to keep in mind (it might be more needed for g-p-m and KDE > > equivalent) : users might think they laptop are really > > "off" (harddisk not running) and moving it in a backpack or whatever > > and the "hibernate part" could be started while laptop is not a > > "physicaly" stable position. Maybe g-p-m / kpowersave should warn > > users the first time they enable "hybrid" suspend (with explanation > > on the timeout).. > > It is not an issue for g-p-m right now because it does not expose > hybrid suspend at all. I do not know if kpowersave does - I have not > used kde since the mid 1990's. > > > > > -- > > Frederic Crozat > > Mandriva > _______________________________________________ > devkit-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/devkit-devel >
_______________________________________________ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/devkit-devel
