[mythtv-users] Myth won't sleep more than once...

Chris Rouch chris.rouch at gmail.com
Tue Jan 29 15:57:07 UTC 2008


On 1/8/08, Mike Rosack <mrosack at gmail.com> wrote:
> On Jan 7, 2008 6:47 PM, Mike Rosack <mrosack at gmail.com> wrote:
> > Restarting mythbackend allows it to work once again, but only once.
> > Any suggestions?
>
> In case anyone has this problem in the future, I fixed this with a
> patch to scheuler.cpp in mythbackend.  Since my computer wasn't really
> shutting down, a variable called m_isShuttingDown was always true
> after the first shutdown.  I added some code to reset this variable to
> false and reset the idle countdown immediately after a shutdown.  The
> patch (against 20.2) is attached.
>

I think I'm seeing this too. My workaround is to do a real shutdown
rather than hibernate and add an extra minute to the time myth allows
to start up.

Did you raise a bug for this. It would be a shame if your solution got lost.

Regards,

Chris


More information about the mythtv-users mailing list