DSDT errors

Mark Eaton
2005-02-16T01:00:42Z

I am looking at my DSDT for an acer ferrari 300 laptop. It hangs on resume and
I believe the problem (at least partially) is the _WAK function which doesn't
return a value. The question is what should it return ?

The method is as below.

Method (\_WAK, 1, NotSerialized)
{
Store (0x01, \_SB.PCI0.ISA.LIDP)
If (LEqual (Arg0, 0x03))
{
\_SB.Z001 (0x91)
Acquire (\_SB.PSMX, 0xFFFF)
Store (0x80, \_SB.BCMD)
Store (0x07, \_SB.DID)
Store (Zero, \_SB.SMIC)
Release (\_SB.PSMX)
}

If (LEqual (Arg0, 0x04))
{
Acquire (\_SB.PSMX, 0xFFFF)
Store (0x80, \_SB.BCMD)
Store (0x04, \_SB.DID)
Store (Zero, \_SB.SMIC)
Release (\_SB.PSMX)
Store (\_SB.INF, Local0)
If (LEqual (Local0, 0x07)) {}
Else
{
Store (Local0, Local1)
Store (Local0, Local2)
Store (Local0, \_SB.PCI0.AGP.VGA.DABL)
And (Local1, 0x01, \_SB.PCI0.AGP.VGA.CRTA)
And (Local2, 0x02, \_SB.PCI0.AGP.VGA.LCDA)
}
}

Store (0xBA, \_SB.PCI0.ISA.Z002)
\_SB.Z001 (0x97)
}

thanks.
If this has nothing to do with my problem I can supply the entire dsdt for
someone to have a look at.

--
Mark Eaton
meaton-tw97OP0PknkAvxtiuMwx3w@public.gmane.org