An update regarding this problem: yesterday I&#39;ve encountered the same non-waking up problem again, in a random manner: I was expecting two wake-up moments, one in the morning and the other one in the afternoon. Well: for the first one scheduling the MythTv BE/FA woke up and recorded correctly, for the secondo one it didn&#39;t wake up at all.<div>
<br></div><div>So, while doing a further check, connecting and disconnecting via shh, I saw this:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>~$ ssh multisala </div></div><div>
<div>datLinux multisala 2.6.35-32-generic #65-Ubuntu SMP Tue Jan 24 13:48:14 UTC 2012 i686 GNU/Linux</div></div><div><div>Ubuntu 10.10</div></div><div><div>...</div></div><div><div>No mail.</div></div><div><div><b>Last login: Tue Feb 14 01:58:57 2012 from lapsung</b></div>
</div><div><div>date</div></div><div><div>~$ date</div></div><div><div><b>Tue Feb 14 01:02:16 CET 2012</b></div></div></blockquote><div><div><br></div><div>In brief: the second time I logged into the BE/FE ssh reported that the last login was in the future!</div>
<div>So I realized that, probably, the problem isn&#39;t related to the MythTv/MythWelcome configuration but in something related to the time settings itself of the system, instead.</div><div>I&#39;ve checked running processes and, yes, my backend was running &#39;ntpd&#39;.</div>
<div>So I stopped and disabled at boot the NTP daemon . Let&#39;s see if I can blame it.</div><div><br></div><div><br></div><br><div class="gmail_quote">2012/2/12 ganassa <span dir="ltr">&lt;<a href="mailto:ganassa@gmail.com">ganassa@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Sun, 12 Feb 2012 15:51:45 +0100<br>
From: ganassa &lt;<a href="mailto:ganassa@gmail.com" target="_blank">ganassa@gmail.com</a>&gt;<br>
Subject: [mythtv-users] MythTv BE/FE go to sleep but doesn&#39;t wake up<div class="im"><br><br>
Hi<br>
<br>
I have a problem in setting up ACPI WakeUp on my MythTv BE/FE on Ubuntu<br>
10.10<br></div></blockquote><div>[cut] </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>Date: Sun, 12 Feb 2012 10:10:15 -0500<br>
From: Marco Quezada &lt;<a href="mailto:mellamanjefe@gmail.com" target="_blank">mellamanjefe@gmail.com</a>&gt;<br>
Subject: Re: [mythtv-users] MythTv BE/FE go to sleep but doesn&#39;t wake<br>
        up<br>
