InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 05-21-2010, 07:29 PM
refugiado123 refugiado123 is offline
Cheetah
 
Join Date: May 2010
Posts: 1
How to fix this dsdt warning

Hi guys,

How to fix this warning??

./dsdt_fixed.txt 223: Method (\_WAK, 1, NotSerialized)
Warning 1080 - ^ Reserved method must return a value (_WAK)

??
Reply With Quote
  #2  
Old 05-21-2010, 08:46 PM
Ianxxx Ianxxx is offline
Leopard
 
Join Date: Jan 2008
Posts: 645
copied from dsdtse


must return a value (_WAK)


dsdt.dsl 163: Method (_WAK, 1, NotSerialized)
Warning 2026 - ^ Reserved method must return a value (_WAK)

At the end of the _WAK method, this must be added:

Return(Package(0x02){Zero, Zero})


Example:


Method (_WAK, 1, NotSerialized)
{
P8XH (One, 0xAB)
If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
{
If (And (CFGD, 0x01000000))
{
If (LAnd (And (CFGD, 0xF0), LEqual (OSYS, 0x07D1)))
{
TRAP (0x3D)
}
}
}

If (LEqual (RP2D, Zero))
{
Notify (\_SB.PCI0.RP02, Zero)
}

If (LEqual (Arg0, 0x03)) {}
If (LEqual (Arg0, 0x04))
{
\_SB.PCI0.LPCB.EC.SELE ()
}

P8XH (Zero, 0xCD)

Return (Package (0x02)
{
Zero,
Zero
})
}



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply