How do I enable CEC on RPi4b?
This may be not entirely Slackware on Aarch64 related, but people here might know.
I want to play with controlling the computer with a TV remote, and it is supposed to be done with the CEC protocol. It is known that RPi supports CEC, but how do I enable it? https://www.linuxuprising.com/2019/0...connected.html Code:
echo 'scan' | cec-client -s -d 1 Code:
cec-ctl -l Code:
raspinfo | grep cec |
no, rpi itself does not support it, you need to install some software. For example if you use kodi it will automatically detect it and use it, so you will be able to use kodi with your tv remote (without any additional configuration). What do you want to control with your remote?
|
I figured it out.
CEC does not work with dtoverlay dtoverlay=vc4-fkms-v3d-pi4,cma=512, but it does work with dtoverlay=vc4-kms-v3d-pi4,cma=512. I need to try and see how other features work on it. |
Quote:
despite of it has been compiled in, see my post https://www.linuxquestions.org/quest...er-4175735804/ . Quote:
In this post I described turning your television on and off using cec-ctl. For me cec-ctl -m still doesn't give output when pressing buttons on my remote control of my television. |
Quote:
Code:
pan@pi4:~ $ cec-ctl -l Code:
pan@pi4:~ $ ls -l /dev/cec* and also you can use it with other software, like cec-client too (that was mentioned in your post too). Or try libreelec (if that works at all) https://forums.raspberrypi.com/viewtopic.php?t=364971 |
Quote:
1. I mentioned seeing the devices, so that's fine. 2. you cannot find the word "cec-client" in this thread, only cec-ctl: cec-client has been deprecated. In this post I have given an example to switch the television on and off. Libreelec works out of the box and Kodi with CEC on Raspberry Pi OS Bullseye and Bookworm too. My problem is on the Slackware arm platform. Quote:
|
All times are GMT -5. The time now is 11:50 AM. |