For what it's worth, trying the above posted command `cec-client -s` did
not work for me on an x86_64 Intel i7 machine either.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
$ uname -a
Linux saturn 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux
One thing I noticed thanks to an error reported by a mythtv-frontend
utility called "mythscreenwizard" was this:
$ mythscreenwizard --verbose general --loglevel info --syslog local7 --quiet
libcec.so.3: cannot open shared object file: No such file or directory
So this mythscreenwizard utility was linked against libcec.so.3
presumably to detect display information over CEC.
However, even with libcec and libcec3 packages installed, this utility
still reported the same error. The packages themselves appear to be
missing the specific filename "libcec.so.3":
$ sudo apt-get -yq install libcec libcec4 libcec3
$ dpkg -L libcec
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libcec
/usr/share/doc/libcec/changelog.gz
/usr/share/doc/libcec/copyright
$ dpkg -L libcec4 | grep lib
/usr/share/doc/libcec4
/usr/share/doc/libcec4/changelog.gz
/usr/share/doc/libcec4/copyright
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libcec.so.4.0.1
/usr/lib/x86_64-linux-gnu/libcec.so.4
$ dpkg -L libcec3 | grep lib
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libcec.so.3.0.1
/usr/share/doc/libcec3
/usr/share/doc/libcec3/changelog.gz
/usr/share/doc/libcec3/copyright
/usr/lib/x86_64-linux-gnu/libcec.so.3.0
$ mythscreenwizard --verbose general --loglevel info --syslog local7 --quiet
libcec.so.3: cannot open shared object file: No such file or directory
After noticing this was missing, I added the symlink:
$ cd /usr/lib/x86_64-linux-gnu/
$ sudo ln -s libcec.so.3.0.1 /usr/lib/x86_64-linux-gnu/libcec.so.3
$ ls -l /usr/lib/x86_64-linux-gnu/libcec.so.*
$ ls -l /usr/lib/x86_64-linux-gnu/libcec.so.*
lrwxrwxrwx 1 root root 15 Oct 20 14:27
/usr/lib/x86_64-linux-gnu/libcec.so.3 -> libcec.so.3.0.1
lrwxrwxrwx 1 root root 15 Feb 20 2016
/usr/lib/x86_64-linux-gnu/libcec.so.3.0 -> libcec.so.3.0.1
-rw-r--r-- 1 root root 629760 Feb 20 2016
/usr/lib/x86_64-linux-gnu/libcec.so.3.0.1
lrwxrwxrwx 1 root root 15 Jan 3 2017
/usr/lib/x86_64-linux-gnu/libcec.so.4 -> libcec.so.4.0.1
-rw-r--r-- 1 root root 629640 Jan 3 2017
/usr/lib/x86_64-linux-gnu/libcec.so.4.0.1
$ mythscreenwizard --verbose general --loglevel info --syslog local7
--quiet
# NO MORE ERROR!
After this minor fix at least there was no more error. However, the
command still did not work:
$ cec-client -s
autodetect FAILED
Not sure what the next issue is, but perhaps I'll poke around a bit to
find out.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1655425
Title:
CEC on Raspberry Pi 3 not working
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcec/+bug/1655425/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs