cec_queue_pin_5v_event(9)
π cec_queue_pin_5v_event β a Kernel API Manual moment π
okay bestie, so this one lives in the Kernel API Manual (section 9, kernel-space girlies only π ) and it's genuinely so simple you're gonna slay it. It's literally just "hey, the 5V pin did a thing, and here's exactly when it did that thing." That's the whole vibe. β¨
πΈ NAME πΈ
cec_queue_pin_5v_event β queue a pin event with a given timestamp. no cap, that's it, that's the function π
β¨ SYNOPSIS β¨
void cec_queue_pin_5v_event (struct cec_adapter *adap , bool is_high ,
ktime_t ts );
notice how it returns void? she doesn't report back, she just does the thing and leaves. main character energy fr fr π
π¦ ARGUMENTS π¦
adapβ pointer to thecec_adapter. like, which adapter are we talking about, bestie? this one. π«Άis_highβ whentruethe 5V pin is high, otherwise it is low. yes queen, it's a bool, it's giving binary icon behavior πtsβ the timestamp for this event. it's aktime_t, so keep it accurate, the timeline is important β°
π₯ SEE ALSO π₯
the whole friend group shows up here, and yes you should go read them too:
- Kernel file
./include/media/cec.h struct cec_devnode(9)struct cec_adapter(9)cec_is_registered(9)cec_queue_pin_cec_event(9)cec_queue_pin_hpd_event(9)cec_get_edid_phys_addr(9)cec_phys_addr_invalidate(9)cec_get_edid_spa_location(9)
like, it's a whole cinematic universe of cec functions and honestly? obsessed πβ
reminder bestie: this page is from ./include/media and it's dated October 2026 β so yeah, future documentation, we stay ahead of the curve π
and that's the whole page, you ate that ππ§π
π¦ 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