Hi I&#39;m one of the developers off XBMC and we have found that we have a need to get OnSuspend, OnResume events. For us it&#39;s mainly to trigger rescans of files and reset sockets to LIRC but if we need it, other apps might too.<br>
So I made a pm-util script which will expand the signal in DeviceKit.Power to contain OnResume, OnHibernate, OnSuspend.<br><br>I&#39;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?<br>
<br>P.S I&#39;m not sure on the numbering before the script so I have omitted them for now.<br><br>/Tobias Arrskog a.k.a topfs2<br>