We do not receive any key presses on RPI 4/Buster with HDMI cable connected to LG TV and HDMI1 (port close to USB). We are using latest cec-client from CEC code https://github.com/Pulse-Eight/libcec/t ... cec-client.
> cec-client -i
libCEC version: 4.0.4, compiled on Linux-4.15.0-48-generic ... , features: P8_USB, DRM, P8_detect, randr, RPi, Exynos, AOCEC
All these command WORK:
echo "on 0" | cec-client RPI -s -d 2 // Turned LG TV ON
echo 'standby 0' | cec-client -s -d 2 // Turned LG TV OFF
echo 'as' | cec-client -s -d 2 // Made LG as Active source
echo 'scan' | cec-client -s -d 2
Buster Image: Linux 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l GNU/Linux
Same buster load on RPI 3 and 3B+ work - we can turn OFF/ON TV and we receive key presses.
We have changed several HDMI cables to make sure that HDMI cable is not an issue. We tried HDMI0 (port close to USB-C). That port does not display anything on TV and does work for us.
Has anybody successfully received key presses on RPI 4 using CEC lib, please point us to what we may be doing wrong.