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

XBMC kill when RPi are in Standby
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
XBMC kill when RPi are in Standby
16th Mar, 2014, 08:16 AM
Post: #6
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: XBMC kill when RPi are in Standby
(14th Mar, 2014 03:58 AM)LeoSum Wrote:  Hey mk01,
I am looking for something exactly like you are supposing but I am struggling to understand your post.
  • What is happening inside the brackets? Is this the command for checking the CEC status?
  • How do I make this script start running everytime the pi boots?

CEC works with my tv as I can use the remote to control my pi when I am in xbmc. But via ssh using tvservice -M i cannot register any events from the TV when I switch sources or turn it on or off.

monitor mode doesn't work natively in libCEC and direct access to libCEC controls disables other open sessions.

enable SCREENOFF=yes in /etc/default/xbmc

this will upon start of xbmc create shared in and out files at /run/cc/in,out

then independently on running XBMC you can issue commands to cec bus as follows

echo "command" >> /run/cc/in

and read what is returned "cat or tail /run/cc/out"

if you need messages from 3rd devices (like promisc mode), then we need a small change in the code.

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
XBMC kill when RPi are in Standby - Blightrt - 20th Jan, 2014, 07:04 AM
RE: XBMC kill when RPi are in Standby - IriDium - 21st Jan, 2014, 05:35 AM
RE: XBMC kill when RPi are in Standby - mk01 - 25th Jan, 2014, 05:25 PM
RE: XBMC kill when RPi are in Standby - Blightrt - 26th Jan, 2014, 02:29 AM
RE: XBMC kill when RPi are in Standby - LeoSum - 14th Mar, 2014, 03:58 AM
RE: XBMC kill when RPi are in Standby - mk01 - 16th Mar, 2014 08:16 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  XBMC standby (sleep mode) alexg 1 8,792 26th Apr, 2013 07:10 AM
Last Post: Uncle_Tubbie

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

Current time: 18th May, 2025, 12:17 AM Powered By MyBB, © 2002-2025 MyBB Group.