162306a36Sopenharmony_ci.. SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci============================== 462306a36Sopenharmony_ciWMI embedded Binary MOF driver 562306a36Sopenharmony_ci============================== 662306a36Sopenharmony_ci 762306a36Sopenharmony_ciIntroduction 862306a36Sopenharmony_ci============ 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciMany machines embed WMI Binary MOF (Managed Object Format) metadata used to 1162306a36Sopenharmony_cidescribe the details of their ACPI WMI interfaces. The data can be decoded 1262306a36Sopenharmony_ciwith tools like `bmfdec <https://github.com/pali/bmfdec>`_ to obtain a 1362306a36Sopenharmony_cihuman readable WMI interface description, which is useful for developing 1462306a36Sopenharmony_cinew WMI drivers. 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciThe Binary MOF data can be retrieved from the ``bmof`` sysfs attribute of the 1762306a36Sopenharmony_ciassociated WMI device. Please note that multiple WMI devices containing Binary 1862306a36Sopenharmony_ciMOF data can exist on a given system. 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ciWMI interface 2162306a36Sopenharmony_ci============= 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ciThe Binary MOF WMI device is identified by the WMI GUID ``05901221-D566-11D1-B2F0-00A0C9062910``. 2462306a36Sopenharmony_ciThe Binary MOF can be obtained by doing a WMI data block query. The result is 2562306a36Sopenharmony_cithen returned as an ACPI buffer with a variable size. 26