event_device_notify(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 to Notify in 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:

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