LinHES Forums
http://forum.linhes.org/

Intermittent PowerOff issues (disk spins down too quick)
http://forum.linhes.org/viewtopic.php?f=6&t=15727
Page 1 of 1

Author:  no2u [ Thu Jun 28, 2007 6:07 am ]
Post subject:  Intermittent PowerOff issues (disk spins down too quick)

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?

Author:  no2u [ Sat Sep 01, 2007 7:53 am ]
Post subject: 

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.

Author:  myth19kirt [ Tue Sep 04, 2007 7:54 am ]
Post subject:  halt vs shutdown

This may come in handy. I tried to do this before with the SHUTDOWN but it never worked.
Thanks.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/