View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jan 31, 2008 2:46 pm 
Offline
Joined: Sat May 26, 2007 9:51 pm
Posts: 130
So I've had the auto-wake and auto-shutdown working flawlessly since last summer. Essentially it runs a preshutdown scripts after 4 idle minutes and mythfrontend is not running.

Lately I've noticed the auto-shutdown has been a little spotty. Sometimes it works, sometimes not. Looking at the backend logs, I can only tell when it is IDLE, but not why it is NOT idle.

Normally the backend log says something like, "I'm Idle Now, Shutting Down in xxx seconds ...". And then the preshutdown script runs and logs the results. I just sometimes don't get that "I'm Idle Now" message.

Any ideas why MythTV may not think it's idle? Or alternately, ideas on how to even debug this?

Once again, I appreciate your help!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 31, 2008 4:17 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

I have noticed this to. One offending program is MTD (mythtranscode Deamon which is used to rip DVDs). This doesn't cover all of my occurences.

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 5:57 pm 
Offline
Joined: Sat May 26, 2007 9:51 pm
Posts: 130
bigB wrote:
Hi,

I have noticed this to. One offending program is MTD (mythtranscode Deamon which is used to rip DVDs). This doesn't cover all of my occurences.

BigB.


I think I found the culprit, TVWish. Its an unofficial plugin that is probably the closest myth is to a Tivo suggestions-like plugin. The plugin is pretty solid, however, it seems to trick my mythbackend into thinking a mythfrontend is still running. I found that others had the same problem back in 2006 on the mythtv forum.

Unfortunately, I couldn't find any solutions on there. Anyone have any suggestions on how to fix this bug with TVWish? I don't mind doing it, I just don't know where to start.

(Also, BigB, how have you fixed the issue with MTD?)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 05, 2008 4:56 pm 
Offline
Joined: Sat May 26, 2007 9:51 pm
Posts: 130
I was able to contact the creator of TVWish, Brad Templeton. His response was,

Quote:
I've never seen the problem though I don't shut down my boxes.
I put in some debug code to look at the protocol but can't see
anything it does wrong. It's been a while but nothing new has
come up.


So when I get a chance I'll try and play around with the debug code within TVWish and/or mythbackend. However, I'm not sure how to debug the backend itself. Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 05, 2008 5:05 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Tzoom84,

I haven't fixed the problem with MTD, I only run it as required, and now that i'm aware of it, i kill it manually when finished.

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 05, 2008 5:37 pm 
Offline
Joined: Sat May 26, 2007 9:51 pm
Posts: 130
bigB wrote:
Tzoom84,

I haven't fixed the problem with MTD, I only run it as required, and now that i'm aware of it, i kill it manually when finished.

BigB.


How do you kill it manually? I was thinking of something similar. Instead of the debugging, I can just have it run daily at an off-time like 4AM, and just auto-restart the backend after TVWish's runwish script completes. Killing tvwish manually instead seems better and less 'harsh' than a hard restart.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 05, 2008 5:41 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
I type "killall mtd" into a command line.

Crude i know, I don't do it that often so i'm not concerned.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 06, 2008 2:47 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
I had problems like this once when I had no video sources connected to the box. I fixed this be re-adding a source with a channel.
tzoom84 wrote:
Brad Templeton

Now THERE'S a blast-from-the-past :wink:

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 06, 2008 8:08 pm 
Offline
Joined: Mon May 24, 2004 10:49 pm
Posts: 112
Location: Calgary, Alberta, Canada
You could always put the "killall mtd" in a script run as a cron job just before your 4:00 am shutdown - like 3:59 am.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu