[ltp] Re: ACPI / dock: ThinkPad X220: \_SB_.PCI0.LPC_.EC__.BAT1: Unable
to dock!
Paul Bolle
linux-thinkpad@linux-thinkpad.org
Wed, 13 Aug 2014 13:49:10 +0200
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