2019-10-09, 21:59
We have been using libcec, cec-client on RPI 3B to turn ON/OFF TV and to receive remote control events. Recently we moved to RPI4. For RPI 4 we moved to latest libCEC (4.0.4) from https://github.com/Pulse-Eight/libcec.
We are able to Turn ON/OFF the TV, make TV Active Source etc using the cec-client. However we not receive any key press events from the remote. It seems like the hardware change to Micro HDMI or 2 HDMI ports is causing this issue. Same buster load works on RPI 3 and 3B+ i.e. we can turn OFF/ON TV and we do receive key presses.
Setup: RPI 4/Buster (Linux 4.19.66) with HDMI cable connected to LG TV and HDMI1 (port close to USB). We are using latest cec-client 4.0.4
> cec-client -i
libCEC version: 4.0.4, compiled on Linux-4.15.0-48-generic …
All these command WORK:
echo "on 0" | cec-client RPI -s // Turned LG TV ON
echo 'standby 0' | cec-client -s // Turned LG TV OFF
echo 'as' | cec-client -s // Made LG as Active source
echo 'scan' | cec-client -s
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.
Thank your for pointing us in the right direction!
We are able to Turn ON/OFF the TV, make TV Active Source etc using the cec-client. However we not receive any key press events from the remote. It seems like the hardware change to Micro HDMI or 2 HDMI ports is causing this issue. Same buster load works on RPI 3 and 3B+ i.e. we can turn OFF/ON TV and we do receive key presses.
Setup: RPI 4/Buster (Linux 4.19.66) with HDMI cable connected to LG TV and HDMI1 (port close to USB). We are using latest cec-client 4.0.4
> cec-client -i
libCEC version: 4.0.4, compiled on Linux-4.15.0-48-generic …
All these command WORK:
echo "on 0" | cec-client RPI -s // Turned LG TV ON
echo 'standby 0' | cec-client -s // Turned LG TV OFF
echo 'as' | cec-client -s // Made LG as Active source
echo 'scan' | cec-client -s
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.
Thank your for pointing us in the right direction!