[mythtv-users] Backend wakes up too early then shuts down and misses recording

Hika van den Hoven hikavdh at gmail.com
Thu Jan 30 13:59:42 UTC 2014


Hoi Tony,

Thursday, January 30, 2014, 2:28:43 PM, you wrote:

> I've running a 0.27 system where my backend shuts down when idle and 
> ACPI wakes up 10 minutes before recording. Normally this works very 
> well, but I saw something very odd last night. The system finished a 
> transcoding job just after 11pm, just after 2300, and the next recording
> was at 12:53am, i.e. 00:53. So it should have woken itself at approx 00:43.

> What it actually did was wakeup at 00:29:40, decide that the next 
> recording at 00:53 was too far into the future, and then, at 00:30:16,
> write the next ACPI wake up time as 00:29:40 (in the past!!!), and shut
> itself down. Needless to say, the recording was missed (or would have 
> been if I hadn't been in the room tinkering with another box and spotted
> what was going on...)

> Any ideas? Logs below.

> Jan 29 23:03:48 tv mythbackend: mythbackend[1960]: I Scheduler 
> scheduler.cpp:2839 (CheckShutdownServer) CheckShutdownServer returned -
> OK to shutdown
> Jan 29 23:03:48 tv mythbackend: mythbackend[1960]: N Scheduler 
> scheduler.cpp:2934 (ShutdownServer) Running the command to set the next
> scheduled wakeup time :-#012#011#011#011#011#011#011mythshutdown 
> --setwakeup 2014-01-30T00:29:40
> Jan 29 23:03:49 tv mythbackend: mythbackend[1960]: N Scheduler 
> scheduler.cpp:2965 (ShutdownServer) Running the command to shutdown this
> computer :-#012#011#011#011#011#011#011sudo -H mythshutdown --shutdown
> Jan 30 00:30:16 tv mythbackend: mythbackend[1912]: C thread_unknown 
> mythcommandlineparser.cpp:2595 (ConfigureLogging) mythbackend version:
> fixes/0.27 [v0.27-122-g9d4b5e2] www.mythtv.org
> ...
> Jan 30 00:31:27 tv mythbackend: mythbackend[1912]: I Scheduler 
> scheduler.cpp:2839 (CheckShutdownServer) CheckShutdownServer returned -
> OK to shutdown
> Jan 30 00:31:27 tv mythbackend: mythbackend[1912]: N Scheduler 
> scheduler.cpp:2934 (ShutdownServer) Running the command to set the next
> scheduled wakeup time :-#012#011#011#011#011#011#011mythshutdown 
> --setwakeup 2014-01-30T00:29:40
> Jan 30 00:31:28 tv mythbackend: mythbackend[1912]: N Scheduler 
> scheduler.cpp:2965 (ShutdownServer) Running the command to shutdown this
> computer :-#012#011#011#011#011#011#011sudo -H mythshutdown --shutdown

> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users


I don't understand it setting a wake up time in the past, but as I
understand setting wake up times in the bios can be haphazard.

You can set it not to shutdown if an action is expected within a
set time. I guess you should set it larger then the time it wakes up
before an event. That being to small could explain the shutting down.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens
--



More information about the mythtv-users mailing list