STRUCT V4L2_KEVENT(9)
β¨ struct v4l2_kevent(9) β¨
okay so bestie, welcome to the Kernel API Manual β this is literally the page for struct v4l2_kevent, which is, and I cannot stress this enough, the internal kernel event struct π no cap, that's the whole vibe.
πΈ NAME πΈ
struct v4l2_kevent β the internal kernel event struct π
that's it, that's the name, she's internal and she's a struct.
π¦ SYNOPSIS π¦
struct v4l2_kevent {
struct list_head list;
struct v4l2_subscribed_event *sev;
struct v4l2_event event;
u64 ts;
};
like, look at her. four members. absolutely iconic lineup π«Ά
π Members π
yesss the members section, this is where it gets good β each one of these babies has a job and I'm gonna tell you exactly what it is, fr fr:
listβ the list node π§ for thev4l2_fh->availablelist. she's the linked-list girly holding her place in line, periodt.sevβ a pointer to the parentv4l2_subscribed_eventπ like, her mom basically. highkey the main character reference.eventβ the event itself β literally what it says on the tin, the actual event, no notes.tsβ the timestamp of the event β° so you know when things went down, iykyk.
π SEE ALSO π
if you're obsessed (and you should be) here's the whole friend group π β first up, the kernel file:
- Kernel file
./include/media/v4l2-event.hstruct v4l2_subscribed_event_ops(9)struct v4l2_subscribed_event(9)v4l2_event_dequeue(9)v4l2_event_queue(9)v4l2_event_queue_fh(9)v4l2_event_wake_all(9)v4l2_event_pending(9)v4l2_event_subscribe(9)v4l2_event_unsubscribe(9)v4l2_event_unsubscribe_all(9)v4l2_event_subdev_unsubscribe(9)v4l2_src_change_event_subscribe(9)v4l2_src_change_event_subdev_subscribe(9)
like, go read them all, they're all slay π₯
and that's the page bestie!! πβ¨ this lil masterpiece lives in ./include/media, dated October 2026, and it's filed under struct v4l2_kevent(9) β mwah, go off, kernel docs π
π
π¦ 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