2014-03-04, 23:47
Im back with another issue and hoping you can help.
Im on my 3rd xbmc box now after a couple of disk issues I have made a few upgrades, new SSD, new mobo and cables. In upgrading my motherboard I have "found" my 4th core :-) the motherboard has onboard HDMI but its only a Radeon HD 3000 so in order to get that working I have followed some old instructions found here and you know that bit in big bold letters well I locked down the graphics driver and went ahead with a apt-get upgrade I'm now running Gotham Alpha 11 :-S so far so good.
I have created setwakeup.sh and allowed the xbmc group to sudo that command
I have set this up in the GUI as per the wiki page and the log show its being called.
content of setwakeup.log
kernel log shows "rtc_cmos 00:03: RTC can wake from S4" so thats good. But it doesn't appear to wake at all the BIOS is configured BUT it says wake from S5 on rtc not s3 or s4. My pulse eight cec adapter puts the box into s3 when you turn off the TV.
What am I doing wrong.
Im on my 3rd xbmc box now after a couple of disk issues I have made a few upgrades, new SSD, new mobo and cables. In upgrading my motherboard I have "found" my 4th core :-) the motherboard has onboard HDMI but its only a Radeon HD 3000 so in order to get that working I have followed some old instructions found here and you know that bit in big bold letters well I locked down the graphics driver and went ahead with a apt-get upgrade I'm now running Gotham Alpha 11 :-S so far so good.
I have created setwakeup.sh and allowed the xbmc group to sudo that command
Code:
#!/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/setwakeup.log
echo "*** $(date -R) ***" >> $LOG
echo 0 > /sys/class/rtc/rtc0/wakealarm #this clears your alarm
echo $1 > /sys/class/rtc/rtc0/wakealarm #this writes your alarm
cat /sys/class/rtc/rtc0/wakealarm >> $LOG
cat /proc/driver/rtc >> $LOG
I have set this up in the GUI as per the wiki page and the log show its being called.
Code:
Mar 04 20:04:41 Black-Box-Of-Doom tag_xbmc_log: 20:04:31 T:2681129792 NOTICE: -->Python Interpreter Initialized<--
Mar 04 20:04:41 Black-Box-Of-Doom tag_xbmc_log: 20:04:31 T:2560621376 NOTICE: Thread FileCache start, auto delete: false
Mar 04 20:04:41 Black-Box-Of-Doom tag_xbmc_log: 20:04:31 T:2681129792 ERROR: Open - failed to open source </home/xbmc/.xbmc/userdata/addon_data/service.xbmc.versioncheck/settings.xml>
Mar 04 20:04:41 Black-Box-Of-Doom tag_xbmc_log: 20:04:31 T:2681129792 ERROR: Open - failed to open source <special://profile/addon_data/service.xbmc.versioncheck/settings.xml>
Mar 04 20:04:46 Black-Box-Of-Doom tag_xbmc_log: 20:04:43 T:2681129792 NOTICE: Thread Timer start, auto delete: false
Mar 04 20:04:46 Black-Box-Of-Doom tag_xbmc_log: 20:04:43 T:2681129792 NOTICE: Thread Timer start, auto delete: false
Mar 04 20:05:16 Black-Box-Of-Doom tag_xbmc_log: 20:05:16 T:2552228672 NOTICE: Previous line repeats 1 times.
Mar 04 20:05:16 Black-Box-Of-Doom tag_xbmc_log: 20:05:16 T:2552228672 NOTICE: Thread JobWorker start, auto delete: true
Mar 04 20:05:16 Black-Box-Of-Doom tag_xbmc_log: 20:05:16 T:2552228672 NOTICE: Previous line repeats 1 times.
Mar 04 20:05:16 Black-Box-Of-Doom tag_xbmc_log: 20:05:16 T:2552228672 NOTICE: Thread JobWorker start, auto delete: true
Mar 04 20:05:27 Black-Box-Of-Doom sudo: xbmc : TTY=unknown ; PWD=/home/xbmc ; USER=root ; COMMAND=/usr/bin/setwakeup.sh 1393977599
Mar 04 20:05:27 Black-Box-Of-Doom sudo: pam_unix(sudo:session): session opened for user root by (uid=1000)
Mar 04 20:05:27 Black-Box-Of-Doom sudo: pam_unix(sudo:session): session closed for user root
Mar 04 20:05:27 Black-Box-Of-Doom NetworkManager: <info> sleep requested (sleeping: no enabled: yes)
Mar 04 20:05:27 Black-Box-Of-Doom NetworkManager: <info> sleeping or disabling...
Mar 04 20:05:27 Black-Box-Of-Doom NetworkManager: <info> (eth0): now unmanaged
Mar 04 20:05:27 Black-Box-Of-Doom NetworkManager: <info> (eth0): device state change: activated -> unmanaged (reason 'sleeping') [100 10 37]
Mar 04 20:05:27 Black-Box-Of-Doom NetworkManager: <info> (eth0): deactivating device (reason 'sleeping') [37]
Mar 04 20:05:28 Black-Box-Of-Doom NetworkManager: <info> (eth0): canceled DHCP transaction, DHCP client pid 1467
Mar 04 20:05:28 Black-Box-Of-Doom avahi-daemon: Withdrawing address record for fe80::beee:7bff:fe75:6c6c on eth0.
Mar 04 20:05:28 Black-Box-Of-Doom avahi-daemon: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::beee:7bff:fe75:6c6c.
Mar 04 20:05:28 Black-Box-Of-Doom avahi-daemon: Interface eth0.IPv6 no longer relevant for mDNS.
content of setwakeup.log
Code:
*** Tue, 04 Mar 2014 19:41:21 +0000 ***
1393977599
rtc_time : 19:41:21
rtc_date : 2014-03-04
alrm_time : 23:59:59
alrm_date : 2014-03-04
alarm_IRQ : yes
alrm_pending : no
update IRQ enabled : no
periodic IRQ enabled : no
periodic IRQ frequency : 1024
max user IRQ frequency : 64
24hr : yes
periodic_IRQ : no
update_IRQ : no
HPET_emulated : yes
BCD : yes
DST_enable : no
periodic_freq : 1024
batt_status : dead
*** Tue, 04 Mar 2014 19:44:20 +0000 ***
1393963200
rtc_time : 19:44:20
rtc_date : 2014-03-04
alrm_time : 20:00:00
alrm_date : 2014-03-04
alarm_IRQ : yes
alrm_pending : no
update IRQ enabled : no
periodic IRQ enabled : no
periodic IRQ frequency : 1024
max user IRQ frequency : 64
24hr : yes
periodic_IRQ : no
update_IRQ : no
HPET_emulated : yes
BCD : yes
DST_enable : no
periodic_freq : 1024
batt_status : dead
*** Tue, 04 Mar 2014 19:47:57 +0000 ***
1393963200
rtc_time : 19:47:57
rtc_date : 2014-03-04
alrm_time : 20:00:00
alrm_date : 2014-03-04
alarm_IRQ : yes
alrm_pending : no
update IRQ enabled : no
periodic IRQ enabled : no
periodic IRQ frequency : 1024
max user IRQ frequency : 64
24hr : yes
periodic_IRQ : no
update_IRQ : no
HPET_emulated : yes
BCD : yes
DST_enable : no
periodic_freq : 1024
batt_status : dead
*** Tue, 04 Mar 2014 20:05:27 +0000 ***
1393977599
rtc_time : 20:05:27
rtc_date : 2014-03-04
alrm_time : 23:59:59
alrm_date : 2014-03-04
alarm_IRQ : yes
alrm_pending : no
update IRQ enabled : no
periodic IRQ enabled : no
periodic IRQ frequency : 1024
max user IRQ frequency : 64
24hr : yes
periodic_IRQ : no
update_IRQ : no
HPET_emulated : yes
BCD : yes
DST_enable : no
periodic_freq : 1024
batt_status : dead
kernel log shows "rtc_cmos 00:03: RTC can wake from S4" so thats good. But it doesn't appear to wake at all the BIOS is configured BUT it says wake from S5 on rtc not s3 or s4. My pulse eight cec adapter puts the box into s3 when you turn off the TV.
What am I doing wrong.