http://bugzilla.kernel.org/show_bug.cgi?id=11126


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Comment #3 from [EMAIL PROTECTED]  2008-07-25 01:59 -------
Hi, Sebastian
    Do you mean that the AC adapter appears to be off although it is present?
    From the attached acpidump it seems that it is related with the bios.
    The status of AC adapter is gotten by evaluating the following object(_PSR)
   > Method (_PSR, 0, NotSerialized)
                  {
                        If (LAnd (\_SB.PCI0.LPC0.EC0.ECOK, LEqual (ECDY,
0x00)))
                        {
                            If (\_SB.PCI0.LPC0.EC0.BTCH)
                            {
                                Return (0x01)
                            }

                            If (\_SB.PCI0.LPC0.EC0.BDCH)
                            {
                                Return (0x00)
                            }

                            Return (0x01)
                        }
                        Else
                        {
                            Return (0x00)
                        }
                    }
      In the boot phase the initial value of ECDY is 0x03. In such case the
_PSR object will return 0, which means that ac adapter is absent.
     If ECDY is decreased to zero in the _BST object of battery device, the
_PSR ojbect can return the correct status of AC adapter. 
     >Method (_BST, 0, NotSerialized)
                    {
                        Store ("==Main Battery Status _BST==", Debug)
                        If (LGreater (ECDY, 0x00))
                        {
                            Decrement (ECDY)
                            Notify (\_SB.PCI0.LPC0.BAT1, 0x81)
                        }

     Will you please check whether the AC adapter is still off after catting
/proc/acpi/battery/BAT1/states several times? (At lease three times).

     Thanks.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to