Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Tobias Arrskog
On Tue, Dec 8, 2009 at 8:04 PM, Dario Freddi wrote: > On Tuesday 08 December 2009 16:36:04 Tobias Arrskog wrote: > > Sure I agree, I just made it quick (more as a proof of concept for a > patch > > I was working on). > > So I assume you'll be/are working this already (just to avoid duplicating >

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Victor Lowther
On Dec 8, 2009, at 9:43 AM, Tobias Arrskog wrote: To bring more to the discsussion regarding uses of events at both wakeup and suspends. On suspend apps can close sockets and signal disconnects properly to servers (even if the server in itself probably should handle a wrong disconnect

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Dario Freddi
On Tuesday 08 December 2009 16:36:04 Tobias Arrskog wrote: > Sure I agree, I just made it quick (more as a proof of concept for a patch > I was working on). So I assume you'll be/are working this already (just to avoid duplicating efforts) > > But glad to see that there is more than me that ne

Re: DeviceKit-disks renamed to udisks

2009-12-08 Thread David Zeuthen
On Tue, 2009-12-08 at 09:34 +, Richard Hughes wrote: > 2009/12/8 Jedy Wang : > > 1) When will the renaming happen, in one week, one month, before > > gnome-2-30's release or after? > > I'm not sure. I'm tempted to push the upower code into a new git repo, > for clarity. FWIW, I'm planning to

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Dan Nicholson
On Tue, Dec 8, 2009 at 7:26 AM, Richard Hughes wrote: > 2009/12/8 Dario Freddi : >> The Awakening signal instead would be more useful and less dangerous. Let's >> say that, in the end, the best solution for everyone could possibly be just >> adding the Awakening signal. > > Fine for me. If somebod

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Tobias Arrskog
To bring more to the discsussion regarding uses of events at both wakeup and suspends. On suspend apps can close sockets and signal disconnects properly to servers (even if the server in itself probably should handle a wrong disconnect it's nice to support it nicely). On resume sockets could get

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Tobias Arrskog
Sure I agree, I just made it quick (more as a proof of concept for a patch I was working on). But glad to see that there is more than me that needs it atleast :D On Tue, Dec 8, 2009 at 4:34 PM, Richard Hughes wrote: > 2009/12/8 Tobias Arrskog : > > I posted a patch a few weeks ago, It might hav

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Richard Hughes
2009/12/8 Tobias Arrskog : > I posted a patch a few weeks ago, It might have been overlocked or just > uggly :) > Basically it did a dbus-event from pm-utils. > http://lists.freedesktop.org/archives/devkit-devel/2009-November/000527.html No, you need to define the signal in the DeviceKit-power int

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Tobias Arrskog
I posted a patch a few weeks ago, It might have been overlocked or just uggly :) Basically it did a dbus-event from pm-utils. http://lists.freedesktop.org/archives/devkit-devel/2009-November/000527.html On Tue, Dec 8, 2009 at 4:26 PM, Richard Hughes wrote: > 2009/12/8 Dario Freddi : > > The Aw

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Richard Hughes
2009/12/8 Dario Freddi : > The Awakening signal instead would be more useful and less dangerous. Let's > say that, in the end, the best solution for everyone could possibly be just > adding the Awakening signal. Fine for me. If somebody has a few minutes, I would love a patch to upower that adds a

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Dario Freddi
On Tuesday 08 December 2009 15:51:02 Richard Hughes wrote: > 2009/12/8 Dario Freddi : > > But I think a better idea would be having the signal being streamed from > > upower (since if the aim is providing an unique and future-proof system), > > triggered from an hook in pm-utils. I think such a sol

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Richard Hughes
2009/12/8 Dario Freddi : > But I think a better idea would be having the signal being streamed from > upower (since if the aim is providing an unique and future-proof system), > triggered from an hook in pm-utils. I think such a solution would be the best > of both worlds. You have to be careful w

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Dario Freddi
On Tuesday 08 December 2009 15:32:52 you wrote: > On Tue, 2009-12-08 at 15:12 +0100, Dario Freddi wrote: > > On Tuesday 08 December 2009 14:55:42 Anders Lund wrote: > > > Hi, > > > > > > I would like to request a DBus signal notifying interrested parties > > > about system suspend/hibernate/resume

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Victor Lowther
On Tue, 2009-12-08 at 15:12 +0100, Dario Freddi wrote: > On Tuesday 08 December 2009 14:55:42 Anders Lund wrote: > > Hi, > > > > I would like to request a DBus signal notifying interrested parties about > > system suspend/hibernate/resume events. > > I second his request (I'm the maintainer of th

Re: signalling suspend/resume events (deviceKit-power)

2009-12-08 Thread Dario Freddi
On Tuesday 08 December 2009 14:55:42 Anders Lund wrote: > Hi, > > I would like to request a DBus signal notifying interrested parties about > system suspend/hibernate/resume events. I second his request (I'm the maintainer of the power management KDE daemon). Just clarifying, we're interested in

Re: DeviceKit-disks renamed to udisks

2009-12-08 Thread Richard Hughes
2009/12/8 Jedy Wang : > 1) When will the renaming happen, in one week, one month, before > gnome-2-30's release or after? I'm not sure. I'm tempted to push the upower code into a new git repo, for clarity. > 2) What level of ABI stability will upower/udisks provide? For me personally, I think th