HDMI - CEC functionality

Does anybody know if HDMI - CEC is functional on the Rock5B?

Is it functional Out Of The Box?

1 Like
rock@rock-5b:~$ cec-ctl
Driver Info:
        Driver Name                : dwhdmi-rockchip
        Adapter Name               : dw_hdmi_qp
        Capabilities               : 0x0000000e
                Logical Addresses
                Transmit
                Passthrough
        Driver version             : 5.10.66
        Available Logical Addresses: 4
        Physical Address           : 1.0.0.0
        Logical Address Mask       : 0x0000
        CEC Version                : 2.0
        OSD Name                   :
        Logical Addresses          : 0

Aint a clue what I am doing but switch my monitor to a blank hdmi input it auto switches back to rock5 hdmi
So output would seem correct

rock@rock-5b:~$ sudo cec-ctl -M
[sudo] password for rock:
Driver Info:
        Driver Name                : dwhdmi-rockchip
        Adapter Name               : dw_hdmi_qp
        Capabilities               : 0x0000000e
                Logical Addresses
                Transmit
                Passthrough
        Driver version             : 5.10.66
        Available Logical Addresses: 4
        Physical Address           : 1.0.0.0
        Logical Address Mask       : 0x0000
        CEC Version                : 2.0
        OSD Name                   :
        Logical Addresses          : 0
Monitor All mode is not supported, falling back to regular monitoring


Initial Event: State Change: PA: 1.0.0.0, LA mask: 0x0000

(warn: State Change events were lost)
Event: State Change: PA: f.f.f.f, LA mask: 0x0000

Event: State Change: PA: 1.0.0.0, LA mask: 0x0000

(warn: State Change events were lost)
Event: State Change: PA: f.f.f.f, LA mask: 0x0000

Event: State Change: PA: 1.0.0.0, LA mask: 0x0000

Using the latest debian 11 image on my Rock5B I actually get this:

rock@rock-5b:~$ cec-ctl
Failed to open /dev/cec0: No such file or directory

Do i need to initialise CEC device somewhere first?

On android build CEC works great.

A kernel fix has been submitted only a few hours ago, now cec-ctl works on my Armbian as well.