Try setting your backend to call &quot;sudo sh -c &#39;echo $time &gt; /proc/acpi/alarm&#39;&quot; directly.<br><br>ISTR having trouble with this.<br><br>The important step is to have the backend call &#39;mythshutdown --shutdown&#39; to do the actual shutdown, as this is the command that writes the expected wakeup time to the database, without this step mythwelcome will always start the frontend, which negates the usefullness of the wakeup/shutdown functionality.<br>
<br>It also might be worth adding the seconds to the time format in backend? I&#39;ve just checked mine and it appears I am calling mythshutdown to set the wakeup time.<br><br>2008-06-02 11:39:32.703 Running the command to set the next scheduled wakeup time :-<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/mythtv/bin/mythshutdown --setwakeup &quot;2008-06-02 14:48:00&quot;<br><br>What happens if you call mythshutdown --setwakeup direct, does catting the /proc/acpi thingy work then? What about if you add seconds?<br>
<br><div class="gmail_quote">2008/6/1 Kevin Plew &lt;<a href="mailto:kevin@plewnet.com">kevin@plewnet.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Folks,<br>
<br>
I&#39;m having a problem getting my system to wakeup to do a recording after<br>
it shuts down automatically.<br>
<br>
My Backend log shows:<br>
2008-06-01 17:27:44.486 CheckShutdownServer returned - OK to shutdown<br>
2008-06-01 17:27:44.495 Running the command to set the next scheduled<br>
wakeup time :-<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mythshutdown -w<br>
&quot;2008-06-01 17:56&quot;<br>
2008-06-01 17:27:44.577 Running the command to shutdown this computer :-<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mythshutdown --shutdown<br>
<br>
but checking /proc/acpi/alarm shows:<br>
<br>
[mythtv@kojiki ~]$ sudo cat /proc/acpi/alarm<br>
2008-06-00 17:56:00<br>
<br>
<br>
The system never wakes up- I assuming due to the date being 2008-06-00<br>
<br>
My setup is as follows:<br>
FC8 Kernel 2.6.24.7-92.fc8<br>
Myth .21-187<br>
Asus P5B Deluxe MB<br>
BIOS setting wakeup by RTC- Disabled<br>
<br>
<br>
Myth-setup settings:<br>
wakeup time format: yyyy-MM-dd hh:mm<br>
Command to set Wakeup time: mythshutdown -w &quot;$time&quot;<br>
Server halt command: mythshutdown --shutdown<br>
Pre Shutdown check: mythshutdown --check<br>
<br>
<br>
<br>
<br>
Mythwelcome settings:<br>
Command to set wakeup time: sudo sh -c &#39;echo $time &gt; /proc/acpi/alarm&#39;<br>
Wakeup time format: yyyy-MM-dd hh:mm:ss<br>
nvram-wake restart command: Blank<br>
<br>
Thanks for any help.<br>
<br>
<br>
<br>
Kevin Plew<br>
Dad &amp; Webmaster<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br>