Re: [PATCH v5] ACPI: WMI: Add WMI-ACPI mapper driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux