View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jul 31, 2008 2:58 pm 
Offline
Joined: Sun Sep 02, 2007 2:30 pm
Posts: 94
Hi,

I've just gotten Mythwelcome all setup the other day and it powered down fine with the timeout timer when it knew that the mythbox was idle. However rather strangely tonight the timer just keeps cycling around and around and the box does not switch off!

I'm running R5.5 and haven't made any major changes except for getting the flash player to working by reinstalling ffmpeg and mplayer but I doubt this could affect the shutdown!

I notice that the shutdown is invoked by the command:
Code:
sudo /usr/bin/mythshutdown --shutdown

but if I run this in a command window either as root or mythtv user nothing happens. Indeed if I use any of the other valid switches I see nothing on the screen, it is only when I make a typo or ask for --help that I see an on screen print out as a response!

Realy unsure how to proceed, so if anyone could please help that'd be great!

Thanks,
Mythman

_________________
Running Knoppmyth R5.5 on a Compaq EVO D510 (sff) w/ P4 1.8GHz, 1GB RAM, 330GB 7200rpm Maxtor IDE HDD, XFX Nvidia GeForce 6200 (AGP low profile, p/n: PV-T44A-WANG) and Huappauge NOVA-T 500 DVB-T dual tuner PCI card.


Last edited by mythman13 on Mon Aug 04, 2008 12:01 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 31, 2008 3:57 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Is that command right? Are you using APCI Wakeup or nv-ram? If it's APCI, see this post. If it's nv-ram, see this wiki page.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 01, 2008 7:38 am 
Offline
Joined: Sun Sep 02, 2007 2:30 pm
Posts: 94
Hi,

Thanks for that graysky,I've got it working now, I think I got the wakeup time output incorrect and that must have caused mythshutdown to not work.

I recommend entering in all your settings exactly as in the ACPI post.

Thanks again,

Mythman

_________________
Running Knoppmyth R5.5 on a Compaq EVO D510 (sff) w/ P4 1.8GHz, 1GB RAM, 330GB 7200rpm Maxtor IDE HDD, XFX Nvidia GeForce 6200 (AGP low profile, p/n: PV-T44A-WANG) and Huappauge NOVA-T 500 DVB-T dual tuner PCI card.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 16, 2008 3:12 pm 
Offline
Joined: Sat May 26, 2007 9:51 pm
Posts: 130
I've been having a similar problem in the past few days. For weeks, since the R5.5 install, the auto-wakeup and shutdown was working fine. In mytwelcome, it would do the counter, and shut down.

But lately, there is no more counter, in mythwelcome it just says "MythTV is Idle" at the top. No settings have been changed since. The "Block shutdown before client connected" option is NOT set. And mythfrontend is not running. The shutdown is unlocked as well ...

It will count down ... sometimes. If I close and reload mythwelcome it works, but on boot after frontend is closed, it often doesn't. Hmmm. I can't seem to trace it but I'll report back if I find anything.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 17, 2008 8:33 am 
Offline
Joined: Sat May 26, 2007 9:51 pm
Posts: 130
So it looks like something is hanging within mythbackend causing either the idleTimeoutSecs setting or a mythwelcome internal variable, m_secondsToShutdown, to reset.

The same thing happened last night, but it turns out a mythwelcome restart didnt fix it, instead a full mythbackend restart brought back the counter.


Quote:
48 // if idleTimeoutSecs is 0, the user disabled the auto-shutdown feature
49 m_bWillShutdown = (gContext->GetNumSetting("idleTimeoutSecs", 0) != 0);

...

607 if (m_statusList.count() == 0)
608 {
609 if (m_bWillShutdown && m_secondsToShutdown != -1)
610 m_statusList.append(tr("MythTV is idle and will shutdown in %1 seconds.")
611 .arg(m_secondsToShutdown));
612 else
613 m_statusList.append(tr("MythTV is idle."));
614 }


Any tips? I'll continue investingating .


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 23, 2008 1:22 pm 
Offline
Joined: Sun Sep 02, 2007 2:30 pm
Posts: 94
Hi tzoom84, sorry I seem to have missed this post for a while.

I had the problem with a shutdown timer resetting itself and have absolutely no idea why it started doing that. The best advice I have is to check that all your settings in mythtv-setup and mythwelcome -setup are ok and that the command / script that you run with the shutdown time works well. Other than that I don't think I'm best qualified for debugging mythwelcome which I assume is a fairly complex program!

Sorry I can't be of much help,
Mythman

_________________
Running Knoppmyth R5.5 on a Compaq EVO D510 (sff) w/ P4 1.8GHz, 1GB RAM, 330GB 7200rpm Maxtor IDE HDD, XFX Nvidia GeForce 6200 (AGP low profile, p/n: PV-T44A-WANG) and Huappauge NOVA-T 500 DVB-T dual tuner PCI card.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 8 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