CEC support on vim4

Which system do you use? Android, Ubuntu, OOWOW or others?

Khadas Vim4, vim4-ubuntu-24.04-server-linux-5.15-fenix-1.7.5-260422-develop.img built with fenix v1.7.5

Please describe your issue below:

In the vim4 documentation, it states there is cec support. Could someone advise on the right tools to interact with the cec controller? It seems the default cec device in the vim4 dts exposes an interface which is not the linux kernel cec standard one but a hardware specific one, hence the v4utils cec-ctl does not work.

Post a console log of your issue below:


khadas@Khadas:~$ dmesg | grep cec
[    3.026186] input: cec_input as /devices/virtual/input/input6
[    3.026713] cec: share pin mux to b
[    3.077513] cec: wakeup_reason:0x0
[    3.116292] cec: wakeup_data: 0x0 0x0
[   10.723925] cec: port_seq:4321
[45909.260546] cec: error ioctrl: 0xc04c6100
[45909.260577] cec: error ioctrl: 0x80026101
[45909.260592] cec: error ioctrl: 0x805c6103
[45909.260607] cec: error ioctrl: 0x8044610a

Hello @underthetable

CEC should working on Android, could you tell us for what reason you want to us CEC on Lihux?

Hi @numbqq. Thank you for the reply.

I’d like to capture audio over ARC or eARC for DSP, and then output over a USB DAC probably.

Right now, I can only test with an ARC source, and it’s my understanding ARC requires CEC to be enabled, since it is used for the link negotiation.