Skip to contentSkip to conversation

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

PATCH In review Hridesh MG 3 participants 3 messages Jan 1, 2025 – Jan 7, 2025

Subsystems (3)
lore
Share & tools
lore

Hridesh MG

author
#0 lore raw

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

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.

---
 Documentation/wmi/driver-development-guide.rst | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/wmi/driver-development-guide.rst +4 -0
index 676873c98680..f7e1089a0559 100644
@@ -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
 --------------------------
 
Signature · 1 line
2.47.1
maintainer Reviewed-by on v1 1/1
#1 lore raw

Am 01.01.25 um 10:27 schrieb Hridesh MG:

Quoted 4 lines

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!

Quoted 21 lines
---
  Documentation/wmi/driver-development-guide.rst | 4 ++++
  1 file changed, 4 insertions(+)
Documentation/wmi/driver-development-guide.rst +4 -0
index 676873c98680..f7e1089a0559 100644
@@ -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
  --------------------------
 
maintainer
#2 lore raw
In reply to Hridesh MG
Quoted 6 lines · 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.

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.