The device I have: MINIX Neo T5 ( s905x2 )
TV I have: an old Panasonic Viera TV
Image on microSD card: CoreELEC-Amlogic-ng.arm-19.5-Matrix_rc1-Generic.img
Note: I used this exact same TV for years with the exact same HDMI cable with a Raspberry Pi 3 B+ and LibreELEC 9.2.x (KODI Leia) and controlling KODI with the TV’s remote controller always worked. Today I just swapped out the Pi with the Minix. KODI works fine. But the Panasonic TV’s remote mostly doesn’t! I say mostly, because while I tried to fix / debug this issue today from about 4 PM to 1 AM (total of 9 hours!) I can say that out of this time, the Panasonic remote manged to controlled CoreELEC via a CEC a few times! I’d say it worked like 3-4 times, for 20 minutes total time – at the most unexpected times! For example, it did not work at all for hours so I decided to enable Debug logging in KODI using the Minix’s IR controller. After I enabled debug logging, the Panasonic remote started to work all of a sudden! Totally unexpected. So I rebooted the device with debug logging on, and after the reboot the TV’s remote sometimes continued to work, but not always. Regardless if debug logging was enabled or not it sometimes work, but mostly not. In the rare occasion when it worked then debugging was mostly turned on (I noticed that Debug logging slowed down KODI so maybe that’s why). But at least one time the remote worked even when debug logging was disabled.
But it was always way too easy to make it not to work: For example, when it worked, I just turned off the TV only (MINIX with CE remained ON) and then turned the TV back on. After this the TV’s remote no longer worked! Then I enabled debug logging again, it did not fixed the issue this time so I rebooted with debug logging enabled and after the reboot the TV’s remote still did not work. Here is the log file of this last reboot ( filtered with: grep -i cec ) :
In this log file I can see: “marking opcode ‘set osd name’ as unsupported feature for device ‘TV’” – this is true. On this old TV the port is always called “HDMI2” it cannot be custom named. But it is NOT a problem at all when using LibreELEC (same TV, same HDMI port, same HDMI cable) it always work.
I checked, in LibreELEC the libCEC version is 4.0.4
While in CE we have libCEC 6.0.2 …
I also see in the log file that KODI is looking for an audio device (“Audio (5): device status changed into ‘not present’”) however, I don’t use an AMP. I just want 2.0 channel audio signal sent to the TV via the HDMI cable and use the TV’s built-in speakers for sound. That’s what I prefer. I don’t own an AMP. So I suggest that there should be a setting somewhere in KODI where one can specify NOT to scan for an AMP via CEC. I would use that option for sure as I want to use the TV’s built in speakers, that works.
So the main problem is that the Panasonic TV’s remote cannot control KODI most of the time. This is a real deal breaker for me because on the TV’s remote I have a button for the context menu while on the MINIX remote controller I don’t have that button. I really need that button. I also got used to be using the TV’s remote to control KODI while I was using LibreELEC with the Raspberry Pi 3 for years – it just always worked! So it would be great if CEC functionality could be fixed it CoreELEC!
Please let me know how I can help fixing this. I can try nightly builds and I can record more debug logs. I can even try to edit the program code of libCEC and/or KODI as I am a programmer myself – but I have no idea how to compile the code… Maybe someone can give me instructions on how to do that.
Again, I am looking for help. I would really need my Panasonic TV’s remote to work via CEC. Can anyone help?