<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/16/2014 08:35 AM, R Kannan wrote:<br>
</div>
<blockquote cite="mid:5468A81D.1000907@gmail.com" type="cite">
<blockquote type="cite"><br>
</blockquote>
<pre wrap="">Hi
Thanks for your help. I have a fairly complicated 'SetWakeupTime' and
'CheckState' scripts as described in my earlier post..
<a class="moz-txt-link-freetext" href="http://lists.mythtv.org/pipermail/mythtv-users/2014-April/362416.html">http://lists.mythtv.org/pipermail/mythtv-users/2014-April/362416.html</a>
which I have been using for over 7 months. I have the right permissions
in the sudoers file. Also, since April, I have made changes to the
script so that the wakeup times are persistent between reboots by moving
some of the files out of /tmp. These scripts have been working well for
me and this is the only time they have failed in the last 50 or so
recording attempts.
Since posting this, I have looked around /var/log and every indication
is that the system never 'woke up' at the time. If this is a bug in my
script that has caused this, I sure would like to know and fix it.
Thanks
</pre>
</blockquote>
I think I found the problem. The hardware clock from 'cat
/proc/driver/rtc' still shows that it has not been updated for the
switchover to standard time. Maybe I did not have to use my system
wake up because I was already logged in (and the system was up) at
the scheduled wake up time.<br>
<br>
Note that CPI requires me to disable hardware clock updates. From <br>
<br>
<a class="moz-txt-link-freetext"
href="https://www.mythtv.org/wiki/ACPI_Wakeup#Check_your_hardware">https://www.mythtv.org/wiki/ACPI_Wakeup#Check_your_hardware</a><br>
<br>
<br>
<font size="-1"><i>Disable hwclock updates</i><i><br>
</i><i><br>
</i><i>The reason for this recommendation is that most Linux
distributions write the current system time back to the RTC when
shutting down the machine. With most RTCs, the machine will not
wake up if the hardware clock has been modified after the wakeup
alarm has been set. To avoid this, it is necessary to disable
the writing of the current system time to the RTC by the system
shutdown scripts. This is distribution specific.</i><br>
</font><br>
So all I need to do is to update the software clock to reflect the
changeover to EST.<br>
</body>
</html>