From owner-acpi-jp@jp.FreeBSD.org Thu Aug 28 03:49:28 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h7RInSi85083;
	Thu, 28 Aug 2003 03:49:28 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from rootlabs.com (root.org [67.118.192.226])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with SMTP/inet id h7RInRa85071
	for <acpi-jp@jp.FreeBSD.org>; Thu, 28 Aug 2003 03:49:28 +0900 (JST)
	(envelope-from nate@rootlabs.com)
Received: (qmail 32106 invoked by uid 1000); 27 Aug 2003 18:49:23 -0000
From: Nate Lawson <nate@root.org>
To: "M. Warner Losh" <imp@bsdimp.com>
cc: acpi-jp@jp.FreeBSD.org
In-Reply-To: <20030811.231443.71487270.imp@bsdimp.com>
Message-ID: <20030827114823.T31947@root.org>
References: <20030811.231443.71487270.imp@bsdimp.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 27 Aug 2003 11:49:23 -0700
X-Sequence: acpi-jp 2614
Subject: [acpi-jp 2614] Re: Followup: Sony VAIO 505TS
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: nate@root.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030821

On Mon, 11 Aug 2003, M. Warner Losh wrote:
> Recall that I'm seeing the following error messages:
>
>     ACPI-0438: *** Error: Looking up [\\_TZ_.ATF0] in namespace, AE_NOT_FOUND SearchNode 0xc189e3e0 StartNode 0xc189e3e0 ReturnNode 0
>     ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.EC__.QREC] (Node 0xc189e3e0), AE_NOT_FOUND
>     ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.EC__.SCID] (Node 0xc189e400), AE_NOT_FOUND
>     ACPI-1287: *** Error: Method execution failed [\\_GPE._E09] (Node 0xc0b92880), AE_NOT_FOUND
>
> You can find my AML at
> http://people.freebsd.org/~imp/vaio-505ts.aml
>
> You can find my ASL at
> http://people.freebsd.org/~imp/vaio-505ts.asl
>
> You can find my dmesg at
> http://people.freebsd.org/~imp/vaio-505ts.dmesg
>
> Recall also that apm and sysctl interface reports bogus battery life.
>
> Looking at the ASL, I can't find ATF0 anywhere, or even _TZ_. :-(

Try re-ordering the Method(QREC, 1) definition so it is before the call
QREC(Local0).  It appears ACPICA does not forward-declare symbols that are
accessed before they are defined.

-Nate