To: Discussion about MythTV &lt;<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CA%2BqgVUYUB6804biLJmMma4f6bB-4SvFsLYj-XkduLwC7vix01w@mail.gmail.com" target="_blank">CA+qgVUYUB6804biLJmMma4f6bB-4SvFsLYj-XkduLwC7vix01w@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8<div><div class="h5"><br>
<br>
On Sun, Feb 12, 2012 at 9:51 AM, ganassa &lt;<a href="mailto:ganassa@gmail.com" target="_blank">ganassa@gmail.com</a>&gt; wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; I have a problem in setting up ACPI WakeUp on my MythTv BE/FE on Ubuntu<br>
&gt; 10.10<br>
&gt; It&#39;s a log time I&#39;m trying to setting it up correctly but I gave up several<br>
&gt; times.<br>
&gt; Now I&#39;ve discovered that I made a small but important error, by setting up<br>
&gt; in mythtv-setup the time format in:<br>
&gt;<br>
&gt; &#39;yyyy-MMddThh:mm:ss&#39;<br>
&gt;<br>
&gt; instead than<br>
&gt;<br>
&gt; &#39;yyyy-MM-ddThh:mm:ss&#39;<br>
&gt;<br>
&gt; So, previously the Mythwelcome screen shows countdown but, when it reached<br>
&gt; to 0, it restarted, because of the check of time format.<br>
&gt;<br>
&gt; Now, after correcting the error, MythWelcome shuts down. But it doesn&#39;t wake<br>
&gt; up.<br>
&gt; Because of the several different informations found on the web, I think I<br>
&gt; made a mess and now I really need an help to get the work done.<br>
&gt;<br>
&gt; First of all: I&#39;ve setted up my sistem following both:<br>
&gt;<br>
&gt; <a href="http://www.mythtv.org/wiki/ACPI_Wakeup" target="_blank">http://www.mythtv.org/wiki/ACPI_Wakeup</a><br>
&gt;<br>
&gt; and<br>
&gt;<br>
&gt; <a href="http://www.mythtv.org/wiki/Mythwelcome" target="_blank">http://www.mythtv.org/wiki/Mythwelcome</a><br>
&gt;<br>
&gt;<br>
&gt; ACPI WAKEUP SETTINGS<br>
&gt; Follwing:<br>
&gt;<br>
&gt; <a href="http://www.mythtv.org/wiki/ACPI_Wakeup" target="_blank">http://www.mythtv.org/wiki/ACPI_Wakeup</a>:<br>
&gt;<br>
&gt;<br>
&gt; My system can wake up from S4:<br>
&gt;<br>
&gt; $ grep -i rtc /var/log/kern.log<br></div></div>
&gt; Feb 12 14:12:56 multisala kernel: [ ? ?0.787284] rtc_cmos 00:03: RTC can<div class="im"><br>
&gt; wake from S4<br>
&gt;<br>
&gt;<br>
&gt; HWclock updates are disabledm both for the Ubuntu 8.04 version ad earlier<br>
&gt; (my Ubuntu came from 8.04 version) by setting up HWCLOCKACCES to &quot;no&quot; in the<br>
&gt; proper file<br>
&gt;<br>
&gt; $ cat /etc/default/rcS |grep HWCLOCKACCESS<br>
&gt; HWCLOCKACCESS=no<br>
&gt;<br>
&gt;<br></div>
&gt; and for the?Ubuntu 9.10 and later by commenting out &quot;exec&quot; line in the<div class="im"><br>
&gt; proper file<br>
&gt;<br>
&gt; $ cat /etc/init/hwclock-save.conf |grep exec<br></div>
&gt; # ? ?exec hwclock --rtc=/dev/rtc0 --systohc $tz --noadjfile $badyear<div class="im"><br>
&gt;<br>
&gt;<br>
&gt; kernel is newer than 2.6.22<br>
&gt;<br>
&gt; $ uname -a<br>
&gt; Linux multisala 2.6.35-32-generic #65-Ubuntu SMP Tue Jan 24 13:48:14 UTC<br>
&gt; 2012 i686 GNU/Linux<br>
&gt;<br>
&gt;<br></div>
&gt; so it use?/sys/class/rtc/rtc0/wakealarm<div class="im"><br>
&gt;<br>
&gt; $ ls /sys/class/rtc/rtc0/wakealarm<br>
&gt; /sys/class/rtc/rtc0/wakealarm<br>
&gt;<br>
&gt; consequentiely, wakealarm should accept time format in epoch time<br>
&gt;<br>
&gt; TESTING<br>
&gt; Now, it&#39;s time to test it by following<br>
&gt;<br>
&gt; <a href="http://www.mythtv.org/wiki/ACPI_Wakeup#Manually_test_wakealarm" target="_blank">http://www.mythtv.org/wiki/ACPI_Wakeup#Manually_test_wakealarm</a><br>
&gt;<br>
&gt;<br>
&gt; $ sudo sh -c &quot;echo 0 &gt; /sys/class/rtc/rtc0/wakealarm&quot;<br>
&gt; $ sudo sh -c &quot;echo `date &#39;+%s&#39; -d &#39;+ 5 minutes&#39;` &gt;<br>
&gt; /sys/class/rtc/rtc0/wakealarm&quot;<br>
&gt; $ cat /sys/class/rtc/rtc0/wakealarm<br>
&gt; $ cat /proc/driver/rtc<br></div>
&gt; rtc_time ? ? ? ?: 15:45:14<br>
&gt; rtc_date ? ? ? ?: 2012-02-12<br>
&gt; alrm_time ? ? ? : 15:50:06<br>
&gt; alrm_date ? ? ? : ****-**-12<div class="im"><br>
&gt;<br>
&gt; PROBLEM!<br>
&gt; date is<br>
&gt; ****-**-12<br>
&gt;<br>
&gt; I&#39;ve read somewhere that **** somewhere in date means: wakeup time was set<br>
&gt; up in the past, and it won&#39;t wake up. In fact, it doesn&#39;t wake up at all.<br>
&gt;<br>
&gt; SECOND TEST<br>
&gt; still according to<br></div>
&gt; <a href="http://www.mythtv.org/wiki/ACPI_Wakeup#Manually_test_wakealarm?(Example" target="_blank">http://www.mythtv.org/wiki/ACPI_Wakeup#Manually_test_wakealarm?(Example</a> to<div class="im"><br>
&gt; convert to epoch time and set date/time)<br>
&gt; I&#39;ve tried to make a further test by:<br>
&gt;<br>
&gt; $ echo 0 &gt; /sys/class/rtc/rtc0/wakealarm<br>
&gt; -bash: /sys/class/rtc/rtc0/wakealarm: Permission denied<br>
&gt;<br>
&gt;<br>
&gt; It looks like I don&#39;t have permission to do that. Let&#39;s try with sudo:<br>
&gt;<br>
&gt; $ sudo echo 0 &gt; /sys/class/rtc/rtc0/wakealarm<br>
&gt; -bash: /sys/class/rtc/rtc0/wakealarm: Permission denied<br>
&gt;<br>
&gt;<br>
&gt; still no permission! let&#39;s root:<br>
&gt;<br>
&gt; $ sudo su<br></div>
&gt; $?echo 0 &gt; /sys/class/rtc/rtc0/wakealarm<br>
&gt; $?date -u --date &quot;Feb 12, 2012 16:00:00&quot; +%s &gt; /sys/class/rtc/rtc0/wakealarm<br>
&gt; $?cat /proc/driver/rtc<br>
&gt; rtc_time ? ? ? ?: 15:50:12<br>
&gt; rtc_date ? ? ? ?: 2012-02-12<br>
&gt; alrm_time ? ? ? : 16:00:00<br>
&gt; alrm_date ? ? ? : 2012-02-12<div class="im"><br>
&gt;<br>
&gt;<br>
&gt; I&#39;ve got it! Time is now setted up and, if I do a<br>
&gt;<br>
&gt; sudo shutdown -P now<br>
&gt;<br>
&gt;<br>
&gt; My BE/FE shuts down and wake up at 16:00:00 UTC time (15:00:00 local time)<br>
&gt;<br>
&gt; Now: reading the next paragraph (Setting alarm when BIOS clock is in<br>
&gt; localtime)<br>
&gt; I&#39;ve learned that &quot;The BIOS clock is in localtime, however wakealarm must be<br>
&gt; given a UTC time&quot;<br>
&gt; But my BIOS *SHOULD BE* in UTC time, because of the difference between date<br>
&gt; result and BIOS query:<br>
&gt;<br>
&gt; $ date<br>
&gt; Sun Feb 12 14:58:17 CET 2012<br>
&gt; $ cat /proc/driver/rtc<br></div>
&gt; rtc_time ? ? ? ?: 15:58:20<div class="im"><br>
&gt;<br>
&gt;<br>
&gt; By the way: let&#39;s go with next check as suggested in Wiki:<br>
&gt;<br>
&gt; $ SECS=`date -u --date &quot;2012-01-12 17:00:00&quot; +%s`<br>
&gt; $ echo 0 &gt; /sys/class/rtc/rtc0/wakealarm<br>
&gt; -bash: /sys/class/rtc/rtc0/wakealarm: Permission denied<br>
&gt;<br>
&gt;<br>
&gt; Whoops, I&#39;m not a sudoers? (but the setwakeup.sh script is, see later).<br>
&gt; Anyway, let&#39;s sudo:<br>
&gt;<br>
&gt; $ sudo su<br>
&gt; $ SECS=`date -u --date &quot;2012-02-12 17:00:00&quot; +%s`<br>
&gt; $ echo 0 &gt; /sys/class/rtc/rtc0/wakealarm<br>
&gt; $ echo $SECS &gt; /sys/class/rtc/rtc0/wakealarm<br>
&gt; $ cat /proc/driver/rtc<br></div>
&gt; rtc_time ? ? ? ?: 16:08:32<br>
&gt; rtc_date ? ? ? ?: 2012-02-12<br>
&gt; alrm_time ? ? ? : 17:00:00<br>
&gt; alrm_date ? ? ? : 2012-02-12<div class="im"><br>
&gt;<br>
&gt;<br>
&gt; Double-check: let&#39;s face the &quot;sudo&quot; problem, by going directly to<br></div>
&gt; the?setwakeup.sh, to clean any doubt on the permission thing:<div class="im"><br>
&gt;<br>
&gt; $ time=`date -u --date &quot;2012-02-12 18:00:00&quot; +%s`<br>
&gt; $ sudo sh -c &quot;/usr/bin/setwakeup.sh $time&quot;<br>
&gt; $ cat /proc/driver/rtc<br></div>
&gt; rtc_time ? ? ? ?: 16:12:36<br>
&gt; rtc_date ? ? ? ?: 2012-02-12<br>
&gt; alrm_time ? ? ? : 18:00:00<br>
&gt; alrm_date ? ? ? : 2012-02-12<div class="im"><br>
&gt;<br>
&gt; So: all checks are checked out.<br>
&gt;<br>
&gt; INTEGRATE INTO MYTHTV<br>
&gt;<br></div>
&gt; As seen in the latest check, I&#39;ve already created the?setwakeup.sh script as<div class="im"><br>
&gt; suggested in the Wiki, and my mythtv user is a sudoers of it, so let&#39;s<br>
&gt; integrate it in MythTv:<br>
&gt;<br>
&gt; I use MythWelcome, so - despite the fact I&#39;ve read all the Wiki page - I&#39;ll<br>
&gt; skip to &quot;Mythwelcome users&quot; paragraph.<br>
&gt; I see two settings related to my problem:<br>
&gt;<br>
&gt; mythbackend Shutdown/Wakeup Options (mythtv-setup)<br>
&gt;<br>
&gt;<br></div>
&gt; Wakeup time format ? ? ? ? ? ? ? ? ? ? : yyyy-MM-ddThh:mm:ss (Must be this<div class="im"><br>
&gt; format for mythshutdown)<br>
&gt;<br>
&gt;<br>
&gt; that&#39;s it (I miss &quot;T&quot; meanings, but I&#39;m just RTFMing)<br>
&gt;<br></div>
&gt; Command to set Wakeup Time ? ? ? ? ? ? : mythshutdown --setwakeup $time<div class="im"><br>
&gt;<br>
&gt;<br>
&gt; all checked.<br>
&gt;<br>
&gt; BEGIN NOTE:<br>
&gt; It would be kind to double-check it by query the &quot;settings&quot; table in the<br>
&gt; database, but for un unknown reason it doesn&#39;t show up in the database:<br>
&gt;<br>
&gt; for the Wakeup time format thing, it only contains a format related to<br>
&gt; MythWelcome (and it doesn&#39;t have any relation to the MythWelcome settings,<br>
&gt; see below in this post when I&#39;ll get to the MythWelcome settings)<br>
&gt;<br>
&gt; mysql&gt; SELECT value, data FROM settings where hostname =&#39;multisala&#39; and data<br></div>
&gt; like ?&#39;%yyyy%&#39; order by value;<br>
&gt;<br>
&gt; +-----------------------+------------------+<br>
&gt;<br>
&gt; | value ? ? ? ? ? ? ? ? | data ? ? ? ? ? ? |<div class="im"><br>
&gt;<br>
&gt; +-----------------------+------------------+<br>
&gt;<br>
&gt; | MythWelcomeDateFormat | dddd<br>
&gt;<br>
&gt; dd MMM yyyy |<br>
&gt;<br>
&gt; +-----------------------+------------------+<br>
&gt;<br>
&gt; 1 row in set (0.00 sec)<br>
&gt;<br>
&gt;<br>
&gt; for the Command to set Wakeup time, no data corresponding to what I&#39;ve just<br>
&gt; set up:<br>
&gt;<br>
&gt; mysql&gt; SELECT value, data FROM settings where hostname =&#39;multisala&#39; and data<br></div>
&gt; like ?&#39;%mythshutdown%&#39; order by value;<div class="im"><br>
&gt;<br>
&gt; Empty set (0.00 sec)<br>
&gt;<br>
&gt;<br>
&gt; END NOTE;<br>
&gt;<br>
&gt;<br>
&gt; MythShutdown/MythWelcome Settings (mythwelcome --setup or F11 in<br>
&gt; mythwelcome)<br>
&gt;<br></div>
&gt; Command to set wakeup time ? ? ? ? ? ? : sudo /usr/bin/setwakeup.sh $time<br>
&gt; Wakeup time format ? ? ? ? ? ? ? ? ? ? : time_t<br>
&gt; nvram-wakeup Restart command ? ? ? ? ? : (Must be blank)<br>
&gt; Command to shutdown ? ? ? ? ? ? ? ? ? ?: sudo shutdown -h now (some systems<div class="im"><br>
&gt; may need &quot;sudo shutdown -P now&quot;<br></div>
&gt; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?instead (-h may cause system to<br>
&gt; restart))<br>
&gt; Command to start the frontend ? ? ? ? ?: /usr/bin/mythfrontend<div class="im"><br>
&gt;<br>
&gt;<br>
&gt; Now i can check them via mysql:<br>
&gt;<br>
&gt; mysql&gt; SELECT value, data FROM settings where hostname =&#39;multisala&#39; and<br>
&gt; value like &#39;%shutdown%&#39; order by value;<br>
&gt; +-----------------------------+----------------------------------+<br></div>
&gt; | value ? ? ? ? ? ? ? ? ? ? ? | data ? ? ? ? ? ? ? ? ? ? ? ? ? ? |<br>
&gt; +-----------------------------+----------------------------------+<br>
&gt; | AllowQuitShutdown ? ? ? ? ? | 4 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?|<br>
&gt; | MythShutdownNvramCmd ? ? ? ?| sudo /usr/bin/setwakeup.sh $time |<br>
&gt; | MythShutdownNvramRestartCmd | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?|<br>
&gt; | MythShutdownPowerOff ? ? ? ?| sudo shutdown -h now ? ? ? ? ? ? |<br>
&gt; | MythShutdownReboot ? ? ? ? ?| sudo shutdown -h -r now ? ? ? ? ?|<br>
&gt; | MythShutdownWakeupTimeFmt ? | time_t ? ? ? ? ? ? ? ? ? ? ? ? ? |<br>
&gt; | MythShutdownXTermCmd ? ? ? ?| xterm ? ? ? ? ? ? ? ? ? ? ? ? ? ?|<div class="im"><br>
&gt; +-----------------------------+----------------------------------+<br>
&gt;<br>
&gt; 7 rows in set (0.00 sec)<br>
&gt;<br>
&gt;<br>
&gt; the setwakeup.sh script is allright:<br>
&gt;<br>
&gt; $ cat /usr/bin/setwakeup.sh<br>
&gt; #!/bin/sh<br>
&gt; #$1 is the first argument to the script. It is the time in seconds since<br>
&gt; 1970<br>
&gt; #this is defined in mythtv-setup with the time_t argument<br>
&gt;<br>
&gt;<br>
&gt; UTCBIOS=true<br>
&gt;<br>
&gt; if $UTCBIOS<br>
&gt; then<br></div>
&gt; ? ? #utc bios - use supplied seconds<br>
&gt; ? ? SECS=$1<br>
&gt; else<br>
&gt; ? ? #non utc bios - convert supplied seconds to seconds from<br>
&gt; ? ? #epoch to local time<br>
&gt; ? ? SECS=`date -u --date &quot;\`date --date @$1 +%F&quot; &quot;%T\`&quot; +%s`<div><div class="h5"><br>
&gt; fi<br>
&gt;<br>
&gt; echo 0 &gt; /sys/class/rtc/rtc0/wakealarm #this clears your alarm.<br>
&gt; echo $1 &gt; /sys/class/rtc/rtc0/wakealarm #this writes your alarm<br>
&gt;<br>
&gt;<br>
&gt; and so /etc/sudoers is:<br>
&gt;<br>
&gt; $ sudo cat /etc/sudoers |grep mythtv<br>
&gt; %mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh,<br>
&gt; /usr/bin/mythshutdown<br>
&gt;<br>
&gt;<br>
&gt; ALL CHECK FINISHED, NOW WHAT?<br>
&gt;<br>
&gt; After all those checks:<br>
&gt; Working:<br>
&gt; - MythWelcome shuts down my BE/FE according to time parameters<br>
&gt; Not working:<br>
&gt; - The MythTv BE/FE doesn&#39;t wake up<br>
&gt;<br>
&gt; I was thinking that the problem could be related to<br>
&gt;<br>
&gt; the UTC/local time thing<br>
&gt;<br>
&gt; or<br>
&gt;<br>
&gt; the time_t/yyyy-MM-dd hh:mm:ss thing<br>
&gt;<br>
&gt; but, after trying to read all the forum posts, mailing list messages, blog<br>
&gt; suggestions, Ubuntu documents, MythTv Wikis, now I am in a big mess: I can&#39;t<br>
&gt; understand where I&#39;m doing wrong things.<br>
&gt;<br>
&gt; I&#39;ve made several attempt to change parameters (UTC, time formats) but the<br>
&gt; test are not so easy (I have to make let the BE shuts down and wait for a<br>
&gt; program to check if it wake up, and in the meantime I am using my BE to<br>
&gt; record things, so it&#39;s a long process with a &quot;production&quot; system ;) ) and<br>
&gt; now I&#39;m not sure I&#39;ve tried all the possible combinations done.<br>
&gt;<br>
&gt; If any of you can point me in the right direction, I&#39;ll be grateful :)<br>
&gt;<br></div></div>
&gt; _______________________________________________<br>
&gt; mythtv-users mailing list<br>
&gt; <a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
&gt;<br>
<br>
I&#39;ve been battling the other side of this (getting the system to shut<br>
down) but just last night I followed the same wiki article you did and<br>
my system is now working.<br>
<br>
One thing I had to fix in mine (a long time ago) was that the user<br>
running the backend was not the same as the user running the frontend.<br>
I have a user called mythtv, it runs the backend wchich starts<br>
automatically when the machine boots up. Then there is a user called<br>
mitotv and it is the one the system uses to auto-login to X (Ubuntu<br>
desktop) and this is the user that runs mythwelcome and mythfrontend.<br>
So I had to add mitotv to the mythtv users group so that it could use<br>
the commands listed in the sudoers file under the mythtv group. I<br>
can&#39;t tell from your post if you have a similar situation (different<br>
users running different portions of mythtv) but if you do it could be<br>
that the user running mythwelcome/mythshutdown does not have<br>
permission to write to the RTC alarm. In this case the system can<br>
initiate a shutdown but when it tries to write to the RTC the step<br>
fails, however the shutdown continues and now the machine has no alarm<br>
set up to wake it up.<br>
<br>
If you manually bring up the machine, after mythwelcome/mythshutdown<br>
automatically shut it off, can you query the rtc (cat<br>
/proc/drivers/rtc) and confirm that the alarm was properly set top the<br>
time mythshutdown expected and there are no **** in it?<br>
<br>
-Marco<br>
<br><br></blockquote><div><br></div><div><br></div><div>Hi</div><div><br></div><div>When I told:</div><div><br></div><div>&gt; Command to set Wakeup Time ? ? ? ? ? ? : mythshutdown --setwakeup $time<br>&gt;<br>&gt;<br>&gt; all checked.<br>

