Pulse-Eight / libcec

USB CEC Adapter communication Library http://libcec.pulse-eight.com/
Other
714 stars 287 forks source link

ubuntu on Raspberry PI 4 [ARM64] : autodetect failed #540

Open mihaiav opened 3 years ago

mihaiav commented 3 years ago

I have Ubuntu installed on a Raspberry PI4 and CEC fails to work. The HDMI port/TV surely supports CEC b/c it's the same HDMI port used by an Apple TV that works with the TV remote. Is this a bug or Ubuntu/Raspberry PI4 is not supported?

The error is:

$sudo cec-client
No device type given. Using 'recoding device'
CEC Parser created - libCEC version 6.0.2
no serial port given. trying autodetect: FAILED

uname

Linux 5.8.0-1007-raspi \#10-Ubuntu SMP PREEMPT aarch64 aarch64 aarch64 GNU/Linux
nsaeger1 commented 3 years ago

I am having auto detect failed as well on rasp pi 4 running ubuntu 20.10

$echo 'scan' | cec-client -s -d 1 autodetect FAILED $sudo cec-client -i libCEC version: 6.0.2, compiled on Linux-4.15.0-109-generic ... , features: P8_USB, DRM, P8_detect, randr, Exynos, AOCEC $uname -a Linux desktop 5.8.0-1006-raspi #9-Ubuntu SMP PREEMPT Fri Oct 16 12:55:30 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux $lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.10 Release: 20.10 Codename: groovy

JordanDDisch commented 3 years ago

if you don't need ubuntu you can 'sudo apt install cec-utils' on raspbian and it will work. But also experiencing this on ubuntu 20.04/Pi4

HeadFox commented 2 years ago

I tried to follow many guide but this one was the one to make it work : https://github.com/Pulse-Eight/libcec/issues/470#issuecomment-629702541 (Tried on Debian 11)