You may want to check out the mythwelcome page at <a href="http://www.mythtv.org/wiki/index.php/Mythwelcome" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.mythtv.org/wiki/index.php/Mythwelcome
</a><br>&nbsp;I was recently able to use it to get mythwelcome working for wakeup and shutdown. Generally when using mythwelcome you should set your backend settings to use the mythshutdown program:<br><pre>client connected:           should be checked
<br><br><br>     Idletimeout (secs):         any value greater that 0<br>     Wakeup time format:         yyyy-MM-ddThh:mm<br>     Set wakeup time command:    mythshutdown --setwakeup $time<br>     Server Halt command:        mythshutdown --shutdown
<br><br><br>     Pre shutdown check command: mythshutdown --check <br></pre>I also found that adding a &quot;-v all&quot; to the end of each of the mythshutdown parameters helped greatly for debugging when things were not working (looking in the backend log). Just one little warning, when mythshutdown calls your shutdown script it will pass the shutdown time as the second parameter, not the first (at least if you are using 20, with trunk it is more configurable i believe).
<br><br><div><span class="gmail_quote">On 2/1/07, <b class="gmail_sendername">
Tim Weber</b> &lt;<a href="mailto:tmweber@mtu.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tmweber@mtu.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


I&#39;m trying to get the Shutdown/Wakeup working using the Alternative Method listed at the end of 
<a href="http://www.mythtv.org/wiki/index.php/Shutdown_Wakeup" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://www.mythtv.org/wiki/index.php/Shutdown_Wakeup</a><br>
The basic idea is instead of changing the Alarm Resume setting in BIOS,
keep that set at a constant time and change the system time in the BIOS
right before shutting down.&nbsp; It is then changed back before
starting Mythbackend when the system resumes.
<br><br>I have the setup working outside of MythTV.&nbsp; When I run
settime &quot;YYYY-MM-DD HH:MM:SS&quot; and shutdown it starts as I set it with
the time reset correctly.&nbsp; The problem I have is getting MythTV to
work with these scripts.&nbsp; I want to use Mythwelcome so when I exit
frontend it will show up and shutdown my computer as the Backend allows
it. With my current settings, Mythwelcome shows when I exit frontend,
but when it is idle, it counts down to 10 and then does nothing.&nbsp;
My current settings are as follows:
<br><br>In mythtv-setup (Shutdown/Wakeup Settings):<br><br>Block shutdown before client connected: No<br>
Idle Timeout: 120 sec<br>
Max wait for recording: 15 min<br>
Startup before rec: 160 sec<br>
wakeup time format: time_t<br>
Set wakeuptime command: /usr/sbin/settime<br>
Server halt command: /sbin/halt -p<br>
Pre Shutdown check command : exit 0<br><br>In mythwelcome --setup:<br><br>nvram wakeup command : blank<br>
nvram-wakeup restart command<br>
command to reboot: /sbin/reboot<br>
command to shutdown: /sbin/poweroff<br>
command to run Xterm: xterm<br>
command to run to start frontend: /usr/bin/mythfrontend<br><br>System Specs<br>KnoppMyth R5D1<br>Intel Celeron 3.06GHz<br>MSI PM8M-V Motherboard<br>GeForce FX5200<br>512MB DDR400<br>1xPVR-250 Tuner Card<br><span style="font-family: monospace;">






</span>


<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mythtv-users@mythtv.org</a>


<br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br><br><br></blockquote></div><br>