</div><div><br></div><div>I was telling a lie: reading the wiki and writing this mail step-bt-step, in fact, I realized that something in my configuration was different.</div><div>In this case, the &quot;Command to set Wakeup Time&quot; was set to</div>

<div><br></div></div><div class="im"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div><font face="&#39;courier new&#39;, monospace">sudo sh -c &quot;/usr/bin/setwakeup.sh $time&quot;</font></div>

</div></blockquote></div><div class="gmail_quote"><div><br></div><div>instead than</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div><font face="&#39;courier new&#39;, monospace">mythshutdown --setwakeup $time</font></div>

</div></blockquote><div class="gmail_quote"><div><br></div><div>also </div><div><br></div></div><div class="im"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div><font face="&#39;courier new&#39;, monospace">sudo sh -c &quot;/usr/bin/setwakeup.sh $time&quot;</font></div>

</div></blockquote></div><div class="gmail_quote"><div><br></div><div>was used in MythWelcome setup instead than</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote">
<div>
<font face="&#39;courier new&#39;, monospace">sudo /usr/bin/setwakeup.sh $time</font></div><div><br></div></div></blockquote>So I changed them while writing, thiking that they should&#39;nt be significants.<div><br></div>

<div>On the contrary, they are. Or, at least, I think that the former one is: in fact, about one half an hour after I wrote here - and those parameters was fixed - the MythTv BE/FE started up to record a test program I scheduled.</div>

<div><br></div><div>So, thank you anyway: I could sove the problem just by having someone reading my blethers ;-)</div><div><br></div><div>About your experience: both my backend and frontend are running on a same user. It&#39;s not the &quot;mythtv&quot; user - I had to change some settings - permissions and their default - in the past to make it work correctly - but they are using my usual linux username, so this should not be a problem.</div>

<div><br></div><div>Now my next steps are:</div><div>- waking up while feeding xmltv - I don&#39;t know how to tell mythtv that crontab is set at a specific hour</div><div>- waking up from remote requests - it will be hard because the BE/FE is wireless-connected to the router, and no Wake Up on LAN feature on my WiFi USB dongle.</div>

<div><br></div><div>But for now I am satisfied.</div>
</blockquote></div><br></div>