From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 19 21:43:18 2005 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 7176716A41F for ; Mon, 19 Dec 2005 21:43:18 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD42743D49 for ; Mon, 19 Dec 2005 21:43:15 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from anb (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.4/8.13.1) with ESMTP id jBJLhFXe096437 for ; Mon, 19 Dec 2005 19:43:16 -0200 (BRST) (envelope-from joao@matik.com.br) From: JoaoBR Date: Mon, 19 Dec 2005 19:43:08 -0200 User-Agent: KMail/1.8.3 References: <200512190550.16062.joao@matik.com.br> <43A6FFAD.4050103@root.org> In-Reply-To: <43A6FFAD.4050103@root.org> Cc: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline To: "Undisclosed.Recipients": ; Message-Id: <200512191943.09739.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on msrv.matik.com.br X-Virus-Status: Clean 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, 19 Dec 2005 21:43:18 -0000 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