Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1658199
| From | Andy Lutomirski <luto@amacapital.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata |
| Date | 2017-06-06 00:50 +0200 |
| Message-ID | <tP8YV-nD-15@gated-at.bofh.it> (permalink) |
| References | <tLCCd-7vw-3@gated-at.bofh.it> <tLHVf-2Df-7@gated-at.bofh.it> <tP8vT-e0-5@gated-at.bofh.it> <tP8vT-e0-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jun 5, 2017 at 3:19 PM, Pali Rohár <pali.rohar@gmail.com> wrote:
> On Tuesday 06 June 2017 00:14:56 Darren Hart wrote:
>> On Sat, May 27, 2017 at 01:14:15PM +0200, Pali Rohár wrote:
>> > > metadata. I think that Samba has tools to interpret it, but there
>> > > is currently no interface to get the data in the first place.
>> >
>> > No, there is no non-ms-windows tool for interpreting those binary
>> > MOF (BMF) data yet.
>>
>> Good point. Updated.
>
> You are too late :-) Now there is my at https://github.com/pali/bmfdec
> See my email "Binary MOF buffer in WMI is finally decoded!".
>
It comes out like this on my laptop. I don't know enough about MOF to
know what we're supposed to do with this, but I suspect it at least
gives us the sizes of buffers that we should be passing to the various
methods.
class WMIEvent : __ExtrinsicEvent {
};
[WMI, Locale("MS\0x409"), Description("QDATA"),
guid("{ABBC0F60-8EA1-11d1-00A0-C90629100000}")]
class QDat {
[WmiDataId(1), read, write, Description("qdata")] uint8 Bytes[128];
};
[WMI, Dynamic, Provider("WmiProv"), Locale("MS\0x409"),
Description("BIOS WMI Query"),
guid("{8D9DDCBC-A997-11DA-B012-B622A1EF5492}")]
class WMI_Query {
[key, read] String InstanceName;
[read] Boolean Active;
[WmiDataId(1), read, write, Description("BIOS WMI info")] QDat QDATA;
};
[WMI, Locale("MS\0x409"), Description("Data"),
guid("{a3776ce0-1e88-11db-a98b-0800200c9a66}")]
class BDat {
[WmiDataId(1), read, write, Description("data")] uint8 Bytes[4096];
};
[WMI, Dynamic, Provider("WmiProv"), Locale("MS\0x409"),
Description("Interface"),
guid("{A80593CE-A997-11DA-B012-B622A1EF5492}")]
class BFn {
[key, read] String InstanceName;
[read] Boolean Active;
[WmiMethodId(1), Implemented, read, write, Description("Do BFn")]
void DoBFn([in, Description("Fn buf"), ID(0)] BDat Data, [out,
Description("Fn buf"), ID(0)] BDat Data);
};
[WMI, Dynamic, Provider("WmiProv"), Locale("MS\0x409"),
Description("Event"), guid("{9DBB5994-A997-11DA-B012-B622A1EF5492}")]
class BIOSEvent : WmiEvent {
[key, read] String InstanceName;
[read] Boolean Active;
[WmiDataId(1), read, write, Description("Ev buf")] QDat Data;
};
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Darren Hart <dvhart@infradead.org> - 2017-05-27 07:40 +0200
Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Pali Rohár <pali.rohar@gmail.com> - 2017-05-27 13:20 +0200
Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Andy Lutomirski <luto@kernel.org> - 2017-05-27 23:10 +0200
Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-05-30 17:30 +0200
Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Darren Hart <dvhart@infradead.org> - 2017-05-30 18:50 +0200
Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Pali Rohár <pali.rohar@gmail.com> - 2017-05-30 19:10 +0200
Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-30 19:30 +0200
Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Darren Hart <dvhart@infradead.org> - 2017-06-06 00:20 +0200
Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Pali Rohár <pali.rohar@gmail.com> - 2017-06-06 00:20 +0200
Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Andy Lutomirski <luto@amacapital.net> - 2017-06-06 00:50 +0200
Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Pali Rohár <pali.rohar@gmail.com> - 2017-06-06 13:10 +0200
Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Pali Rohár <pali.rohar@gmail.com> - 2017-06-06 16:00 +0200
RE: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata <Mario.Limonciello@dell.com> - 2017-06-06 16:00 +0200
Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata Darren Hart <dvhart@infradead.org> - 2017-06-06 04:40 +0200
csiph-web