View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Suspend/Sleep via remote
PostPosted: Fri Apr 04, 2008 7:09 am 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
Is there a way to have KM exit to the main menu, and then suspend/hibernate/sleep whatever its called. I am getting several FEs setup and they dont need to be one 24/7, but I dont want them to be totally off either because I want to avoid the whole reboot process.

Like they did here maybe by configuring the power button in lircrc to sudo /sbin/halt

http://mysettopbox.tv/phpBB2/viewtopic. ... end+remote


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 04, 2008 7:54 am 
Offline
Joined: Sun Feb 26, 2006 11:34 pm
Posts: 83
Location: Toronto, ON, Canada
I thought I had seen this somewhere, and it turned out to be in the MCE Remote Wiki entry at the MythTV Wiki:

http://www.mythtv.org/wiki/index.php/MCE_Remote#S3_.2F_Suspend_To_RAM

EDIT: I just found another, more generic, instruction:
http://www.mythtv.org/wiki/index.php/Keys-_customized_remote_control_keys#Configuring_the_power_button_to_do_DPMS_sleep.2Funsleep

I am not sure how this would need to be changed to suit your configuration, but it would be a good starting point.

Cheers
Victor

_________________
Backend: Core 2-Quad CPU, 4GB RAM, 3TB
2 PVR-500, 1 HDHomerun
FE1: Zotac IONITX-B-E, w/2GB HD
FE2: Zotac MAG


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 04, 2008 3:41 pm 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
Thanks. I posted this real quick heading out the door. Didnt mean for it to be in this forum :) Woops.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 11, 2008 1:28 am 
Offline
Joined: Tue Feb 14, 2006 12:07 am
Posts: 132
Location: White City OR
If anyone else is finds this I found this script that turns the monitor off if you dont want to deal with two remotes to turn your TV off. I just need to figure out how to have it exit to the main menu from the script.

Code:
#!/bin/bash

STATUS=`xset -q | grep "Monitor is" | awk '{print $3}'`

if [ "${STATUS}" = "On" ]
then
   xset dpms force off
else
   xset dpms force on
fi
exit 0


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

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