wmidev_evaluate_method(9)
okay bestie π you've landed on the wmidev_evaluate_method(9) page from the Kernel API Manual, and this one is giving βdeprecated but still in the group chatβ energy. Letβs get into it.
β¨ NAME β¨
wmidev_evaluate_method β Evaluate a WMI method (deprecated) π
π¦ SYNOPSIS π¦
acpi_status wmidev_evaluate_method (struct wmi_device *wdev , u8
instance , u32 method_id , const struct acpi_buffer *in , struct
acpi_buffer *out );
π ARGUMENTS π
wdevβ awmibus device from a driver π«Άinstanceβ the instance index, bestiemethod_idβ the method ID to callinβ a mandatory buffer containing input for the method calloutβ an empty buffer to return the method results
π DESCRIPTION π
Call an ACPI-WMI method. And listen: the caller must free out. That part is not optional, no cap π
β οΈ Also, heads up: this function is deprecated. It says so right in the NAME section, so donβt act surprised π
π RETURN π
acpi_status signaling success or error. Thatβs the vibe check: success or error, periodt.
π SEE ALSO π
Kernel file ./drivers/platform/wmi/core.c β and yes, thereβs a whole friend group to go peek at: wmi_instance_count(9), wmidev_instance_count(9), wmi_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_get_acpi_device_uid(9), wmi_driver_unregister(9) πΈ
mwah π β source/version: ./drivers/platform/wmi, date: October 2026 π
π¦ 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