2013-01-09, 01:42
I also get this issue.
I get
although it has clearly executed
xbmc.log
http://paste.ubuntu.com/1511290/
dmesg
http://paste.ubuntu.com/1511292/
syslog
http://paste.ubuntu.com/1511295/
Code:
matt@XBMC:~$ ls -l /bin/ | grep setwakeup
-rwxr-xr-x 1 root root 559 Jan 8 22:39 setwakeup
-rwxr-xr-x 1 root root 550 Jan 8 22:30 setwakeup.save
matt@XBMC:~$
Code:
matt@XBMC:~$ cat /bin/setwakeup
#!/bin/sh
#$1 is the first argument to the script. It is the time in seconds since 1970
#this is defined in mythtv-setup with the time_t argument
LOG="/var/log/mythtv/wakealarm.log"
#Set the wakeup timers.
echo 0 > /sys/class/rtc/rtc0/wakealarm #this clears your alarm.
echo $1 > /sys/class/rtc/rtc0/wakealarm #this writes the alarm.
date=`date "+%a %b %e %H:%M:%S %Y"`
schedutc=`date -u -d @$1 +%F" "%T`
sched=`date -d @$1 +%F" "%T`
echo "$date : Next scheduled recording : $sched ($schedutc UTC)" >>$LOG
cat /proc/driver/rtc | head -4 >>$LOG
exit 0
matt@XBMC:~$
I get
Code:
matt@XBMC:~$ cat .xbmc/temp/xbmc.log | grep setwakeup
23:28:25 T:3038104256 ERROR: SetWakeupCommand - failed to execute wakeup command 'sudo /bin/setwakeup 1357689599': Unknown error -1 (-1)
although it has clearly executed
Code:
matt@XBMC:~$ cat /var/log/mythtv/wakealarm.log
Tue Jan 8 23:21:56 2013 : Next scheduled recording : 1970-01-01 01:00:00 (1970-01-01 00:00:00 UTC)
rtc_time : 23:21:56
rtc_date : 2013-01-08
alrm_time : 23:26:56
alrm_date : 2013-01-08
Tue Jan 8 23:28:25 2013 : Next scheduled recording : 2013-01-08 23:59:59 (2013-01-08 23:59:59 UTC)
rtc_time : 23:28:26
rtc_date : 2013-01-08
alrm_time : 23:59:59
alrm_date : 2013-01-08
matt@XBMC:~$
Code:
<pvrpowermanagement>
<backendidletime>15</backendidletime>
<dailywakeup>true</dailywakeup>
<dailywakeuptime>17:00:00</dailywakeuptime>
<enabled>true</enabled>
<prewakeup>15</prewakeup>
<setwakeupcmd>sudo /bin/setwakeup</setwakeupcmd>
</pvrpowermanagement>
xbmc.log
http://paste.ubuntu.com/1511290/
dmesg
http://paste.ubuntu.com/1511292/
syslog
http://paste.ubuntu.com/1511295/