From: Paul Bolle <pebolle@tiscali.nl>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Len Brown <lenb@kernel.org>, Rubin Abdi <rubin@starset.net>,
linux-acpi@vger.kernel.org, linux-thinkpad@linux-thinkpad.org
Subject: Re: ACPI / dock: ThinkPad X220: \_SB_.PCI0.LPC_.EC__.BAT1: Unable to dock!
Date: Wed, 13 Aug 2014 13:49:10 +0200 [thread overview]
Message-ID: <1407930550.27564.4.camel@x220> (raw)
In-Reply-To: <1407923335.2121.27.camel@x220>
On Wed, 2014-08-13 at 11:48 +0200, Paul Bolle wrote:
> - XB1S is apparently 0x00 at first resume (I don't know how that
> happens);
Perhaps because this battery's _EJ0 method was evaluated previously
(say, during suspend):
DefinitionBlock ("dsdt.aml", "DSDT", 1, "LENOVO", "TP-8D ", 0x00001390)
{
Scope (\_SB)
{
Device (PCI0)
{
Device (LPC)
{
Device (EC)
{
Device (BAT1)
{
Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device
{
If (Arg0)
{
[...]
Store (0x00, XB1S) /* \_SB_.PCI0.LPC_.EC__.BAT1.XB1S */
}
}
}
}
}
}
}
}
But I don't know whether that _EJ0 method is actually evaluated during
the first boot and suspend cycle.
Paul Bolle
next prev parent reply other threads:[~2014-08-13 11:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-29 21:46 ACPI / dock: ThinkPad X220: \_SB_.PCI0.LPC_.EC__.BAT1: Unable to dock! Paul Bolle
2014-07-29 22:02 ` Paul Bolle
2014-07-29 22:23 ` Rafael J. Wysocki
2014-07-29 22:09 ` Paul Bolle
2014-07-29 22:36 ` Rafael J. Wysocki
2014-08-13 9:48 ` Paul Bolle
2014-08-13 11:49 ` Paul Bolle [this message]
2014-07-29 23:39 ` Henrique de Moraes Holschuh
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=1407930550.27564.4.camel@x220 \
--to=pebolle@tiscali.nl \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-thinkpad@linux-thinkpad.org \
--cc=rjw@rjwysocki.net \
--cc=rubin@starset.net \
/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.