Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Retain CEC logical address after hdmi mode change.

Avoid killing composite when attempting to start CEC or HDMI audio
  • Loading branch information...
commit a7f8cc61350fbe7f782011ae686ff13ab46b8ee2 1 parent 0a2e8d4
@popcornmix popcornmix authored
View
BIN  boot/arm128_start.elf
Binary file not shown
View
BIN  boot/arm192_start.elf
Binary file not shown
View
BIN  boot/arm240_start.elf
Binary file not shown
View
BIN  boot/start.elf
Binary file not shown
View
BIN  hardfp/opt/vc/bin/edidparser
Binary file not shown
View
6 hardfp/opt/vc/include/interface/vmcs_host/vc_cec.h
@@ -402,6 +402,7 @@ typedef enum {
VC_CEC_REMOTE_RELEASE = (1 << 5), /**<<Vendor Remote Button Up> */
VC_CEC_LOGICAL_ADDR = (1 << 6), /**<New logical address allocated or released */
VC_CEC_TOPOLOGY = (1 << 7), /**<Topology is available */
+ VC_CEC_LOGICAL_ADDR_LOST = (1 << 15) /**<Only for passive mode, if the logical address is lost for whatever reason, this will be triggered */
} VC_CEC_NOTIFY_T;
@@ -439,6 +440,8 @@ typedef enum {
* VC_CEC_TOPOLOGY topology bit
* mask New topology is avaiable
*
+ *VC_CEC_LOGICAL_ADDR_LOST Last log addr Phy addr "Last log addr" is no longer available
+ *
* Notes:
* VC_CEC_BUTTON_RELEASE and VC_CEC_REMOTE_RELEASE (<User Control Release> and <Vendor Remote Button Up> messages respectively)
* returns the code from the most recent <User Control pressed> <Vendor Remote button up> respectively.
@@ -455,6 +458,9 @@ typedef enum {
* must explicitly retrieve the entire topology if it wants to know how devices are connected. The bit mask includes our
* own logical address.
*
+ * If CEC is running in passive mode, the host will get a VC_CEC_LOGICAL_ADDR_LOST callback if the logical address is
+ * lost (e.g. HDMI mode change). In this case the host should try a new logical address. The physical address returned may
+ * also change, so the host should check this.
*/
/**
View
BIN  hardfp/opt/vc/lib/libEGL_static.a
Binary file not shown
View
BIN  hardfp/opt/vc/lib/libGLESv2_static.a
Binary file not shown
View
BIN  hardfp/opt/vc/lib/libbcm_host.so
Binary file not shown
View
BIN  hardfp/opt/vc/lib/libkhrn_client.a
Binary file not shown
View
BIN  hardfp/opt/vc/lib/libkhrn_static.a
Binary file not shown
View
BIN  hardfp/opt/vc/lib/libvcfiled_check.a
Binary file not shown
View
BIN  hardfp/opt/vc/lib/libvchostif.a
Binary file not shown
View
BIN  hardfp/opt/vc/lib/libvmcs_rpc_client.a
Binary file not shown
View
BIN  opt/vc/bin/edidparser
Binary file not shown
View
6 opt/vc/include/interface/vmcs_host/vc_cec.h
@@ -402,6 +402,7 @@ typedef enum {
VC_CEC_REMOTE_RELEASE = (1 << 5), /**<<Vendor Remote Button Up> */
VC_CEC_LOGICAL_ADDR = (1 << 6), /**<New logical address allocated or released */
VC_CEC_TOPOLOGY = (1 << 7), /**<Topology is available */
+ VC_CEC_LOGICAL_ADDR_LOST = (1 << 15) /**<Only for passive mode, if the logical address is lost for whatever reason, this will be triggered */
} VC_CEC_NOTIFY_T;
@@ -439,6 +440,8 @@ typedef enum {
* VC_CEC_TOPOLOGY topology bit
* mask New topology is avaiable
*
+ *VC_CEC_LOGICAL_ADDR_LOST Last log addr Phy addr "Last log addr" is no longer available
+ *
* Notes:
* VC_CEC_BUTTON_RELEASE and VC_CEC_REMOTE_RELEASE (<User Control Release> and <Vendor Remote Button Up> messages respectively)
* returns the code from the most recent <User Control pressed> <Vendor Remote button up> respectively.
@@ -455,6 +458,9 @@ typedef enum {
* must explicitly retrieve the entire topology if it wants to know how devices are connected. The bit mask includes our
* own logical address.
*
+ * If CEC is running in passive mode, the host will get a VC_CEC_LOGICAL_ADDR_LOST callback if the logical address is
+ * lost (e.g. HDMI mode change). In this case the host should try a new logical address. The physical address returned may
+ * also change, so the host should check this.
*/
/**
View
BIN  opt/vc/lib/libEGL_static.a
Binary file not shown
View
BIN  opt/vc/lib/libGLESv2_static.a
Binary file not shown
View
BIN  opt/vc/lib/libbcm_host.so
Binary file not shown
View
BIN  opt/vc/lib/libkhrn_client.a
Binary file not shown
View
BIN  opt/vc/lib/libkhrn_static.a
Binary file not shown
View
BIN  opt/vc/lib/libvcfiled_check.a
Binary file not shown
View
BIN  opt/vc/lib/libvchostif.a
Binary file not shown
View
BIN  opt/vc/lib/libvmcs_rpc_client.a
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.