wmidev_evaluate_method(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 β€” a wmi bus device from a driver 🫢
  • instance β€” the instance index, bestie
  • method_id β€” the method ID to call
  • in β€” a mandatory buffer containing input for the method call
  • out β€” 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