Re: ACPI_WMI: worst config description of all times

From: Carlos Corbacho
Date: Thu Feb 07 2008 - 18:18:55 EST


On Thursday 07 February 2008 22:34:55 Pavel Machek wrote:
> +3) What is the ACPI-WMI mapper
> +
> +The Linux ACPI-WMI driver is the implementation of this mapper for Linux.
>
> Yes, please. This needs translation into plain english.

In plain English? ACPI-WMI is a nasty hack/ abuse of ACPI by Microsoft to
force their driver model into ACPI, and that should be thoroughly discouraged
from further use.

However, since quite a few laptop vendors rely on it for basic functionality,
we have to implement it (or a part of it) as well.

Yes, WMI itself is supposed to be an instrumentation/ management thing, as
well as, if I understand, part of their driver model, and ACPI-WMI is a part
of that - by and of itself though, ACPI-WMI is _not_ the whole of WMI.

All that the Linux driver currently cares about is translating this crap into
something that we can actually use in Linux to make hardware work (kernel
space). So at the moment, ACPI-WMI is exactly what it says it is - not a lot.
It needs another driver on top to do something useful (e.g. acer-wmi,
tc1100-wmi).

Later on, we will try and replicate the rest of the 'specification', which is
supposed to export all this rubbish (data, and direct access to various ACPI
methods defined in a WMI device) to userspace.

> What is WBEM, in plain terms? What is it good for?

If you can make heads or tails of WBEM, please feel free to let me know.

AFAICT, it's supposed to be a means of providing some sort of web based
management/ instrumentation.

So yes, I agree with you the documentation is crap - but it needs to be redone
anyway, and I've already had that pointed out to me.

As for the Kconfig - I'm open to suggestions.

-Carlos
--
E-Mail: carlos@xxxxxxxxxxxxxxxxxxx
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/