cec_get_edid_phys_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cec_get_edid_phys_addr(9) πŸ’…

okay so bestie, this is a page from the Kernel API Manual β€” and no, it's not about the girlies, it's about the CEC subsystem in the kernel. we're literally digging through EDID data to find a physical address. stay with me, it's giving detective energy πŸ”βœ¨


✨ NAME ✨

cec_get_edid_phys_addr β€” find and return the physical address πŸŽ€

no cap, that's the whole job. it goes looking and hands you the address back.


🌸 SYNOPSIS 🌸

u16 cec_get_edid_phys_addr (const u8 *edid , unsigned int size ,
       unsigned int *offset );

look at that signature, she's iconic πŸ’… three args, returns a u16. periodt.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • edid β€” pointer to the EDID data πŸ’– this is the blob you're snooping through, bestie.
  • size β€” size in bytes of the EDID data 🌸 gotta tell her how far she's allowed to look, or she's just wandering.
  • offset β€” If not NULL then the location of the physical address bytes in the EDID will be returned here. This is set to 0 if there is no physical address found. 🎯 so like, she'll drop the coordinates in here for you β€” but if she comes back empty-handed, it's a big fat 0, no cap.

πŸ’œ RETURN πŸ’œ

the physical address πŸ”₯ or CEC_PHYS_ADDR_INVALID if there is none 😭 yeah, sometimes she just doesn't find it, and that's valid.


🌈 SEE ALSO 🌈

Kernel file ./include/media/cec.h β€” and the whole friend group, fr fr:

like, go read those too, they all hang out together 🫢


mwah πŸ’‹ that's the page! it lives under ./include/media in the kernel tree, and this particular rendering is dated October 2026 β€” so like, future vibes only β­πŸ‘‘ thanks for reading bestie, you ate πŸ’…βœ¨

πŸ“¦ where this page comes from