public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Murray Shields <murray-U+3wZKuTe26HXe+LvDLADg@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Need help the DSDT on an ASUS M6000R
Date: Sat, 24 Jul 2004 10:16:59 +1000	[thread overview]
Message-ID: <4101AA7B.7040006@mu.com.au> (raw)

Hello,

I can't get the ACPI fully working on my ASUS M600R - specifically I 
can't detect the battery or the state of the AC adaptor. Everything else 
is okay.

When I modprobe battery and ac I get the following errors in dmesg:

Jul 11 22:40:38 asok ACPI-0406: *** Error: Handler for [EmbeddedControl] 
returned AE_TIME
Jul 11 22:40:38 asok ACPI-1133: *** Error: Method execution failed 
[\_SB_.PCI0.SBRG.EC0_.SMBR] (Node f7f2bf80), AE_TIME
Jul 11 22:40:38 asok ACPI-1133: *** Error: Method execution failed 
[\_SB_.PCI0.SBRG.EC0_.BIF0] (Node f7f2b7a0), AE_TIME
Jul 11 22:40:38 asok ACPI-1133: *** Error: Method execution failed 
[\_SB_.PCI0.BAT0._BIF] (Node f7f2a980), AE_TIME
Jul 11 22:40:50 asok ACPI-0406: *** Error: Handler for [EmbeddedControl] 
returned AE_TIME
Jul 11 22:40:50 asok ACPI-1133: *** Error: Method execution failed 
[\_SB_.PCI0.SBRG.EC0_.RDC3] (Node f7f2b3a0), AE_TIME
Jul 11 22:40:50 asok ACPI-1133: *** Error: Method execution failed 
[\ECIO] (Node f7f2bdc0), AE_TIME
Jul 11 22:40:50 asok ACPI-1133: *** Error: Method execution failed 
[\_SB_.PCI0.SBRG.EC0_.ACPS] (Node f7f2b440), AE_TIME
Jul 11 22:40:50 asok ACPI-1133: *** Error: Method execution failed 
[\ACPS] (Node f7f28b00), AE_TIME
Jul 11 22:40:50 asok ACPI-1133: *** Error: Method execution failed 
[\_SB_.PCI0.AC0_._PSR] (Node f7f2aba0), AE_TIM

If I extract then try to recompile the DSDT I get the following errors:

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20021002 [Oct  2 2002]
Copyright (C) 2000 - 2002 Intel Corporation
Supports ACPI Specification Revision 2.0a

dsdt.dsl  1714:                         Method (_PDC, 1, NotSerialized)
Warning  2033 -              Unknown reserved name ^  (_PDC)

dsdt.dsl  3073:                 Scope (\_SB.PCI0)
Warning  2031 -        Internal compiler error ^  (Not using optimized 
name - did not find node)

ASL Input:  dsdt.dsl - 5527 lines, 192073 bytes, 2719 keywords
AML Output: DSDT.aml - 20786 bytes 744 named objects 1975 executable opcodes

Compilation complete. 0 Errors, 2 Warnings, 0 Remarks, 686 Optimizations

The offending lines of code in context are:




                Scope (\_PR)
                {
                    Processor (CPU1, 0x01, 0x00000810, 0x06)
                    {
                        OperationRegion (SSDT, SystemMemory, 0x3DF45C70, 
0xFFFF)
                        Name (NCPU, 0x01)
                        Name (TYPE, 0x80000000)
                        Name (HNDL, 0x80000000)
                        Method (_PDC, 1, NotSerialized) 
<<<<<<<<<<<<<<<<<<<<<
                        {                Scope (\_SB.PCI0)
                {
                    Device (BAT0)
                    {
                        Name (_HID, EisaId ("PNP0C0A"))
                        Name (_UID, 0x00)
                        Name (_PCL, Package (0x01)
                        {
                            \_SB.PCI0
                        })
                        Method (_STA, 0, NotSerialized)
                        {
                            If (\_SB.PCI0.SBRG.EC0.BATP (0x00))
                            {
                                Return (0x1F)
                            }
                            Else
                            {
                                Return (0x0F)
                            }
                        }

                            CreateDWordField (Arg0, 0x08, DAT0)
                            Store (DAT0, TYPE)
                        }

                        Name (_CST, Package (0x02)
                        {
                            0x01,
                            Package (0x04)
                            {
                                ResourceTemplate ()
                                {
                                    Register (SystemIO, 0x08, 0x00, 
0x0000000000000814)
                                },

                                0x02,
                                0x12,
                                0x03E8
                            }
                        })
                    }
                }

and


                Scope (\_SB.PCI0)
                {
                    Device (BAT0)
                    {
                        Name (_HID, EisaId ("PNP0C0A"))
                        Name (_UID, 0x00)
                        Name (_PCL, Package (0x01)
                        {
                            \_SB.PCI0
                        })
                        Method (_STA, 0, NotSerialized)
                        {
                            If (\_SB.PCI0.SBRG.EC0.BATP (0x00))
                            {
                                Return (0x1F)
                            }
                            Else
                            {
                                Return (0x0F)
                            }
                        }


Any help would be appreciated...

Thanks.

-- 
======================================================================
Murray Shields                                 Email: murray-U+3wZKuTe26HXe+LvDLADg@public.gmane.org
MU Systems Pty Ltd                              Phone: +61 7 3253 1222



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

                 reply	other threads:[~2004-07-24  0:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4101AA7B.7040006@mu.com.au \
    --to=murray-u+3wzkute26hxe+lvdladg@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