Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2005 10:45:01 -0800
From:      Nate Lawson <nate@root.org>
To:        JoaoBR <joao@matik.com.br>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: dsdt compile error on Acer 3002 NB
Message-ID:  <43A6FFAD.4050103@root.org>
In-Reply-To: <200512190550.16062.joao@matik.com.br>
References:  <200512190550.16062.joao@matik.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43A6FFAD.4050103>