acpi_bus_notify(9)
π acpi_bus_notify(9) β like, the Kernel API Manual entry, bestie π
okay so we're doing a manpage from the Kernel API Manual, section 9, and honestly? this one's a little diva β tiny page, big "i only do one thing" energy. but that one thing is lowkey important so let's get into it π«Ά
β¨ NAME β¨
acpi_bus_notify β the global system-level (0x00-0x7F) notifications handler π
like, that's the whole flex. it's the handler for that range. no cap.
πΈ SYNOPSIS πΈ
void acpi_bus_notify (acpi_handle handle , u32 type , void *data );
yes the spacing in there is a little crunchy, that's just how the manpage wrote it, leave her alone π
π¦ ARGUMENTS π¦
handleβ the target ACPI object. this is the thing we're talking about, the main character of the call β¨typeβ the notification type. tells you what kind of notification is happening.dataβ ignored. periodt. it's there, it's in the signature, we do not look at it. π
π DESCRIPTION π
okay so here's the tea: this handler only handles notifications related to device hotplug. that's it. that's the whole scope. if you were hoping it does more β nope, not her job π
π SEE ALSO π
- the kernel file
./drivers/acpi/bus.cβ like, the actual source, go look π devm_acpi_install_notify_handler(9)acpi_bus_get_primary_device(9)acpi_get_first_physical_node(9)acpi_device_is_first_physical_node(9)acpi_of_match_device(9)acpi_set_modalias(9)acpi_match_acpi_device(9)acpi_match_device(9)acpi_bus_find_device_by_name(9)acpi_early_init(9)acpi_subsystem_init(9)
that's a whole friend group right there honestly, they all hang out in the same part of the kernel π
reminder bestie: data is ignored. don't build your whole personality around passing something useful in there, she will not be reading it π
and that's the page! pookie this came straight out of ./drivers/acpi, October 2026 edition, delivered to you by the Kernel API Manual herself. slay, stay hydrated, and go read your notify handlers π
πππ¦
π¦ 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