-
Notifications
You must be signed in to change notification settings - Fork 1.7k
CEC device control over HDMI1 Raspberry pi 4 #1342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Currently CEC only supports a single connection. You should be able to choose for that to be HDMI1 via |
Any way to switch between them without editing config.txt and rebooting? |
No, and it's not a simple thing to fix via the firmware. We are working to bring up a full KMS/DRM driver (instead of the current hybrid), and that should support independent CEC from the two connectors. How libcec handles that is anyone's guess. |
The only way to turn off a second device plugged into the second HDMI port that I can see is to use a peripheral infrared device which is a complex work around. Is there any timeline or road map of any description which points towards the second HDMI port having CEC functionality ? Raspberry pi foundation sees it as a low use case because everyone who is using dual monitors has already switched to competing platforms on this issue. |
The kms driver has working CEC. You can update to it here |
It can not utilize both ports though ? Is that correct ? |
I believe the kernel supports both ports. How you drive them is up to the userland apps/lib like libcec. |
Thanks. I understand this is bugs only - not discussion, so sorry for this question. That all looks scary and above my pay grade messing directly with firmware on a new kernel. I have built the HDMI-CEC lib and use it from the command line inside Python to turn TV on/off on port HDMI 0 Updating the kernel (and firmware) will allow me to call both HDMI 0 and HDMI 1 from command line - or will I have to rebuild these libraries hard coded to the ports and the use each for their port. I have several Raspi 4 4GB spare with cards all duplicated so I can experiment with one - I am rolling out commercial / industrial application. Again, sorry and thanks. |
Firmware is largely irrelevant with kms (arm controls hdmi). You will need to use rpi-update to get 5.4 kernel (and switch to kms)
Hopefully that will work on hdmi0. Then try changing /dev/cec0 to /dev/cec1 and rebuild libcec. Check if that works on cec1. |
Thank you for this. |
CEC-client does not detect any device plugged into the HDMI1 port on the raspberry pi 4
No idea what this could be an issue with, or if it is an issue with the CEC protocol in the first place, as having multiple sinks controlled by a single source seems like a scenario uncovered in documentation.
Ideally, I would be able to turn on or off both displays connected to the device.
The text was updated successfully, but these errors were encountered: