[mythtv-users] Best way to suspend mythfrontend

Ma Begaj derliebegott at gmail.com
Thu Feb 12 09:49:49 UTC 2009


2009/2/11 Gregg <3gemail at gmail.com>:
> I have been reading about suspending mythfrontend and resuming using
> ir.   I am running a mythdora 10 frontend on an intel q45 chipset with
> a mce usb ir receiver.  When I go to modify the exit option it does
> not show suspend.  That being said should I modify the shutdown
> command to use suspend-to-ram, suspend to disk? And what is the best
> way to do it?  I have added USB to /proc/acpi/wakeup, but am not sure
> how to proceed.
>
> Thanks.
>

replace shutdown command with your command, i.e. path to your suspend script.
or you can use a button from your remote to run suspend with irexec.

your script should just run this:
#!/bin/sh
# rmmod module1 module2 ....
echo mem >/sys/power/state


if it does not work, check the logs and remove the modules (which are
causing problems) before the command from above.

If you have more hardware in your myth system, there are probably more
problems. I have 3 tv-tuners and they just stop working after waking
up from suspend.


More information about the mythtv-users mailing list