Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › OSx86 Core & 10.X › How to fix this dsdt warning
5,178 reads · 2010-05-21
Guide 10.X Core DSDT

How to fix this dsdt warning

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

Primary Author
@refugiado123 Published 2010-05-21
Collection
OSx86 Core & 10.X
Archival Footprint
5,178 historical reads · 1 curated field notes (from 2 dispatches) · 2010-05-21
Credited Voices (2)
@refugiado123@Ianxxx

How to fix this warning?

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

?

Synthesized Community Field Notes

1 technical responses curated from 2 original dispatches

Field Note #1 @Ianxxx 2010-05-21

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
})
}

Sources & Contributor Provenance (2 credited usernames · Thread #6168)
UsernameDossier ContributionDispatchesActive Window
@refugiado123Primary Author12010-05-21
@IanxxxContributor12010-05-21