[mythtv-users] Mythwelcome and ACPI wake up
Brion Swanson
brions at usalug.net
Thu Dec 20 12:40:43 UTC 2007
On Thu, 2007-12-20 at 13:12 +0100, fb517255 at skynet.be wrote:
> Gents,
>
> Thank you all for the great support. As it working I will try to
> document everything to help other users.
>
> so first; these are the settings recommended by mythtv (see
> http://www.mythtv.org/wiki/index.php/Mythwelcome)
>
> 1. Set wakeuptime command: mythshutdown --setwakeup $time
> 2. Server halt command: mythshutdown --shutdown
>
> Now let's see what those commands are doing;
>
> Command 1: checks if a wake-up time should be set, if yes it will write
> to the mythdb the required wake-up fields and after that it will
> executes the command mentioned under nvram-wakeup command with the
> required time parameter in Unix time stamp.If you don't set those time
> values in the DB, mythwelcome will never be able to know that it was a
> scheduled wake-up.
>
> In clear, mythshutdown --setwakeup $time executes nvram-wakeup command +
> UnixTimeStamp.
>
> Command 2: will check in mythwelcome if you have set a daily wakeup and
> if yes it will check if it has to set this as wakeup time (depending on
> recordings etc). If it has to set the wakeup time it will use again the
> nvram wakeup command with the unixtimestamp. After timestamps are set it
> will execute the command: Command to Shutdown.
>
> In clear, mythshutdown --shutdown executes nvram-wakeup command
> UnixTimeStamp + Command to shutdown.
>
> If I explained everything correctly you should have found that the key
> to make everything work is the script you put in nvram-wakeup command.
>
> You can use the MythWakeSet script mentioned in the wiki for that.
> I hope this is clear, if not don't hesitate to let me know.
>
>
> PS: A good tip is to execute both command with the verbose switch. You
> will set everything the command is trying to do.
>
> regards,
>
> Matthews
Your subjects states you're using Mythwelcome with ACPI (as opposed to
nvram-wakeup), but I don't see that anywhere in your instructions here.
Are you saying you're planning on documenting your experience more fully
somewhere else or is this email your documentation of your process?
I'm trying to get the same thing working, but Myth won't shut down even
when it reports that it's been idle for the requisite time (and no
recordings are scheduled and no frontends are running).
Thanks,
Brion
More information about the mythtv-users
mailing list