OSMC does not react via HDMI CEC of Panasonic TV after TV's input channel change

Hi,

I have a

Raspberry Pi 2 with OSMC RC2
Surround Sony STR-DN840
TV Plasma Panasonic TX-P42GTW60

All devices including Pi are HDMI connected to the sourround receiver. TV is also HDMI connected using ARC.

Current issue: Normally control of OSMC via CEC from TV works like a champ … until I change the TV’s HDMI channel to “TV” or other HDMI port and back again.
In this situation the CEC connection to the Pi is lost and OSMC does not react at all until a reboot of the Pi or I do make changes to the OSMC CEC input device configuration via a connected USB keyboard.

Once the CEC connection works it is robust

  • against power on/off the surround receiver
  • changing the input channel at the surround receiver
  • power on/off the TV itsself

only the input channel change on TV seems to be the initiator of the failing behaviour.

I think I tried every CEC option within OSMC but I cannot change this sick behaviour.
In effect it means I’ve to reboot the Pi every time I watched TV before and by that the wife’s acceptance factor tends to zero using OSMC.

Any ideas what else I could try?

Greetings from Germany,

I have the same problem with my Viera (expressed in another similar thread I sent in these same days My Post here).
Only I seem to find the problem most on TV ON/OFF rather than source changing.

I think the problems we have are related. Because of this reason I also (cross)post mine here also.

Sleepy

1 Like

I activated debugging and even CEC lib specific debugging but the kodi.log simply ends after pressing the last key on the TV’s remote control before switching the TV’s input to “TV” and back to the HDMI channel used for the surround amp:

root@osmc:/home/osmc/.kodi/temp# cat kodi.log|grep -i cec
07:25:39 T:1956724736   DEBUG: LoadMappings - loaded node "CEC Adapter"
07:25:39 T:1956724736   DEBUG: LoadMappings - loaded node "Pulse-Eight CEC Adapter"
07:25:39 T:1956724736   DEBUG: SECTION:LoadDLL(libcec.so.2)
07:25:39 T:1956724736   DEBUG: Loading: libcec.so.2
07:25:39 T:1956724736   DEBUG: GetMappingForDevice - device (2708:1001) mapped to CEC Adapter (type = cec)
07:25:39 T:1956724736   DEBUG: InitialiseFeature - using libCEC v2.2.0
07:25:39 T:1873802272  NOTICE: Thread CECAdapter start, auto delete: false
07:25:39 T:1873802272   DEBUG: OpenConnection - opening a connection to the CEC adapter: RPI
07:25:39 T:1956724736  NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
                                            hdmi_force_cec_address=65535
                                            hdmi_ignore_cec_init=1
07:25:40 T:1873802272   DEBUG: OpenConnection - connection to the CEC adapter opened
07:25:40 T:1838150688  NOTICE: Thread CECAdapterUpdate start, auto delete: false
07:25:45 T:1804657696   DEBUG: OSMC PI hdmi_ignore_cec =
07:25:45 T:1804657696   DEBUG: OSMC PI hdmi_ignore_cec_init  =
07:26:07 T:1838150688   DEBUG: UpdateAudioSystemStatus - CEC capable amplifier found (Audio). volume will be controlled on the amp
07:28:18 T:1956724736   DEBUG: OnSettingChanged - sending the updated configuration to libCEC
07:28:18 T:1956724736   DEBUG: OnSettingChanged - sending the updated configuration to libCEC
07:28:21 T:1838150688   DEBUG: UpdateAudioSystemStatus - CEC capable amplifier found (Audio). volume will be controlled on the amp
07:28:25 T:1863316512   DEBUG: PushCecKeypress - received key a9 duration 0
07:28:25 T:1863316512   DEBUG: PushCecKeypress - received key a9 duration 76
07:28:26 T:1863316512   DEBUG: PushCecKeypress - received key a6 duration 0
07:28:26 T:1863316512   DEBUG: PushCecKeypress - received key a6 duration 75
07:28:27 T:1863316512   DEBUG: PushCecKeypress - received key a6 duration 0
07:28:27 T:1863316512   DEBUG: PushCecKeypress - received key a6 duration 75
07:28:28 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 0
07:28:28 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 76
07:28:29 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 0
07:28:29 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 74
07:28:29 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 0
07:28:29 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 76
07:28:29 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 0
07:28:29 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 76
07:28:30 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 0
07:28:30 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 75
07:28:30 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 0
07:28:30 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 75
07:28:30 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 0
07:28:30 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 76
07:28:31 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 0
07:28:31 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 76
07:28:31 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 0
07:28:31 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 75
07:28:31 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 0
07:28:31 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 75
07:28:32 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 0
07:28:32 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 75
07:28:33 T:1863316512   DEBUG: PushCecKeypress - received key d8 duration 0
07:28:33 T:1863316512   DEBUG: PushCecKeypress - received key d8 duration 84
07:28:34 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 0
07:28:34 T:1863316512   DEBUG: PushCecKeypress - received key a7 duration 76
07:28:36 T:1863316512   DEBUG: PushCecKeypress - received key a9 duration 0
07:28:36 T:1863316512   DEBUG: PushCecKeypress - received key a9 duration 75
07:28:36 T:1863316512   DEBUG: PushCecKeypress - received key a6 duration 0
07:28:37 T:1863316512   DEBUG: PushCecKeypress - received key a6 duration 76
07:28:37 T:1863316512   DEBUG: PushCecKeypress - received key a6 duration 0
07:28:37 T:1863316512   DEBUG: PushCecKeypress - received key a6 duration 76

So, for me no indication what’s going wrong.

I have made some positive tests here.

Sleepy

I’ve also made some progress. I detected as new workaround that I can renew the CEC connection between TV and OSMC if I start the TV app “Viera Link” and choose the right device which is “Player2” in my environment.

After some few days I confirm that OSMC is very stable also in the USB key configuration. No more forced reboots after the new installation.
I think now my problem arose from a bad digested update.

Sleepy