CEC-Client errors

If I attempt scan HDMI CEC I get:

cec-client -s

  • failed to open vchiq instance

I found a blog post online that you need to add your user to the video group for permissions, so I did that and rebooted but still didn’t work.

vchiq is Raspberry Pi specific and not under Linux’s general HDMI CEC infrastructure.

1 Like

Is there a library to use HDMI CEC that works with Le Potato instead of cec-utils/cec-client? Or do I need to enable the hardware inside of Armbian and Rasbian?

If I run cec-client -l I get

libCEC version: 6.0.2, compiled on Linux-4.15.0-166-generic … , features: P8_USB, DRM, P8_detect, randr, RPi, Exynos, AOCEC
Found devices: NONE

What board are you using and what image are you using?

sudo cec-ctl
Driver Info:
        Driver Name                : meson-ao-cec
        Adapter Name               : meson_ao_cec
        Capabilities               : 0x0000011e
                Logical Addresses
                Transmit
                Passthrough
                Remote Control Support
                Connector Info
        Driver version             : 6.0.11
        Available Logical Addresses: 1
        DRM Connector Info         : card 1, connector 34
        Physical Address           : 3.0.0.0
        Logical Address Mask       : 0x0010
        CEC Version                : 2.0
        Vendor ID                  : 0x000c03 (HDMI)
        OSD Name                   : 'Playback'
        Logical Addresses          : 1 (Allow RC Passthrough)

          Logical Address          : 4 (Playback Device 1)
            Primary Device Type    : Playback
            Logical Address Type   : Playback
            All Device Types       : Playback
            RC TV Profile          : None
            Device Features        :
                None
1 Like

AML-S905X-CC (le potato)

Armbian 22.11 Jammy
Kernel 5.19.y, Size: 512Mb, Release date: Nov 30, 2022

Failed to open /dev/cec0: No such file or directory

I have the jumper closest to the micro USB power plug set in the default position away from the board edge. Which I believe is CEC vs GPIO.

Armbian does things differently than how we do our images. Please use the Armbian forum for those images. Our images are more optimized for and tested against our specific boards where as Armbian is more generic support.

Correct the jumper should be set away from the edge of the board.

1 Like

Which image do you recommend that has working CEC? I downloaded it off of this page.

https://libre.computer/products/aml-s905x-cc/

I tried your Rasbian Bullseye distro first and it errors the same.

I’m happy to use any distro since CEC is the primary feature I’m hoping to use the board for.

1 Like

@Gavin_Greenwalt Were you ever able to find a build that worked or a solution to one of the builds? I installed RPi on a Potato, installed the userland library, and still had no success running the cec, tvservice, or the vcgencmd commands. All of them produce similar errors. Like you, I want to be able to run these commands for HDMI control (I wanna Cron them actually, I want to schedule HDMI on and off as I want this potato to run a monitor and slideshow.)

@Gavin_Greenwalt @TailzPrime Were either of you able to resolve this issue? I’m using the i3Desktop image from this page - Le Potato – Armbian.

I’m getting the following error with cec-ctl

Failed to open /dev/cec0: No such file or directory

Thank you for any info you provide.

Has anyone been able to solve this problem? I’m facing the same error and have hit a dead end trying to discover where to go from here.

Thanks for any help anyone can provide.

We don’t support Armbian images since they’re setup differently than official images. For help with Armbian, go to forum.armbian.com.

For CEC use cec-ctl from v4l-utils:

cec-ctl
Driver Info:
	Driver Name                : meson-ao-cec
	Adapter Name               : meson_ao_cec
	Capabilities               : 0x0000011e
		Logical Addresses
		Transmit
		Passthrough
		Remote Control Support
		Connector Info
	Driver version             : 6.1.43
	Available Logical Addresses: 1
	DRM Connector Info         : card 1, connector 34
	Physical Address           : 1.0.0.0
	Logical Address Mask       : 0x0000
	CEC Version                : 2.0
	OSD Name                   : ''
	Logical Addresses          : 0 

cec-client was designed for non-upstream vendor kernels. Use cec-ctl which is designed for upstream kernels.

https://docs.kernel.org/admin-guide/media/cec.html

Which images do you recommend for HDMI-CEC use? Ubuntu, Raspbian?

It does not matter. cec-ctl works the same way.

cec-ctl is from the V4L2 people and is a proper project. cec-client is not.

1 Like