CEC: Kodi does not switch source

Hi!

Since the last update (2017.04-1) I noticed a little issue.

My setup consists of a RP3 ↔ Yamaha AVR ↔ LG TV. RP and LG TV are both connected via HDMI to the AVR.

Before the update: All devices were off. When I powered on the Raspberry, AVR & TV were automatically started. TV shows “TV” for some seconds and then switched the INPUT to display the Raspberry. That worked like a charm.

Now: All devices are powered off. When I start the Raspberry, AVR & TV powers on, but TV does not Switch to RP Input and stays in TV-mode.

If I power on TV first, watching TV and later power on the PI, the Input of the TV correctly switch to the PI.

Its not a big issue, but I lost some comfort. I’ve uploaded the debug kodi.log (http://paste.osmc.tv/imugokecoz.vhdl)

I’ve checked the CEC settings in Kodi - looks good, no lost settings during upgrade etc.

If you need any further information, let me know.

Best regards

Casper

Maybe your bug is related to mine, because active source is not announced via cec. I guess it is also caused by the same libcec commit.

I produced a .deb package of libcec one commit before this happend. Maybe you give it a try… Connect via ssh to your pi and enter those 4 commands: CEC problem since April update - #48 by pingumale

I can confirm, that your .deb package fixes the issue for me. :+1: Thank you!

Hi

Hopefully the issue is now addressed with the following commit:

I’d appreciate it if you could test this and provide feedback before we release this as an update to other users. To test this update:

  1. Login via the command line
  2. Edit the file /etc/apt/sources.list
  3. Add the following line: deb http://apt.osmc.tv jessie-devel main
  4. Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
  5. Your system should have have received the update.

Please see if the issue is resolved.

I also recommend you edit /etc/apt/sources.list again and remove the line that you added after updating. This will return you to the normal update channel.

Hi Sam,

i did the dist-ugrade (http://paste.osmc.tv/veyogoqedu.vhdl). Unfortunately now Kodi does not start anymore → Sad face.

kodi.log http://paste.osmc.tv/opijelicaw.xml

It’s probably because of the 4.9 kernel.

You can revert temporarily by putting the SD in a computer and renaming vmlinuz-4.4 to kernel.img and copying the DTBs from the DTB directory for 4.4 to the root of the partition.