Hi Louis, I reply to the list, it may interest other people

Over this week end, I was finally able to find the solution.

First, I setup the freevo shutdown command to /etc/acpi/sleep.sh
script (on ubuntu but should be similar for other distro).

Now if you shutdown freevo (killing freevo) and it will suspend
the computer. Unfortunately at wake up, the LCDproc and the lirc
processus will be not working and also freevo doesn't magically
restart.

So what you can do is add in the two directory /etc/acpi/resume.d
and /etc/acpi/suspend.d scripts to handle that.

I tried several combinations, the best working one was to have in
the resume.d one (scripts executed at resume) a script doing this:
/etc/init.d/lcdproc start
/etc/init.d/lirc start
/etc/init.d/gdm restart

And in the suspend.d one :
/etc/init.d/lcdproc stop
/etc/init.d/lirc stop

I've tried this setup over the past days, and it's working good, remote
and lcd work at wakeup, the network share on nfs or samba are still
alive, that's great :) And more user friendly, because when I start the
computer, the only thing I see is the freevo splash screen/progress bar
instead of the boot process before :)

The only thing I was trying to do and I didn't find how, is to disable
the stand by blinking led.

Hope it helps :)




Louis Croisez wrote:
> Could you explain me how to perform suspend-to-ram on my htpc (not in
> freevo)?
> What is to be configured? what is the command?
> LOUIS
>
> 2007/6/10, kikoune < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
>
>     hi
>
>     I'm trying to setup suspend to ram with freevo.
>     the suspend works on the htpc and now I need to
>     integrate with freevo.
>
>     I first set the freevo SHUTDOWN_SYS_CMD
>     to the suspend script. in that case the problem is
>     freevo shutting down itself also. so when I wake
>     up the computer the freevo is not running.
>
>     second try, I setup a command fxd to the suspend
>     script. it adds a suspend entry in my menu. it works
>     well except I have 2 menu entries shutdown and
>     suspend. I'd like to replace the shutdown menu with
>     the suspend one but keeping the shutdown confirmation.
>
>     do someone here already try that ?
>
>     I was thinking maybe to develop a new suspend plugin
>     with the same structure as the shutdown one and replacing
>     the shutdown procedure by a simple suspend one.
>
>     any ideas ?
>
>     thanks !
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to