Upgrading libCEC v6 to v7 on Omega

I have a TOX3 s905x4 tv box that works great. The only small issue is that sometimes it reboots after shutdown (not always). This is running Omega v21-ng. If I run Piers v22-no the box shuts down and never reboots. CEC appears to work 100% on v22-no, (power on from HDMI source change etc, all works well).

v21-ng uses libCEC v6 and v22-no uses libCEC v7.

My question is:- are there plans to upgrade libCEC to v7 on Omega v21-ng? I understand the amlogic kernels are different. I find playback on v21-ng superior to v22-no. I understand v22-no is still in alpha.

I did try forking CE, and backporting the change from libCEC to v7 on v21-ng and it compiled. However, on boot, the system hangs on the CE boot logo. I’m guessing there are other packages I would need to upgrade to get libCEC v7 to work with v21-ng (or maybe it’s not possible due to kernel changes etc??) Thx

It will not backport, no.
You need to pick two commits I think.

And make a clean, new build. Otherwise it will not work.

Thanks for the feedback.

Update. I did the clean compile and now have libCEC v7 running on my fork of CE v21-ng on TOX3 s905x4 device. No more reboots after shutdown. Also, with libCEC v6, my TV remote would randomly stop working after a reboot. So far, with libCEC v7 everything is working 100%. I have a HiSense tv and I think their CEC implementation can be a bit flakey. I have a Toshiba tv downstairs and that has worked flawlessly as far as CEC is concerned all the way back to CE v9.2.

Thanks for your help.

Very minor issue. On the compile I am trying to set the image name. I use the command in Ubuntu:-
DEVICE=Amlogic-ng make image IMAGE_NAME=CoreELEC-v21-Omega-libCEC-v7

However, the name always outputs as:-
CoreELEC-Amlogic-ng.arm-21.2-Omega_devel_20250402124917-Generic.img

How do I fix the name of the compiled image? Thx

I think you must set CUSTOM_IMAGE_NAME, maybe.

1 Like

Superstar! That worked.
Thanks again for your expertise!!

There is also IMAGE_SUFFIX which adds only suffix to standard name.

Thanks, I’ll remember that also.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.