STRUCT CEC_CONNECTOR_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 as struct 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:

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 still struct cec_connector_info(9) β€” mwah πŸ’‹πŸ’–
πŸ“¦ where this page comes from