From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 9 20:44:08 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F88816A41F for ; Mon, 9 Jan 2006 20:44:08 +0000 (GMT) (envelope-from robert.moore@intel.com) Received: from orsfmr005.jf.intel.com (fmr20.intel.com [134.134.136.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8043543D5C for ; Mon, 9 Jan 2006 20:44:06 +0000 (GMT) (envelope-from robert.moore@intel.com) Received: from orsfmr101.jf.intel.com (orsfmr101.jf.intel.com [10.7.209.17]) by orsfmr005.jf.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id k09Ki5lU027806; Mon, 9 Jan 2006 20:44:05 GMT Received: from orsmsxvs040.jf.intel.com (orsmsxvs040.jf.intel.com [192.168.65.206]) by orsfmr101.jf.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id k09Khqxn026402; Mon, 9 Jan 2006 20:44:05 GMT Received: from orsmsx332.amr.corp.intel.com ([192.168.65.60]) by orsmsxvs040.jf.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2006010912440522044 ; Mon, 09 Jan 2006 12:44:05 -0800 Received: from orsmsx403.amr.corp.intel.com ([192.168.65.209]) by orsmsx332.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 9 Jan 2006 12:44:05 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 9 Jan 2006 12:44:04 -0800 Message-ID: <971FCB6690CD0E4898387DBF7552B90E03EE683F@orsmsx403.amr.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: dsdt compile error on Acer 3002 NB Thread-Index: AcYVW1RVl9OfzhzGRVyb3/CO1KzKCAAAfnaw From: "Moore, Robert" To: "Nate Lawson" X-OriginalArrivalTime: 09 Jan 2006 20:44:05.0525 (UTC) FILETIME=[6E6A7450:01C6155D] X-Scanned-By: MIMEDefang 2.52 on 10.7.209.17 Cc: freebsd-acpi@freebsd.org Subject: RE: dsdt compile error on Acer 3002 NB X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2006 20:44:08 -0000 Only errors should cause the object AML file to not be generated. > -----Original Message----- > From: Nate Lawson [mailto:nate@root.org] > Sent: Monday, January 09, 2006 12:20 PM > To: Moore, Robert > Cc: JoaoBR; freebsd-acpi@freebsd.org > Subject: Re: dsdt compile error on Acer 3002 NB >=20 > Last I checked, iasl refused to output a dsdt if it got the warning of > _WAK not returning a value. It succeeded with -f. Is that not the > intended usage? >=20 > Moore, Robert wrote: > > The warning in question is just that -- a warning, not an error. > > > > -f flag is not needed. > > > > > > > > > >>-----Original Message----- > >>From: owner-freebsd-acpi@freebsd.org [mailto:owner-freebsd- > >>acpi@freebsd.org] On Behalf Of JoaoBR > >>Sent: Monday, December 19, 2005 1:43 PM > >>Cc: freebsd-acpi@freebsd.org > >>Subject: Re: dsdt compile error on Acer 3002 NB > >> > >>On Monday 19 December 2005 16:45, you wrote: > >> > >>>JoaoBR wrote: > >>> > >>>>Hello > >>>> > >>>>somebody knows and can tell me what this function should return in > >> > >>order > >> > >>>>not returning an error when compiling? > >>>> > >>>> Method (_WAK, 1, NotSerialized) > >>>> { > >>>> Store (0x00, \_SB.PCI0.LPCB.ALED) > >>>> Store (\_SB.BTEN, \_SB.PCI0.LPCB.EC0.BLTH) > >>>> Store (\_SB.WLAN, \_SB.PCI0.LPCB.EC0.WLAN) > >>>> Store (0x01, \_SB.PCI0.LPCB.EC0.CPLE) > >>>> If (LEqual (Arg0, 0x03)) > >>>> { > >>>> \_SB.PHSR (0x00, 0x00) > >>>> } > >>>> > >>>> If (LEqual (Arg0, 0x04)) > >>>> { > >>>> \_SB.PHSR (0x03, 0x00) > >>>> } > >>>> } > >>>> > >>>>I get this: > >>>> > >>>>dsdt.aml.ori 3441: Method (_WAK, 1, NotSerialized) > >>>>Warning 2026 - ^ Reserved = method > >> > >>must > >> > >>>>return a value (_WAK) > >>> > >>>Just use iasl with the -f flag. It will ignore these kinds of = warnings. > >>> For reference, _WAK returns a package, {0, 0} is fine. See the = ACPI > >>>debugging section of the handbook. > >> > >> > >>thank you, that was what I did but I was not sure if it was the = right > >>thing. > >> > >>Jo=E3o > >> > >> > >> > >> > >> > >> > >> > >> > >>A mensagem foi scaneada pelo sistema de e-mail e pode ser = considerada > >>segura. > >>Service fornecido pelo Datacenter Matik = https://datacenter.matik.com.br > >>_______________________________________________ > >>freebsd-acpi@freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > >>To unsubscribe, send any mail to = "freebsd-acpi-unsubscribe@freebsd.org" > > > > _______________________________________________ > > freebsd-acpi@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > > To unsubscribe, send any mail to = "freebsd-acpi-unsubscribe@freebsd.org" >=20 >=20 > -- > Nate