LG C2 HDMI CEC with RPI 5 and Libreelec KODI



Hello to all,

I have installed Libreelec 12.0 on my RPI 5 and it worked with CEC on first boot. Then it stopped working after I switch hdmi channel to use other devices. I have seen many users complain about similar issues and tried their solutions but the issue seems to persist on my end.

My LG C2 Software version is 13.30.56, webOS 8.3.0-2301.
I’m using a Canakit Micro-HDMI cable, It is not labeled as which HDMI version but CEC did work once or twice with it.

Things I tried:
1. Simplink is enabled on my LG TV from External Devices settings

2. If I turn off my LG C2 and RPI 5, then power on TV and the RPI after it CEC works until I switch to another HDMI input to use my other devices.

3. I have changed the config.txt file and added these parameters, and the issue is still there
hdmi_ignore_cec_init=1
hdmi_force_hotplug=1
hdmi_drive=2
dtoverlay=cec

4. I tried to reboot my RPI and re-plug the HDMI it gets detected as HDMI PC, and as “Now TV by Sky TV” in universal control.

5. I tried to flash Libreelec again, but the same issue appears.

6. I tried to install OSMC, but I don’t think it supports RPI 5 since my device kept rebooting.

I have observed that it would work when it gets auto detected as “Flirc OTT” in universal control, but not manually.

I appreciate any help on this matter.