dsdt compile error on Acer 3002 NB

Moore, Robert robert.moore at intel.com
Mon Jan 9 12:44:08 PST 2006


Only errors should cause the object AML file to not be generated.

> -----Original Message-----
> From: Nate Lawson [mailto:nate at root.org]
> Sent: Monday, January 09, 2006 12:20 PM
> To: Moore, Robert
> Cc: JoaoBR; freebsd-acpi at freebsd.org
> Subject: Re: dsdt compile error on Acer 3002 NB
> 
> 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?
> 
> 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 at freebsd.org [mailto:owner-freebsd-
> >>acpi at freebsd.org] On Behalf Of JoaoBR
> >>Sent: Monday, December 19, 2005 1:43 PM
> >>Cc: freebsd-acpi at 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ão
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>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 at freebsd.org mailing list
> >>http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
> >>To unsubscribe, send any mail to "freebsd-acpi-unsubscribe at freebsd.org"
> >
> > _______________________________________________
> > freebsd-acpi at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
> > To unsubscribe, send any mail to "freebsd-acpi-unsubscribe at freebsd.org"
> 
> 
> --
> Nate


More information about the freebsd-acpi mailing list