Skip to content

RPiCECAdapterDetection: Include check that we can set passive mode#678

Merged
opdenkamp merged 1 commit intoPulse-Eight:masterfrom
chincheta0815:rpi_cec_adapter_detection
Mar 5, 2025
Merged

RPiCECAdapterDetection: Include check that we can set passive mode#678
opdenkamp merged 1 commit intoPulse-Eight:masterfrom
chincheta0815:rpi_cec_adapter_detection

Conversation

@chincheta0815
Copy link
Contributor

This allows the firmware driver to be discounted when not available (e.g. using KMS driver) (original commit by popcornmix popcornmix/libcec@b30fc83)

this is the RPiCECAdapterDetection part of #672

This allows the firmware driver to be discounted when not available (e.g. using KMS driver)
(original commit by popcornmix popcornmix/libcec@b30fc83)
return false;

bcm_host_init();
iResult = vc_cec_set_passive(true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be nicer to rewrite these 4 lines as return (vc_cec_set_passive(true) == VCHIQ_SUCCESS);

@opdenkamp opdenkamp merged commit 20222b1 into Pulse-Eight:master Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants