public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Paulo da Silva <pvmagacho78-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: AE_BAD_HEX_CONSTANT
Date: Tue, 9 Nov 2004 11:33:31 -0800 (PST)	[thread overview]
Message-ID: <20041109193331.930.qmail@web41101.mail.yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 752 bytes --]

Hello,

 I am having a few problems with the battery
information with my Acer Aspire 1613Lmi.
 I get the following error :
kernel:  psparse-1133: *** Error: Method execution
failed [\_SB_.PCI0.LPC0.EC__.GBIF] (Node dfe6e480),
AE_BAD_HEX_CONSTANT
kernel:  psparse-1133: *** Error: Method execution
failed [\_SB_.PCI0.LPC0.EC__.BAT0._BIF] (Node
dfe6de00), AE_BAD_HEX_CONSTANT

I tracked down to the lines in the ASL code. I've
attached part of the DSDT containing this lines. The
part that gives the problem is pointed out. 

The whole DSDT can be seen at :
http://cern.ch/paulo/dsdt.dsl.orig

Thanks in advance for any help.

Regards,
Paulo


		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: battery.dsl --]
[-- Type: text/x-dsl; name="battery.dsl", Size: 8152 bytes --]

                    Mutex (BATM, 0x07)
                    Method (GBIF, 2, NotSerialized)
                    {
                        Acquire (BATM, 0xFFFF)
/* Problems start here - If commented out the error goes away, but I can't get no information from the battery*/
                        Store (0x0FA0, Index (Arg1, 0x01))
                        Store (0x0FA0, Index (Arg1, 0x02))
                        Store (0x39D0, Index (Arg1, 0x04))
                        Store (0x0190, Index (Arg1, 0x05))
                        Store (0x78, Index (Arg1, 0x06))
                        Store (0x0118, Index (Arg1, 0x07))
                        Store (0x0E10, Index (Arg1, 0x08))
                        Store ("Bat 8Cell", Index (Arg1, 0x09))
                        Store ("236", Index (Arg1, 0x0A))
                        Store ("Lion", Index (Arg1, 0x0B))
                        Store ("Acer", Index (Arg1, 0x0C))
/* Problems ends here */
                        Release (BATM)
                        Return (Arg1)
                    }

                    Method (GBST, 4, NotSerialized)
                    {
                        Acquire (BATM, 0xFFFF)
                        If (Arg1)
                        {
                            Store (GBPI (Arg0, 0x01), Local0)
                        }

                        If (\_SB.PCI0.LPC0.EC.AC.ACST)
                        {
                            If (Arg1)
                            {
                                If (And (Local0, 0x20))
                                {
                                    Store (0x00, Index (Arg2, 0x00))
                                }
                                Else
                                {
                                    If (CLED)
                                    {
                                        Store (0x00, Index (Arg2, 0x00))
                                    }
                                    Else
                                    {
                                        Store (0x02, Index (Arg2, 0x00))
                                    }
                                }
                            }
                            Else
                            {
                                Store (0x00, Index (Arg2, 0x00))
                                Store (0xFFFFFFFF, Index (Arg2, 0x01))
                                Store (0xFFFFFFFF, Index (Arg2, 0x02))
                                Store (0xFFFFFFFF, Index (Arg2, 0x03))
                                Return (Arg2)
                            }
                        }
                        Else
                        {
                            Store (0x01, Local5)
                            If (LEqual (And (\RBEC (0x43), 0x20), 0x00))
                            {
                                Or (Local5, 0x04, Local5)
                            }

                            Store (Local5, Index (Arg2, 0x00))
                        }

                        If (Arg1)
                        {
                            Store (GBPI (Arg0, 0x04), Local3)
                        }

                        If (BLLW)
                        {
                            Store (0x00, BLLW)
                            Store (0x06, Local4)
                        }
                        Else
                        {
                            If (LEqual (Local3, 0x64))
                            {
                                Store (Arg3, Local4)
                            }
                            Else
                            {
                                If (LLess (Local3, 0x03))
                                {
                                    Store (0x00, Local4)
                                }
                                Else
                                {
                                    Multiply (Arg3, Local3, Local5)
                                    Divide (Local5, 0x64, Local6, Local4)
                                    If (Local6)
                                    {
                                        Increment (Local4)
                                    }
                                }
                            }
                        }

                        Store (Local4, Index (Arg2, 0x02))
                        Store (0xFFFFFFFF, Local5)
                        Store (Local5, Index (Arg2, 0x01))
                        If (Arg0)
                        {
                            Store (0x2EE0, Index (Arg2, 0x03))
                        }
                        Else
                        {
                            Store (0x3E80, Index (Arg2, 0x03))
                        }

                        Release (BATM)
                        Return (Arg2)
                    }

                    Device (BAT0)
                    {
                        Name (_HID, EisaId ("PNP0C0A"))
                        Name (_PCL, Package (0x01)
                        {
                            \_SB
                        })
                        Name (B0ST, 0x00)
                        Method (_STA, 0, NotSerialized)
                        {
                            If (\_SB.PCI0.AGP.EVGA.SWIH)
                            {
                                If (And (\RBEC (0x78), 0x04))
                                {
                                    Store (0x00, B0ST)
                                }
                                Else
                                {
                                    Store (0x01, B0ST)
                                }
                            }
                            Else
                            {
                                Store (0x01, B0ST)
                            }

                            If (B0ST)
                            {
                                Return (0x1F)
                            }
                            Else
                            {
                                Return (0x0F)
                            }
                        }

                        Name (BT0I, Package (0x0D)
                        {
                            0x01, 
                            0x19C8, 
                            0x19C8, 
                            0x01, 
                            0x39D0, 
                            0x014A, 
                            0xDC, 
                            0x012C, 
                            0x0294, 
                            "ANA", 
                            "110", 
                            "Lion", 
                            0x00
                        })
                        Method (_BIF, 0, NotSerialized)
                        {
                            If (And (\RBEC (0x78), 0x04))
                            {
                                Store (0xFFFFFFFF, Index (BT0I, 0x01))
                                Store (0xFFFFFFFF, Index (BT0I, 0x02))
                                Store (0xFFFFFFFF, Index (BT0I, 0x04))
                                Store ("Bad", Index (BT0I, 0x09))
                                Store ("Bad", Index (BT0I, 0x0A))
                                Store ("Bad", Index (BT0I, 0x0B))
                                Store ("Bad", Index (BT0I, 0x0C))
                                Return (BT0I)
                            }
                            Else
                            {
                                Return (GBIF (0x00, BT0I))
                            }
                        }

                        Name (BT0P, Package (0x04)
                        {
                            0x00, 
                            0xFFFFFFFF, 
                            0x0BB8, 
                            0xFFFFFFFF
                        })
                        Method (_BST, 0, NotSerialized)
                        {
                            Store (DerefOf (Index (BT0I, 0x02)), Local0)
                            Return (GBST (0x00, B0ST, BT0P, Local0))
                        }
                    }

             reply	other threads:[~2004-11-09 19:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-09 19:33 Paulo da Silva [this message]
     [not found] ` <20041109193331.930.qmail-0Htg24VVpk2A/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-11-09 19:49   ` AE_BAD_HEX_CONSTANT Nate Lawson
     [not found]     ` <41911F58.6020300-Y6VGUYTwhu0@public.gmane.org>
2004-11-12 15:20       ` AE_BAD_HEX_CONSTANT Bruno Ducrot
     [not found]         ` <20041112152048.GE31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-11-12 22:56           ` AE_BAD_HEX_CONSTANT Nate Lawson
  -- strict thread matches above, loose matches on Subject: below --
2004-11-12 23:08 AE_BAD_HEX_CONSTANT Moore, Robert
2004-11-16 22:26 AE_BAD_HEX_CONSTANT Moore, Robert
     [not found] ` <37F890616C995246BE76B3E6B2DBE05502A86F8F-sBd4vmA9Se5Qxe9IK+vIArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-11-16 23:19   ` AE_BAD_HEX_CONSTANT Nate Lawson
2004-11-17  0:53 AE_BAD_HEX_CONSTANT Li, Shaohua

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=20041109193331.930.qmail@web41101.mail.yahoo.com \
    --to=pvmagacho78-/e1597as9lqavxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox