acpi_device_uevent_modalias(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the struct device you 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 πŸ¦‹:


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