Raspberry Pi 3 cec-client autodetect FAILED

Good day,

Hoping someone can help me out here.

I just bought a Raspberry Pi 3 and loaded OSMC onto it.

I’m trying to get cec-client commands to work with my Sony Bravia but no luck so far.

CEC is working with my Sony remote so that is not an issue.

What I have tried:

Running sudo apt install cec-utils , this installs just fine. But, running echo 'scan' | cec-client -s -d 1 returns autodetect FAILED .

Any help is appreciated.

The cec-utils package from upstream Debian will not work on Pi as it hasn’t been built to support it. Instead you should use the version which already ships in OSMC.

@sam_nazarko thanks. How do I go about using the shipped version from this point? Sorry, I am a newbie at all of this.

You need to uninstall any packages that cec-utils installed and depends on (likely libcec packages too).

That did the trick.