event_device_notify(9)
π event_device_notify(9) π
okay so welcome to the Kernel API Manual, bestie β this is the page for event_device_notify, and yes it's a kernel function so we're doing Big Girl Unix today π
β¨ NAME β¨
event_device_notify β the callback that fires when the EC generates an event over ACPI. literally its whole job π«Ά
πΈ SYNOPSIS πΈ
void event_device_notify (acpi_handle handle , u32 value , void *data );
no cap, that's the whole signature. three args, returns nothing, moves on with its life π
π¦ ARGUMENTS π¦
handleβ the ACPI handle of the device that the event is coming from. like, which device is being all chatty rn πvalueβ the value passed toNotifyin ACPI. that's the notification code, iykyk β¨dataβ the notify handler data. the little payload that gets handed along π
β DESCRIPTION β
okay so here's the tea: this function reads the events from the device and enqueues them. that's it, that's the whole vibe β grab the events, toss 'em in the queue, done. main character energy but make it a callback π₯
π SEE ALSO π
the squad, fr fr β all hanging out in the kernel file ./drivers/platform/chrome/wilco_ec/event.c:
struct ec_event(9)struct ec_event_queue(9)struct event_device_data(9)enqueue_events(9)event_read(9)free_device_data(9)event_device_probe(9)
go read them, they're iconic π
and that's the page bestie π big sign-off energy: this one comes from ./drivers/platform/chrome/wilc... and it's dated October 2026, with event_device_notify(9) right there in the corner like the little legend it is. 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