HDMI-CEC for 5B+

Hi,
In the Radxa ROCK 5B+ Product Brief under section 7.5 HDMI Output, I’ve read “featuring CEC support”.
But it does not seem to work with the latest Linux kernel (I use 6.18.4).
And on the page RK3588 Mainline Kernel support there is a n/a for the 5B+. What does it mean? Is the Product Brief wrong? Or the table?
How could I get support for HDMI-CEC please?
TIA for any hints, Peter

It should work with RadxaOS which is downstream 6.1 based kernel. Or Armbian ‘vendor‘ which is also 6.1 and created based on Rockchip SDK.

You could try to use Armbian vendor kernel with Opensuse, needs to set EDK2-UEFI to legacy kernel and Wayland likely will have issues when it even does initiate the screen (ROCK5B). X11 I have not used, maybe that works OK. If you want to see it working based on mainline, maybe LibreElec/KODI has a patched mainline kernel where it works preliminairy, but that OS is not generic w.r.t. bootloader etc, so you essentially need to compose/configure/build own kernel.

Have you tried both HDMI ports?

I’ve tried the 6.1 Armbian kernel: no X11…
I’ve patched the 6.18 kernel with several patches from LibreELEC (from 1 to 26 of packages/linux/patches/rockchip), but no luck.
Yes, I’ve tested the 2 HDMI ports.
I guess, that I have to switch back to Raspberry Pi…

I know X11 worked with Armbian mainline 6.8.0-rc RK3588 kernel (Armbian Bookworm userspace), after that severe display object (including mouse) pausing/blocking. And Wayland black/disturbed screen so also not usable. Do not remember Tumbleweed at that time. Tumbleweed KDE6 Wayland on 6.1 vendor also had some issues AFAIR (when Tianocore EDK2-UEFI). Wiith U-Boot 2026 release candidate and also extra/new DTB loaded, maybe OK, have not used it on ROCK5B, but on NanoPi-R6C, although there U-Boot seemed to ignore HDMI. Maybe that is a benefit so kernel is the only object to handle HDMI, just pure guessing. Was/is no option for me as HDMI-audio does not work then.

Unfortunately I need audio…

One thing, that I would like to understand: The support for HDMI-CEC, that apparently has been developed successfully for the 6.1 kernel, why hasn’t it been integrated into the mainline kernel?

In the LibreElec forum I got a link to patches for the latest kernel:

It seems, that they will be integrated into version 6.19, so I just need to wait a bit.

1 Like

Ok, it works with 6.19! Now I just need to find a simple solution to translate the rc-events to input events for the console.

1 Like