acpi_bus_scan(9)
π¦ 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:
acpi_scan_drop_device(9)acpi_fetch_acpi_dev(9)acpi_get_acpi_dev(9)acpi_dma_supported(9)acpi_get_dma_attr(9)acpi_dma_get_range(9)acpi_dma_configure_id(9)acpi_walk_dep_device_list(9)acpi_dev_clear_dependencies(9)acpi_dev_ready_for_enumeration(9)acpi_dev_get_next_consumer_dev(9)acpi_bus_trim(9)
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
- 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