From: Carlos Corbacho <carlos@strangeworlds.co.uk>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: linux-acpi@vger.kernel.org, Len Brown <lenb@kernel.org>,
"Nashif, Anas" <anas.nashif@intel.com>
Subject: Re: [PATCH v5] ACPI: WMI: Add WMI-ACPI mapper driver
Date: Wed, 7 Nov 2007 11:51:00 +0000 [thread overview]
Message-ID: <200711071151.00852.carlos@strangeworlds.co.uk> (raw)
In-Reply-To: <20071107045421.GA8294@srcf.ucam.org>
On Wednesday 07 November 2007 04:54:22 Matthew Garrett wrote:
> On Sat, Nov 03, 2007 at 02:17:39AM +0000, Carlos Corbacho wrote:
> > Handle a MOF[1] - the WMI mapper just exports methods, data and events to
> > userspace. MOF handling is down to userspace.
>
> How does userspace obtain the MOF from the ACPI tables?
Normally, userspace does not obtain the MOF from the ACPI tables.
Basically, there are four possible ways to otain a MOF:
1) A method in the WMI-ACPI implementation - _some_ (very few) implementations
have a method in WMI-ACPI that will return a binary MOF (since the MS spec
suggests this is just one _possible_ way to provide the MOF, but that it is
not required).
2) Ask the hardware manufacturer or BIOS writer to provide it
3) Reverse engineer Windows software - try and extract the MOF from Windows
software (we managed to do this on some newer Acer laptops just
using 'strings', where the MOF was not converted to the binary MOF format).
4) Write your own MOF via experimentation, reverse engineering and guesswork
If you want, you can of course just bypass the whole MOF nonsense and start
talking to WMI-ACPI, if you know what you're doing; a MOF file is really only
required for a 'true' WBEM implementation - if you don't care about WBEM,
then a MOF is really just a specification which tells you (roughly) what the
interface does.
-Carlos
--
E-Mail: carlos@strangeworlds.co.uk
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D
next prev parent reply other threads:[~2007-11-07 11:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-03 2:17 [PATCH v5] ACPI: WMI: Add WMI-ACPI mapper driver Carlos Corbacho
2007-11-03 2:59 ` Carlos Corbacho
2007-11-07 4:54 ` Matthew Garrett
2007-11-07 11:51 ` Carlos Corbacho [this message]
2007-11-07 17:55 ` Matthew Garrett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200711071151.00852.carlos@strangeworlds.co.uk \
--to=carlos@strangeworlds.co.uk \
--cc=anas.nashif@intel.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox