View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jun 28, 2007 6:07 am 
Offline
Joined: Thu Feb 24, 2005 2:50 am
Posts: 60
In R5F1, when I select Power Off from the KnoppMyth menu, intermittentlly I'll hear the hard disk spin down "immediately" and the system will hang with X still running and the KnoppMyth menu still displayed. Have to hold in the power switch to shut off the system. Haven't seen this so far with the "shutdown" command from the command prompt. I'm wondering if devices are shut down in random order kind of like the udev random device discovery during power-up. Has anyone else seen this?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 01, 2007 7:53 am 
Offline
Joined: Thu Feb 24, 2005 2:50 am
Posts: 60
I believe I've solved this by editing /usr/share/mythtv/knoppmyth.xml, and adding -p after the halt command, as follows. Otherwise the system was halting (with the FrontEnd still displayed) but not powering off.

Code:
   <button>
     <type>POWER</type>
     <text>Power Off </text>
     <action>EXEC /usr/bin/sudo halt -p</action>
   </button>


Funny for some reason the Power Off button didn't do anything at all when I tried changing "sudo halt" to "sudo shutdown -h now" **Update: I think this was because "sudo shutdown" wasn't being allowed for user mythtv in /etc/sudoers. But "halt -p" seems to do the trick at least.


Last edited by no2u on Wed Sep 05, 2007 12:34 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject: halt vs shutdown
PostPosted: Tue Sep 04, 2007 7:54 am 
Offline
Joined: Fri Mar 24, 2006 10:35 pm
Posts: 89
Location: Detroit, MI
This may come in handy. I tried to do this before with the SHUTDOWN but it never worked.
Thanks.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 10 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu