X86 platform drivers
 help / color / mirror / Atom feed
From: Sebastian Riemer <sebastian.riemer@profitbricks.com>
To: Corentin Chary <corentin.chary@gmail.com>
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>,
	platform-driver-x86@vger.kernel.org
Subject: Re: How to implement ACPI EC support?
Date: Fri, 02 Nov 2012 12:43:18 +0100	[thread overview]
Message-ID: <5093B1D6.7020807@profitbricks.com> (raw)
In-Reply-To: <CAHR064jOAKNWgDanyO5EEoWSd6bnaCa6UpAL9O7WZSSMJyvD0w@mail.gmail.com>

First of all: Thank you very much for your responses!

On 02.11.2012 10:57, Corentin Chary wrote:
> On Fri, Nov 2, 2012 at 2:12 AM, Henrique de Moraes Holschuh
> <hmh@hmh.eng.br> wrote:
>
>> It was done through lots of trial and error by several people over more than
>> a decade, and sometime ago SuSE managed to get me in contact with some
>> Lenovo ThinkPad firmware engineers in Japan, which did help a lot.
>>
>> However, thinkpad-acpi is an old driver, you might want to ask the
>> maintainers of newer WMI-based drivers about how they are managing...
> I don't know if WMI can really help here, but will free to use wmidump
> to extract all WMI informations, and
>
> http://lwn.net/Articles/391230/
> https://github.com/iksaif/wmidump
> http://msdn.microsoft.com/en-us/library/windows/hardware/ff565588
> http://glucik.blogspot.com/2011/12/mof-decompilation.html  (!!! the
> tool is Wmimofck.exe not wmiofck.exe)

Nope, I guess not. There is no MOF stuff in the DSDT.

wmidump:

C16C47BA-50E3-444A-AF3A-B1C348380000:
    object_id: 00
    notify_id: 30
    reserved: 30
    instance_count: 1
    flags: 0x1 ACPI_WMI_EXPENSIVE
C16C47BA-50E3-444A-AF3A-B1C348380001:
    object_id: 00
    notify_id: 30
    reserved: 30
    instance_count: 1
    flags: 0x2 ACPI_WMI_METHOD

The method WM00 uses completely different fields.

On Windows the EC is handled by "intel.sys" if I've seen that right.
"objdump -xS" on it would show big big disassembly output for sure. So
Windows debugging is needed I guess.

I've also asked the Samsung support for documentation. They want to do
internal research. At least they didn't answer "Linux is not a supported
operating system." like other big companies do.

Cheers,
Sebastian

  reply	other threads:[~2012-11-02 11:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-31 13:50 How to implement ACPI EC support? Sebastian Riemer
2012-11-02  2:12 ` Henrique de Moraes Holschuh
2012-11-02  9:57   ` Corentin Chary
2012-11-02 11:43     ` Sebastian Riemer [this message]
2012-11-02 11:46       ` Corentin Chary
2012-11-02 11:49         ` Sebastian Riemer
2012-11-02 11:51           ` Corentin Chary

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=5093B1D6.7020807@profitbricks.com \
    --to=sebastian.riemer@profitbricks.com \
    --cc=corentin.chary@gmail.com \
    --cc=hmh@hmh.eng.br \
    --cc=platform-driver-x86@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox