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) ?
How to fix this warning?
./dsdt_fixed.txt 223: Method (\_WAK, 1, NotSerialized)
Warning 1080 - ^ Reserved method must return a value (_WAK)
?
- Credited Voices (2)
- @refugiado123@Ianxxx
- Hardware Reference
- Workstation Coolers & Thermal Gear ↗ SATA III & NVMe SSDs ↗ USB 3.2 Boot Flash Drives ↗
Synthesized Community Field Notes
1 technical responses curated from 2 original dispatches
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)
| Username | Dossier Contribution | Dispatches | Active Window |
|---|---|---|---|
| @refugiado123 | Primary Author | 1 | 2010-05-21 |
| @Ianxxx | Contributor | 1 | 2010-05-21 |