2012-11-19, 16:36
Last week I openend a ticket on trac:
http://trac.xbmc.org/ticket/13560
I am wondering if this can be picked up still before the gold status; it makes no sense to keep the settings in the GUI if they are not working.
Or is there somebody who has seen this functionality working?
http://trac.xbmc.org/ticket/13560
Quote:The setting to wake up the PC daily via the PVR power management settings does not seem to work.
In guisettings the following is set:
<pvrpowermanagement>
<backendidletime>0</backendidletime> <dailywakeup>true</dailywakeup> <dailywakeuptime>21:40:00</dailywakeuptime> <enabled>true</enabled> <prewakeup>2</prewakeup> <setwakeupcmd>/usr/bin/setwakeup.sh</setwakeupcmd>
</pvrpowermanagement>
The next recording is scheduled for 22:00 so wakeup time is 21:58.
When I suspend XBMC at 21:22 the following is logged in the debug log:
21:22:05 T:3015878400 DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc 21:22:05 T:3015878400 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated 21:22:05 T:3015878400 DEBUG: ------ Window Init () ------ 21:22:05 T:3015878400 ERROR: SetWakeupCommand - failed to execute wakeup command '/usr/bin/setwakeup.sh 1353013080': Unknown error -1 (-1) 21:22:05 T:3015878400 DEBUG: CAnnouncementManager - Announcement: OnSleep from xbmc 21:22:05 T:3015878400 DEBUG: GOT ANNOUNCEMENT, type: 8, from xbmc, message OnSleep 21:22:05 T:3015878400 NOTICE: OnSleep: Running sleep jobs 21:22:05 T:3015878400 NOTICE: OnSleep: Stopping lirc 21:22:05 T:3015878400 INFO: LIRC setUsed: disabled 21:22:05 T:2913618752 DEBUG: ### [XBMC LCD/VFD] - Clearing display contents 21:22:06 T:3015878400 DEBUG: UPower: Recieved an unknown signal NotifySleep 21:22:07 T:2854726464 ERROR: AddOnLog: Tvheadend HTSP Client: ReadMessage - Failed to read packet size (Connection reset by peer) 21:22:07 T:3015878400 ERROR: Previous line repeats 100 times. 21:22:07 T:3015878400 INFO: LIRC setUsed: disabled 21:22:07 T:3015878400 DEBUG: CAnnouncementManager - Announcement: OnScreensaverDeactivated from xbmc 21:22:07 T:3015878400 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverDeactivated
Although it reports a -1 error, the correct time is written to the wakeup timer in /sys/class/rtc/rtc0/wakealarm
That 1353013080 epoch time that is being passed to setwakeup.sh is
GMT: Thu, 15 Nov 2012 20:58:00 GMT Your time zone: Thu Nov 15 2012 21:58:00 GMT+1
So the time of the recording, not the daily wakeup that is set.
The same happens with any time I set, I would like to wake up the PC daily at 3am but it always writes the time of the next recording in the wakealarm.
I am wondering if this can be picked up still before the gold status; it makes no sense to keep the settings in the GUI if they are not working.
Or is there somebody who has seen this functionality working?