the proposed solution use
SHUTDOWN_SYS_CMD = "/etc/acpi/sleep.sh"
the drawback is, that freevo is still running at sleep, and can not be started
at resume... (right?)
I tried then to use as a bash script like
------------SHUTDOWN_SYS_CMD script ---------------------
#!/bin/bash
freevo stop
/etc/acpi/sleep.sh
freevo -fs
-----------------------------------------------------------------------------
the problem here is, that "freevo stop" also kills all children of it, thus
also the script it self....
-> Is it maybe possible to start the script as fork such that 'freevo stop' do
not kill it as well?
as another solution I tried is to hack the shutdown plugin with something like
---src/plugins/shutdown.py, from line 61 (freevo 1.7.5)----
if config.SUSPEND_SYS_ENABLE:
os.system(config.SHUTDOWN_SYS_CMD)
return
----------------------------------------------------------------------------------------
works fine for freevo... the only problem is lirc_imon which do not work after
resume. (on the other hand, lirc_serial and lcdproc works fine)
if I want have lirc_imon running too, I have to restart lirc and LCDd...
but then can freevo no longer use lirc and LCDd... right?
-> Is it maybe possible to reinitialise lirc and LCDd from inside of freevo?
(after running sleep.sh)
thanks for any help
Andreas
Am Donnerstag, 3. Januar 2008 16:53 schrieb Michael Brown:
> Andreas Dick <andudi <at> gmx.ch> writes:
> > > > is there not a better way? which do not really shutdown freevo?
>
> Andreas,
>
> Try this post:
>
> http://article.gmane.org/gmane.comp.video.freevo.user/14423/
>
> Hope that helps!
>
> /Mike
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Freevo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users