Re: Acer Aspire 1511LMi - battery unreadable

From
Karl Vogel <hidden>
Date
2004-06-13 20:38:03
Did some more research...

On Sunday 13 June 2004 22:16, Karl Vogel wrote:
The Z005 is never used, but it is present in a definition:

            Name (PBST, Package (0x04)
            {
                0x00,
                Z005,
                Z005,
                0x2710
            })


I replaced those with 0x000 (not sure what the default value should be, 0
sounds logical).

The _PPC error is something I don't know how to resolve. Code looks like:

-- usage code:
                            If (LLess (\_PR.CPU0._PPC, Local1))
                            {
                                Store (Local1, \_PR.CPU0._PPC)
                                Notify (\_PR.CPU0, 0x80)
                                Sleep (0x01F4)
                            }
---
Just tried throwing out those _PPC lines and just changing the Z005->0x00 
since those are in the _BST. That seems to make the battery readout work!!

However, I'd like to keep those _PPC lines, since those are in the CPUT part, 
which is the cpu thermal control, I think?!?!


Relevant asl lines:

    Scope (\_PR)
    {
        Processor (CPU0, 0x00, 0x00008010, 0x06) {}
    }

[...]
                    Name (CPUT, 0x00)
                    Method (_Q80, 0, NotSerialized)
                    {
                        If (\_SB.ECOK)
                        {
                            Acquire (\_SB.PCI0.LPC0.EC0.MUT1, 0xFFFF)
                            Store (\_SB.PCI0.LPC0.EC0.CTMP, Local0)
                            Release (\_SB.PCI0.LPC0.EC0.MUT1)
                        }
                        Else
                        {
                            Store (0x28, Local0)
                        }

                        Subtract (Local0, \_SB.TOFF, Local0)
                        If (LNot (LLess (Local0, 0x61)))
                        {
                            Notify (\_TZ.THRM, 0x80)
                        }

                        If (LAnd (LNot (LLess (Local0, 0x5C)), LEqual (CPUT, 
0x00)))
                        {
                            Store (0x01, CPUT)
                            Store (PNUM, Local1)
                            If (LLess (\_PR.CPU0._PPC, Local1))
                            {
                                Store (Local1, \_PR.CPU0._PPC)
                                Notify (\_PR.CPU0, 0x80)
                                Sleep (0x01F4)
                            }
                        }
                        Else
                        {
                            If (LAnd (LNot (LGreater (Local0, 0x57)), LNot 
(LEqual (CPUT, 0x00))))
                            {
                                Store (0x00, CPUT)
                                Store (0x00, Local1)
                                If (LEqual (Local1, 0x00))
                                {
                                    If (LNot (LEqual (\_PR.CPU0._PPC, 0x00)))
                                    {
                                        Store (0x00, \_PR.CPU0._PPC)
                                        Notify (\_PR.CPU0, 0x80)
                                        Sleep (0x01F4)
                                    }
                                }
                            }
                        }
                    }


Any tips?


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
Thread (1 message) 1 message, 1 author, last reply 2004-06-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help