[PATCH] docs: platform/x86: wmi: mention tool for invoking WMI methods

Subsystems: acpi wmi driver, documentation, the rest · Maintainers: Armin Wolf, Jonathan Corbet, Linus Torvalds

STALE656d LANDED

Status: Landed in mainline as 98e45f0d7b99 on 2025-01-09.

3 messages, 3 authors, 2025-01-07 · open the first message on its own page

[PATCH] docs: platform/x86: wmi: mention tool for invoking WMI methods

From: Hridesh MG <hidden>
Date: 2025-01-01 09:27:45

Add a reference to WMIExplorer, a tool useful for inspecting and
invoking WMI methods on Windows. This can assist developers in testing
and understanding WMI device functionality when porting drivers to
Linux.

Signed-off-by: Hridesh MG <redacted>
---
 Documentation/wmi/driver-development-guide.rst | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/Documentation/wmi/driver-development-guide.rst b/Documentation/wmi/driver-development-guide.rst
index 676873c98680..f7e1089a0559 100644
--- a/Documentation/wmi/driver-development-guide.rst
+++ b/Documentation/wmi/driver-development-guide.rst
@@ -41,6 +41,10 @@ helps in understanding how the WMI device is supposed to work. The path of the A
 method associated with a given WMI device can be retrieved using the ``lswmi`` utility
 as mentioned above.
 
+If you are attempting to port a driver to Linux and are working on a Windows
+system, `WMIExplorer <https://github.com/vinaypamnani/wmie2>`_ can be useful
+for inspecting available WMI methods and invoking them directly.
+
 Basic WMI driver structure
 --------------------------
 
-- 
2.47.1

Re: [PATCH] docs: platform/x86: wmi: mention tool for invoking WMI methods

From: Armin Wolf <W_Armin@gmx.de>
Date: 2025-01-01 18:52:17

Am 01.01.25 um 10:27 schrieb Hridesh MG:
Add a reference to WMIExplorer, a tool useful for inspecting and
invoking WMI methods on Windows. This can assist developers in testing
and understanding WMI device functionality when porting drivers to
Linux.
Nice find!

Reviewed-by: Armin Wolf <W_Armin@gmx.de>
quoted hunk
Signed-off-by: Hridesh MG <redacted>
---
  Documentation/wmi/driver-development-guide.rst | 4 ++++
  1 file changed, 4 insertions(+)
diff --git a/Documentation/wmi/driver-development-guide.rst b/Documentation/wmi/driver-development-guide.rst
index 676873c98680..f7e1089a0559 100644
--- a/Documentation/wmi/driver-development-guide.rst
+++ b/Documentation/wmi/driver-development-guide.rst
@@ -41,6 +41,10 @@ helps in understanding how the WMI device is supposed to work. The path of the A
  method associated with a given WMI device can be retrieved using the ``lswmi`` utility
  as mentioned above.

+If you are attempting to port a driver to Linux and are working on a Windows
+system, `WMIExplorer <https://github.com/vinaypamnani/wmie2>`_ can be useful
+for inspecting available WMI methods and invoking them directly.
+
  Basic WMI driver structure
  --------------------------

Re: [PATCH] docs: platform/x86: wmi: mention tool for invoking WMI methods

From: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Date: 2025-01-07 18:36:21

On Wed, 01 Jan 2025 14:57:29 +0530, Hridesh MG wrote:
Add a reference to WMIExplorer, a tool useful for inspecting and
invoking WMI methods on Windows. This can assist developers in testing
and understanding WMI device functionality when porting drivers to
Linux.

Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] docs: platform/x86: wmi: mention tool for invoking WMI methods
      commit: 0d64d0d7e18ae331e7d8009c15db702c1f4c53f2

--
 i.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help