All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlos Corbacho <carlos@strangeworlds.co.uk>
To: Duarte Silva <duartejcsilva@gmail.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Problems evaluating WMI method
Date: Wed, 1 Oct 2008 21:26:28 +0100	[thread overview]
Message-ID: <200810012126.29618.carlos@strangeworlds.co.uk> (raw)
In-Reply-To: <200810012113.50723.duartejcsilva@gmail.com>

On Wednesday 01 October 2008 21:13:50 Duarte Silva wrote:
> I got the correct answer when I do instance = 0x33 and method_id = 0x01.
> So, I looked at hp-wmi.c code and acer-wmi.c and they depend on this
> instance and method_id. But my laptop doesnt seem to depend. 

acer-wmi doesn't rely on the instance_id, it just gets ignored. It does use 
the method_id though.

> Is this 
> instance and method_id a WMI standart or is it a HP and Acer laptop
> specific? My laptop is a LG.

Yes, these are part of the WMI standard (in that, they need to be passed in). 
I would recommend you read through the spec:

http://web.archive.org/web/20071011004327/http://www.microsoft.com/whdc/system/pnppwr/wmi/wmi-acpi.mspx

Essentially - you need to pass the instance and method id's, but what values 
you pass and their meaning is completely vendor specific (which is pretty 
much a good summary of ACPI-WMI in general).

-Carlos
-- 
E-Mail: carlos@strangeworlds.co.uk
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D

  reply	other threads:[~2008-10-01 20:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-01 20:13 Problems evaluating WMI method Duarte Silva
2008-10-01 20:26 ` Carlos Corbacho [this message]
2008-10-01 20:48   ` Duarte Silva
  -- strict thread matches above, loose matches on Subject: below --
2008-09-30 22:56 Duarte Silva
2008-10-01 17:55 ` Carlos Corbacho
2008-10-01 18:22   ` Duarte Silva

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=200810012126.29618.carlos@strangeworlds.co.uk \
    --to=carlos@strangeworlds.co.uk \
    --cc=duartejcsilva@gmail.com \
    --cc=linux-acpi@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.