acpi_device_uevent_modalias(9)
π NAME π
acpi_device_uevent_modalias β uevent modalias for ACPI-enumerated devices. Okay bestie, you're reading the page for acpi_device_uevent_modalias(9) from the Kernel API Manual, and it's lowkey iconic β¨
π SYNOPSIS π
The signature, exactly as it is, no edits bestie:
int acpi_device_uevent_modalias (const struct device *dev , struct
kobj_uevent_env *env );
π¦ ARGUMENTS π¦
devβ this is thestruct deviceyou hand over so we can grab the ACPI device node πenvβ the environment variables of the kobject uevent π«Ά
πΈ DESCRIPTION πΈ
This function is highkey here to create the uevent modalias field for ACPI-enumerated devices π
Because other buses do not support ACPI HIDs & CIDs, e.g. for a device with hid:IBM0001 and cid:ACPI0001, you get "acpi:IBM0001:ACPI0001" β and that's the exact string, no cap π₯ Periodt.
π SEE ALSO π
Kernel file ./drivers/acpi/device_sysfs.c is right there waiting for your attention, iykyk π¦:
create_pnp_modalias(9)create_of_modalias(9)acpi_device_modalias(9)acpi_device_setup_files(9)acpi_device_remove_files(9)
That's the whole page, bestie π«Ά β source/version: ./drivers/acpi; date: October 2026; manual title: acpi_device_uevent_modalias(9). Slay and bye π
π¦ 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