Re: ACPI Battery status on Acer TravelMate a-550XV
From: Ducrot Bruno <hidden>
Date: 2002-11-16 13:47:43
Hi Robert, On Fri, Nov 15, 2002 at 10:45:38AM -0800, Moore, Robert wrote:
quoted
From looking at your disassembled dsdt, I think that there is a problem withthe _BIF method: Method (_BIF, 0, NotSerialized) { Name (STAT, Package (0x0D) { 0x01, 0x1194, 0x1194, 0x01, 0x39D0, 0x01A4, 0x9C, 0x0108, 0x0EC4, "PXBAS008", "3658Q", "NiMH ", Zero, "PANASONIC" }) ... Sleep (0x64) ... Return (STAT) } 1) The sleep within the method will allow another thread to begin execution of the same method -- because the method is declared "NotSerialized" 2) The declaration of the "STAT" package in the namespace will fail with AE_ALREADY_EXISTS if a second thread reenters the method (exactly the problem you are seeing when you pop the battery back in.) My suggested fix: Disassemble the dsdt (iasl -d dsdt.dat) Change "NotSerialized" to "Serialized" in the declaration of _BIF. Recompile and install the new dsdt (Override the BIOS dsdt)
Just for your info. You should look at http://marc.theaimsgroup.com/?l=acpi4linux&m=101586220402069&w=2 with also this s/must be declared/should be declared/ BTW, I think that it is more likely an ACPI spec issue, and it should be clarified in other release of the spec. -- Ducrot Bruno http://www.poupinou.org Page profaissionelle http://toto.tu-me-saoules.com Haume page ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html