Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kodi on RPi2 constantly sending CEC signals #205

Closed
kartana opened this issue Mar 12, 2016 · 10 comments
Closed

Kodi on RPi2 constantly sending CEC signals #205

kartana opened this issue Mar 12, 2016 · 10 comments

Comments

@kartana
Copy link

kartana commented Mar 12, 2016

Here is a log where I have two problems, my main issue is #2 though!

  1. Sometimes AVR powers off instead of being selected when switching to the RPi2/Kodi on the TV

2. The RPi2/Kodi goes nuts when I turn off the TV+AVR. it constantly sends some signals that turn on the AVR, turn off the AVR and the Standby LED from my TV goes crazy, like it is turning on and then immediately off again. There is some fighting going on over something.

Setup: Philips TV connected to Sony AVR that has Chromecast as HDMI1 and RPi2 running latest stable OpenELEC connected to HDMI2. CEC is enabled in Kodi with everything on OFF or IGNORE (like auto power on/off).

http://pastebin.com/di8vB7sQ

Problem started a week ago or so. I had the OSMC Jarvis build running when it came out without a problem and suddenly problem 2 it started happening (I had problem 1 before). It's the same with the latest OpenELEC now.

Edit1: funny thing is, if I disconnect the Chromecast this "CEC fire" from Kodi stops. I had this setup running now for 6+ month and it worked without major problems.
Edit2: doesn't seem to be related to the Chromecast. If I connect a CEC enabled device to the AVR in addition to the RPi2 then problem #2 starts.

@kartana
Copy link
Author

kartana commented Mar 22, 2016

Has no one a RPi2 with OSMC or OpenELEC and a Chromecast Gen1 and can test this? For some reason those two conflict now with CEC. This is driving me crazy!

@enricostano
Copy link

Yep, similar setup, behavior and timing here. Using ArchLinux ARM on Rpi1. No media player installed I just use omxplayer -o hdmi from ssh.

Some debugging:
https://gist.github.com/enricostano/0c34a7ff7d1c4c9e378beefebc8d0ebf
https://gist.github.com/enricostano/f96aaa605a4384625c091e2039cc2a46

In my case I cannot switch to another TV channel or HDMI input (Chromecast, or whatever), when I try to switch channel I get HDMI cable is unplugged in the $ /opt/vc/bin/tvservice -M output and then the TV switches back to the Rpi outputting HDMI is attached (please look at the first debug link).

Removing the other CEC enabled device from the TV HDMI inputs the issue disappears.

EDIT: I've been using this setup during more than 1 year without problems, until almost 1 month ago.

@OhmEye
Copy link

OhmEye commented Apr 13, 2016

I have this same symptom, if a chromecast is plugged into my amp, Kodi sends cec events every few seconds. My amp LCD shows the Kodi source being activated like clockwork several times a minute. If I turn off the TV, Kodi turns it back on almost immediately with the next event. If I unplug the chromecast, the events stop, the amp stops showing them on the LCD, and the TV stays off. I've been trying every possible combination of cec settings in openelec and the amp to no avail, everything works as expected except when chromecast and the rpi2 with openelec are both plugged in.

I've also been using this setup for a couple years with no issues until just recently. It happens with both chromecast gen1 and gen2.

@kartana
Copy link
Author

kartana commented May 26, 2016

Seems fixed since the last Chromecast update. Can anyone confirm?

Edit: It seems this issue returned. I'm having the same behavior now.

@Slion
Copy link

Slion commented Jul 18, 2016

Logs show 'routing change' messages repeatedly.
You could try to fix suggested in issue #233
What's the model of your Phillips TV?

opdenkamp added a commit that referenced this issue Oct 25, 2016
…s set to us and we're not the active source yet

this should fix the issues reported in #205 and #233 and still keep old devices working
@opdenkamp
Copy link
Contributor

forgot to commit this last week, this prevents it from sending out active source messages all the time 5926317

@enricostano
Copy link

Thanks @opdenkamp ! Will test and report back ASAP

@kartana
Copy link
Author

kartana commented Oct 28, 2016

The issue described by me on Mar 12 is back in full force. As soon as I turn off the TV, Kodi on the RPi3 tries to grab the HDMI port from all the other to my AVR connected devices turning the AVR and TV on or at least tries to, turning the standby LED from TV to a disco light. Probably because the TV doesn't know how to process the signals at this point.

I'm running latest Milhouse. Everything in CEC Settings is disabled or set to ignore except CEC itself.
TV is a Philips 8159.

@opdenkamp
Copy link
Contributor

That can't be related to this commit and sounds like a bug in Kodi. Please post a log.

@kartana
Copy link
Author

kartana commented Oct 28, 2016

That can't be related to this commit and sounds like a bug in Kodi. Please post a log.

My SO just told me that this problem returned last week so you are probably right. I'll post a log if I find the time this weekend.

opdenkamp added a commit that referenced this issue Mar 15, 2017
…eceived with libCEC's address as new route and no active source message has been sent yet. issue #309 #205 #233
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants