Skip to content

Instantly share code, notes, and snippets.

@daslicht
Last active April 9, 2020 17:05
Show Gist options
  • Save daslicht/bdeed39a25ba4e32f0bbee0f73800d8e to your computer and use it in GitHub Desktop.
Save daslicht/bdeed39a25ba4e32f0bbee0f73800d8e to your computer and use it in GitHub Desktop.
SSDT-PLUG forr Asus Gryphon z87
/*
* XCPM power management compatibility table.
*
* Please note that this table is only a sample and may need to be
* adapted to fit your board's ACPI stack. For instance, both scope
* and device name may vary (e.g. _SB_.PR00 instead of _PR_.CPU0).
*
* While the table contains several examples of CPU paths, you should
* remove all the ones irrelevant for your board.
*/
DefinitionBlock ("", "SSDT", 2, "ACDT", "CpuPlug", 0x00003000)
{
External (_PR_.CPU0, ProcessorObj)
Method (PMPM, 4, NotSerialized) {
If (LEqual (Arg2, Zero)) {
Return (Buffer (One) { 0x03 })
}
Return (Package (0x02)
{
"plugin-type",
One
})
}
Scope (\_PR.CPU0) {
Method (_DSM, 4, NotSerialized)
{
Return (PMPM (Arg0, Arg1, Arg2, Arg3))
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment