<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Daryl,<br>
<br>
some links only if you are interested in using mythwelcome in
ubuntu.<br>
<br>
<a class="moz-txt-link-freetext" href="https://help.ubuntu.com/community/MythTV/Install/WhatNext/ACPIWake">https://help.ubuntu.com/community/MythTV/Install/WhatNext/ACPIWake</a><br>
<a class="moz-txt-link-freetext" href="http://www.mythtv.org/wiki/Mythwelcome">http://www.mythtv.org/wiki/Mythwelcome</a><br>
<br>
Quickstart: You can activate it in /etc/mythtv/session-settings<br>
<br>
There are comments in the file which explain that.<br>
<br>
Have fun<br>
<br>
Greetings<br>
<br>
Stefan<br>
<br>
Am 03.09.2013 22:38, schrieb Daryl McDonald:<br>
</div>
<blockquote
cite="mid:CAMwtTBDCmzZ44QL0JD_8bQD=13-OV7QkH8d1RV8frtG3r2CDqA@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Sep 2, 2013 at 8:29 PM, Daryl
McDonald <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:darylangela@gmail.com" target="_blank">darylangela@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
<div>
<div class="h5">On Mon, Sep 2, 2013 at 7:41 PM,
Roger Siddons <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:dizygotheca@ntlworld.com"
target="_blank">dizygotheca@ntlworld.com</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="h5">
<div>
<div>On Mon, 02 Sep 2013 00:23:19 +0100,
Daryl McDonald <<a
moz-do-not-send="true"
href="mailto:darylangela@gmail.com"
target="_blank">darylangela@gmail.com</a>>
wrote:<br>
<br>
<blockquote style="margin:0 0
0.80ex;border-left:#0000ff 2px
solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Well I mirrored your settings
and scripts and scheduled a
recording for 7p.m. gave the
system two minutes to shutdown
the backend and set the alarm
then powered off, and waited
until 7:05p.m. and it did not
come on. Does the last line of
the following output indicate
UTC time?:</div>
<div> daryl@daryl-A780L3C:~$ sudo
grep -i rtc /var/log/dmesg</div>
<div>[sudo] password for daryl: </div>
<div>[ 0.199663] RTC time:
19:04:25, date: 09/01/13</div>
<div>[ 1.222545] rtc_cmos
00:03: RTC can wake from S4</div>
<div>[ 1.222673] rtc_cmos
00:03: rtc core: registered
rtc_cmos as rtc0</div>
<div>[ 1.222692] rtc0: alarms
up to one month, y3k, 114 bytes
nvram</div>
<div>[ 1.229942] rtc_cmos
00:03: setting system clock to
2013-09-01 19:04:26 UTC
(1378062266)</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
</div>
<div>Yes. On startup the system reads the
RTC clock to get the current time/date. I
suspect it's interpreting the time as UTC
(rather than localtime) because your file
"/etc/default/rcS" contains "UTC=yes". You
should change that. Type "man
/etc/default/rcS" to read more about it.</div>
<div>
<div><br>
</div>
<blockquote style="margin:0 0
0.80ex;border-left:#0000ff 2px
solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
<div>This is what my disable
hwclock script looks like:</div>
<div>
<div>daryl@daryl-A780L3C:~$ cat
/etc/init/hwclock-save.conf</div>
<div># hwclock-save - save
system clock to hardware clock</div>
<div># hwclock-save - save
system clock to hardware clock</div>
<div>#</div>
<div># This task saves the time
from the system clock back to
the hardware</div>
<div># clock on shutdown.</div>
<div><br>
</div>
<div>description<span
style="white-space:pre-wrap">
</span>"save system clock to
hardware clock"</div>
<div><br>
</div>
<div>start on runlevel [06]</div>
<div><br>
</div>
<div>task</div>
<div><br>
</div>
<div>script</div>
<div> . /etc/default/rcS</div>
<div> [ "$UTC" = "yes" ]
&& tz="--utc" ||
tz="--localtime"</div>
<div> [ "$BADYEAR" = "yes" ]
&& badyear="--badyear"</div>
<div> ACPITIME=`cat
/proc/acpi/alarm`</div>
<div> exec hwclock
--rtc=/dev/rtc0 --systohc $tz
--noadjfile $badyear</div>
<div> echo "$ACPITIME" >
/proc/acpi/alarm</div>
<div>end script</div>
<div>daryl@daryl-A780L3C:~$ </div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
</div>
<div>That doesn't look right to me. Up until
last year the solution was to simply not
write the clock. In January someone
changed the wiki to re-write the alarm
after setting the clock but
/proc/acpi/alarm is only applicable to
(old) 2.6 kernels, so it won't have any
effect on recent kernels (like yours);
i.e. hwclock updates aren't being
disabled.<br>
</div>
<div>However, following Stefan comments, I
can confirm that Mythbuntu 12.04 doesn't
need its hwclock disabled so, for you,
changing this file is an unnecessary
distraction and I suggest you put it back
to default (delete the 2 lines containing
ACPITIME) & forget this step.</div>
<div><br>
</div>
</div>
<br>
</div>
</div>
<div class="im">_______________________________________________<br>
mythtv-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:mythtv-users@mythtv.org"
target="_blank">mythtv-users@mythtv.org</a><br>
<a moz-do-not-send="true"
href="http://www.mythtv.org/mailman/listinfo/mythtv-users"
target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a></div>
</blockquote>
<div><br>
</div>
<div>Thanks, I arrived at the same conclusion and
restored the default script already, and have a
successful first test :-) More tests tomorrow.</div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>Daryl</div>
</font></span></div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>OK lots of failed tests today, I've gone over
everything in the Wiki and this thread a couple times now,
and the only thing that sticks out is "mythwelcome" . I
don't have it, don't know how to get it, and am willing yo
try it, tried "sudo apt-get mythwelcome" to no avail...any
suggestions?</div>
<div><br>
</div>
<div>Daryl</div>
</div>
<br>
</div>
</div>
<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://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a>
</pre>
</blockquote>
<br>
</body>
</html>