[PATCH] OnResume, OnHibernate and OnSuspend signals.

Tobias Arrskog topfs2 at xboxmediacenter.com
Fri Nov 6 01:17:09 PST 2009

Hi I'm one of the developers off XBMC and we have found that we have a need
to get OnSuspend, OnResume events. For us it's mainly to trigger rescans of
files and reset sockets to LIRC but if we need it, other apps might too.
So I made a pm-util script which will expand the signal in DeviceKit.Power
to contain OnResume, OnHibernate, OnSuspend.

I'm not sure if I should paste this here or over at pm-utils? both are
freedesktop so perhaps there is some interconnection? Perhaps
DeviceKit.Power have some better implementation ideas for this?

P.S I'm not sure on the numbering before the script so I have omitted them
for now.

/Tobias Arrskog a.k.a topfs2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/devkit-devel/attachments/20091106/0291be9d/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DeviceKitPower
Type: application/octet-stream
Size: 569 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/devkit-devel/attachments/20091106/0291be9d/attachment.obj 

More information about the devkit-devel mailing list