Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Custom power saving mode request!!
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Custom power saving mode request!!
31st Oct, 2013, 05:15 PM
Post: #12
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Custom power saving mode request!!
@Boushard

(29th Oct, 2013 01:04 PM)f1vefour Wrote:  I don't have HDMI currently so I can't test, does "tvservice -o" disable the HDMI output on the Pi?

If it does then what the OP is wanting should be possible, you could write a bash script that checks XBMC CPU usage and run the above command when it's idle. Of course this wouldn't work 100% of the time because the "home screen" idle usage is almost as high as when playing certain video content. Also if you found yourself on certain plug-in screens or other high CPU usage screens this wouldn't work.

tvservice -o turns off HDMI on RPI but this takes my Samsungs TVs not into standby mode. Not even when TV is set to turn-off on loss of signal. I have no idea which signaling this is, maybe it works for other screens.

Koenn was reporting on github that it works with him, but no idea whether he is using TV or HDMI->DVI converter and and PC/LCD panel. There was one more issue with this and that XBMC wasn't able to get re-attached to the screen again, so restart xbmc was needed. Ugly.

the scripting around XBMC's actual status is already implemented in XBian. package name is "xbian-package-upstart-xbmc-bridge". it generates various upstart events - among others screensaver START and screensaver STOP. included in the package is xbmc-screensaver upstart job which uses this to standby / power-on CEC TVs based on those events and xbmc-priority job which utilizes the other statuses (Playing video, Updating library, idling, etc …).

based on those 'templates', write own script is peace of cake. actually the core code just 5 lines as upstart_job.conf file + 2 lines of command user wishes to run.

@f1vefour
the idle cpu usage is definitely addon and/or skin issue. default install XBian B2 is 14% on homescreen, up to 30% when idle in library view. this with Confluence or Amber skin - didn't try others.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Custom power saving mode request!! - Boushard - 10th Oct, 2013, 01:15 AM
Re: Custom power saving mode request!! - f1vefour - 10th Oct, 2013, 01:14 PM
RE: Custom power saving mode request!! - mk01 - 12th Oct, 2013, 02:32 AM
RE: Custom power saving mode request!! - Boushard - 27th Oct, 2013, 11:18 PM
RE: Custom power saving mode request!! - rikardo1979 - 28th Oct, 2013, 05:31 AM
RE: Custom power saving mode request!! - IriDium - 28th Oct, 2013, 02:36 AM
RE: Custom power saving mode request!! - Boushard - 28th Oct, 2013, 04:32 AM
RE: Custom power saving mode request!! - rikardo1979 - 28th Oct, 2013, 05:27 AM
Re: Custom power saving mode request!! - f1vefour - 29th Oct, 2013, 01:04 PM
RE: Custom power saving mode request!! - mk01 - 31st Oct, 2013 05:15 PM
RE: Custom power saving mode request!! - IriDium - 30th Oct, 2013, 02:44 AM
RE: Custom power saving mode request!! - rikardo1979 - 30th Oct, 2013, 03:04 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 3rd Jun, 2025, 01:15 PM Powered By MyBB, © 2002-2025 MyBB Group.