By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: WMI Marshalling Support For Linux Aims To Match Windows’ ACPI/WMI Handling
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > WMI Marshalling Support For Linux Aims To Match Windows’ ACPI/WMI Handling
Computing

WMI Marshalling Support For Linux Aims To Match Windows’ ACPI/WMI Handling

News Room
Last updated: 2025/12/21 at 6:55 AM
News Room Published 21 December 2025
Share
WMI Marshalling Support For Linux Aims To Match Windows’ ACPI/WMI Handling
SHARE

Open-source developer Armin Wolf has been working most recently on marshalling support for the Windows Management Instrumentation (WMI) platform code within the Linux kernel. This WMI marshalling support is to better match the behavior of Microsoft Windows’ WMI ACPI driver and ultimately to allow for better compatibility with some ACPI firmware and enhancing some WMI drivers.

The WMI marshalling support is up to its second post-RFC revision for this effort to better match the handling of Windows’ WMI ACPI driver. Wolf explained in this weekend’s v2 patch series about the work:

“The Windows WMI-ACPI driver likely uses wmilib to interact with the WMI service in userspace. Said library uses plain byte buffers for exchanging data, so the WMI-ACPI driver has to convert between those byte buffers and ACPI objects returned by the ACPI firmware.

The format of the byte buffer is publicly documented, and after some reverse [engineering] of the WMI-ACPI driver using a set of custom ACPI tables, the following conversion rules have been discovered:

– ACPI integers are always converted into a uint32
– ACPI strings are converted into special WMI strings
– ACPI buffers are copied as-is
– ACPI packages are unpacked

Extending the ACPI-WMI to perform this kind of marshalling for WMI data blocks, methods and events would give us a number of benefits:

– WMI drivers are not restricted to a fixed set of supported ACPI data types anymore, see dell-wmi-aio (integer vs buffer) and hp-wmi-sensors (string vs buffer)

– correct marshalling of WMI strings when data blocks are marked as requiring ACPI strings instead of ACPI buffers

– development of WMI drivers without having to understand ACPI

This eventually should result in better compatibility with some ACPI firmware implementations and in simpler WMI drivers.

The first patch extends the WMI driver core to perform said marshalling as well as a new API not based on ACPI objects. The next patch adds a KUnit test for testing the marshalling code. The following two patches then add a set of helper functions for dealing
with WMI string data together with another KUnit test.

The remaining patches then convert some simple WMI drivers to use the new WMI API and update the driver development guide so that new WMI drivers stop using the ACPI-based API.

The series has been tested on multiple machines, with the xiaomi-wmi and intel-wmi-sbl-fw-update being tested using a set of custom ACPI tables loaded over configFS.”

By better mirroring the Microsoft Windows behavior should ultimately help out with the WMI drivers in better supporting newer hardware, particularly laptops, on Linux. The code remains under review and testing on the kernel mailing list.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Trump Media to merge with fusion energy startup TAE in B all-stock deal –  News Trump Media to merge with fusion energy startup TAE in $6B all-stock deal – News
Next Article Get every creative AI tool you need in this lifetime deal for 86% off Get every creative AI tool you need in this lifetime deal for 86% off
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Huion Kamvas Pro 24 (Gen 3) drawing tablet Review: Wacom is in trouble
Huion Kamvas Pro 24 (Gen 3) drawing tablet Review: Wacom is in trouble
News
Our favorite stuff of 2025
Our favorite stuff of 2025
News
Pair Your Mac Mini With One of These Great Monitors
Pair Your Mac Mini With One of These Great Monitors
Gadget
Ace Combat 8 Will Incorporate Dogfighting Tips From Real Jet Pilots
Ace Combat 8 Will Incorporate Dogfighting Tips From Real Jet Pilots
News

You Might also Like

How to Delete a Pin from Pinterest [Step by Step Tutorial]
Computing

How to Delete a Pin from Pinterest [Step by Step Tutorial]

6 Min Read
Intel Prepares For KVM Guest VMs To Support Advanced Performance Extensions (APX)
Computing

Intel Prepares For KVM Guest VMs To Support Advanced Performance Extensions (APX)

2 Min Read
Linux 6.19-rc2 Adding Support For CRKD Guitar Controllers
Computing

Linux 6.19-rc2 Adding Support For CRKD Guitar Controllers

1 Min Read
The TechBeat: Why We Misjudge Our Own Effectiveness at Finding Software Bugs (12/21/2025) | HackerNoon
Computing

The TechBeat: Why We Misjudge Our Own Effectiveness at Finding Software Bugs (12/21/2025) | HackerNoon

7 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?