[Kde-hardware-devel] Suspend (to Disk / to RAM) signal in Solid?

Christian Esken esken at kde.org
Sat Nov 10 12:13:28 CET 2007


Am Mittwoch, 7. November 2007 schrieb Sebastian Kügler:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wednesday 07 November 2007 08:47:26 Kevin Ottens wrote:
> > Le mercredi 7 novembre 2007, Christian Esken a écrit :
> > > I would like to know whether Solid provides a signal, when a
> > > Suspend-to-Disk or Suspend-To-RAM action is starting. I looked at the
> > > Solid PowerManagement, and found requestSleep(), and the
> > > supportedSleepStates(). But I would like to know when the action starts.
> >
> > It's not implemented yet, but that's something I'd like to see available in
> > 4.1. One of the reasons for not doing it now, is that it's not reliable
> > yet, with the current infrastructure you're notified too late anyway.
> >
> > So, short answer: not yet.

Thanks for the information. I'll make my release-devices call available through DBUS then, so that peopöe can use it in suspend scripts.

> 
> While we're at wishlists, a notification that the machine just resumed would
> also be handy, so we can -- for example -- rescan the wireless network, or
> look for other changes in the environment (hardware, network, ...) that might
> have changed. Not critical for 4.0, but at some point, this will come in
> handy.

Full ACK from here. For example, when I close the devices on suspend, I want to open them again at resume.

  Christian


More information about the Kde-hardware-devel mailing list