Re: [fso] scripts on suspend/resume
Am Dienstag, den 28.07.2009, 21:35 +0200 schrieb arne anka: is there any infrastructure to run scripts upon suspend resp resume? the only way so far seems to be using apmd -- but that adds considerable delay to resume ... I have seen some tickets wrt. that in the FSO bugtracker. We'll work on that. :M: ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [fso] scripts on suspend/resume
This probably isn't exactly what you're looking for, but... I believe /etc/enlightenment/suspend.sh is the file ran to cause the suspend. You could modify that. I don't know if there's an equivalent for resume. That suspend script uses FSO. And it seems like FSO calls the Resume function of all the resources when the device comes out of suspend[1][2]. Perhaps you can use that? -Steven [1] http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Usage.html;hb=HEAD#Suspend [2] http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Resource.html;hb=HEAD#Resume On Tue, Jul 28, 2009 at 2:35 PM, arne ankaopenm...@ginguppin.de wrote: is there any infrastructure to run scripts upon suspend resp resume? the only way so far seems to be using apmd -- but that adds considerable delay to resume ... ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [fso] scripts on suspend/resume
is there any infrastructure to run scripts upon suspend resp resume? the only way so far seems to be using apmd -- but that adds considerable delay to resume ... I don't remember exactly where, but there are folders dedicated to contain scripts to execute while suspend/resume (just like init.d). Check out the files contained in omnewrorate packate (it installs some files there) --Vikas ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [fso] scripts on suspend/resume
This probably isn't exactly what you're looking for, but... I believe /etc/enlightenment/suspend.sh is the file ran to cause the suspend. You could modify that. I don't know if there's an equivalent for resume. no enlightment here, so no go. That suspend script uses FSO. And it seems like FSO calls the Resume function of all the resources when the device comes out of suspend[1][2]. Perhaps you can use that? looks like ousaged would somehow be responsible to handle those things. well, maybe one of the fso guys has an idea ... (i probably should write an enhancement request in the tracker) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [fso] scripts on suspend/resume
I don't remember exactly where, but there are folders dedicated to contain scripts to execute while suspend/resume (just like init.d). yes, below /etc/apm/ -- but that requires a running apm, which is quite an overhead for that simple task. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[fso] scripts on suspend/resume
is there any infrastructure to run scripts upon suspend resp resume? the only way so far seems to be using apmd -- but that adds considerable delay to resume ... ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community