STRUCT CEC_CONNECTOR_INFO(9)
β¨ struct cec_connector_info(9) β¨
okay so bestie, welcome to the Kernel API Manual π β this one's a little struct from the kernel headers and it's literally the vibe check for whether your CEC adapter has a connector attached, and which one. periodt.
πΈ NAME πΈ
struct cec_connector_info β tells if and which connector is associated with the CEC adapter.
like, it's the little matchmaker struct π«Ά. it answers "is there a connector? and which one?" no cap.
π SYNOPSIS π
struct cec_connector_info {
__u32 type;
union {
struct cec_drm_connector_info drm;
__u32 raw[16];
};
};
yes the indentation is a little quirky, she's iconic like that π
π¦ Members π¦
typeβ the connector type, if there even is one (if any). it's a__u32. slay.{unnamed_union}β an anonymous union. no name, all main character energy π.drmβ the drm connector info, typed asstruct cec_drm_connector_info. this is where the actual DRM details live β¨.rawβ an array of__u32(raw[16]) that's just there to pad the union. lowkey the padding queen π.
π SEE ALSO π
the kernel file ./include/uapi/linux/cec.h is the mothership, and here's the whole friend group you should go meet:
struct cec_msg(9)cec_msg_initiator(9)cec_msg_destination(9)cec_msg_opcode(9)cec_msg_is_broadcast(9)cec_msg_init(9)cec_msg_set_reply_to(9)cec_msg_recv_is_tx_result(9)cec_msg_recv_is_rx_result(9)struct cec_caps(9)struct cec_log_addrs(9)struct cec_drm_connector_info(9)struct cec_event_state_change(9)struct cec_event_lost_msgs(9)struct cec_event(9)
fr fr go read them, iykyk ππ
anyway that's the whole page bestie, hope it ate πβ¨
π§ sign-off time: this one lives at./include/uapi/linux, dated October 2026, and it's stillstruct cec_connector_info(9)β mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms