mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 09:33:13 -06:00
24 lines
No EOL
479 B
Text
Executable file
24 lines
No EOL
479 B
Text
Executable file
//Add PWRB
|
|
DefinitionBlock("", "SSDT", 2, "OCLT", "PNP0C0C", 0)
|
|
{
|
|
//search PNP0C0C
|
|
Scope (\_SB)
|
|
{
|
|
Device (PWRB)
|
|
{
|
|
Name (_HID, EisaId ("PNP0C0C"))
|
|
Method (_STA, 0, NotSerialized)
|
|
{
|
|
If (_OSI ("Darwin"))
|
|
{
|
|
Return (0x0F)
|
|
}
|
|
Else
|
|
{
|
|
Return (Zero)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//EOF |