wmi_get_acpi_device_uid(9)
π wmi_get_acpi_device_uid(9) β the Kernel API Manual page bestie edition β¨
okay so this is a page from the Kernel API Manual, and it's called wmi_get_acpi_device_uid β say that five times fast, i literally can't π
πΈ NAME πΈ
wmi_get_acpi_device_uid β grab the _UID name of the ACPI device that defines a GUID. warning bestie: this one is deprecated π (still here, still slaying, but likeβ¦ retired slay)
β¨ SYNOPSIS β¨
char * wmi_get_acpi_device_uid (const char *guid_string );
π ARGUMENTS π
guid_stringβ a 36 char string, and it looks exactly like this:fa50ff2b-f2e8-45de-83fa-65417f2f49ba. yes, all 36 characters, no shortcuts, no vibes-only, the whole thing π
π¦ DESCRIPTION π¦
So what it does: it finds the _UID of the ACPI device that's associated with this WMI GUID. that's it, that's the whole plot π«Ά
β RETURN β
It gives you back the ACPI _UID field value β¨ β or NULL if the WMI GUID was not found, in which caseβ¦ no vibes, no UID, just NULL π
π SEE ALSO π
Kernel file ./drivers/platform/wmi/core.c β go read the source, iykyk π
wmi_instance_count(9)wmidev_instance_count(9)wmi_evaluate_method(9)wmidev_evaluate_method(9)wmidev_invoke_method(9)wmidev_invoke_procedure(9)wmi_query_block(9)wmidev_block_query(9)wmidev_query_block(9)wmi_set_block(9)wmidev_block_set(9)wmidev_set_block(9)wmi_install_notify_handler(9)wmi_remove_notify_handler(9)wmi_has_guid(9)wmi_driver_unregister(9)
fr fr bestie, that's a whole friend group of manpages and they all ate π
and that's the tea π this page lives in ./drivers/platform/wmi, it's stamped October 2026, and the manual is the Kernel API Manual β mwah, drink water, close your brackets, 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