acpi_bus_scan(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

Hiii bestie, welcome to the Kernel API Manual entry for acpi_bus_scan(9) β€” it literally adds ACPI device node objects in a given namespace scope. πŸ’…βœ¨

🌸 SYNOPSIS 🌸

int acpi_bus_scan (acpi_handle handle );

πŸŽ€ ARGUMENTS πŸŽ€

  • handle β€” Root of the namespace scope to scan. 🫢

πŸ’– DESCRIPTION πŸ’–

So basically: scan a given ACPI tree (probably recently hot-plugged, iykyk) and create and add the devices it finds. 🌈

If no devices were found, -ENODEV is returned β€” but bestie, that does not mean there’s been a real error. 😭 There just have been no suitable ACPI objects in the table trunk from which the kernel could create a device and add an appropriate driver. It’s giving β€œempty group chat,” not β€œemergency.” πŸ’€

Important caveat: this must be called under acpi_scan_lock. No cap. πŸ”₯

🌟 SEE ALSO 🌟

Kernel file ./drivers/acpi/scan.c β€” and the whole friend group is:


Okay bye bestie πŸ’‹ this page is from ./drivers/acpi, dated October 2026, and it’s literally acpi_bus_scan(9) β€” mwah πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from