<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>FWIW mythshutdown stopped working for me when I upgraded to
kernel 4.15 ubuntu 18.04 from 16.04. The machine would shutdown
but fail to reboot.</p>
<p>I had to replace <br>
</p>
<pre>echo 0 > /sys/class/rtc/rtc0/wakealarm #this clears your alarm.
echo $1 > /sys/class/rtc/rtc0/wakealarm #this writes your alarm
with
sudo rtcwake -v -m no -t $1
in setwakeup.sh
ref <a moz-do-not-send="true" href="https://www.mythtv.org/wiki/ACPI_Wakeup">https://www.mythtv.org/wiki/ACPI_Wakeup</a>
</pre>
Alyhough the BIOS clock is definitely UTC I was previously adding
the UTC offset, this is no longer necessary with mythshutdown
providing the correct no of seconds until the next recording.<br>
<br>
N.B. rtcwake has to be added to the sudoers list.<br>
<br>
<div class="moz-cite-prefix">On 24/05/18 10:07, Jeff wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9456f997-0ce6-54c6-c215-b4869ec045cc@posteo.net">
<pre wrap="">Hallo all,
I have the feeling that mythshutdown is reversing the timezone offset
when writing the wake-up time. e.g.:
$ mythshutdown --setscheduledwakeup
Setting scheduled wakeup time: Attempting to connect to master server...
Wakeup time given is: 24.05., 11:20 (local time)
$ cat /proc/driver/rtc
rtc_time : 08:50:16
rtc_date : 2018-05-24
alrm_time : 13:20:00
alrm_date : 2018-05-24
[ ... ]
At the moment, I am in UTC+2. The above rtc time is correctly UTC, but
the alrm_time seems to be UTC+4.
Where is my mistake?
Regards
Jeff
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a class="moz-txt-link-freetext" href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a class="moz-txt-link-freetext" href="https://forum.mythtv.org">https://forum.mythtv.org</a>
</pre>
</blockquote>
<br>
</body>
</html>