mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 09:33:13 -06:00
24 lines
479 B
Text
24 lines
479 B
Text
|
//Add PWRB
|
||
|
DefinitionBlock("", "SSDT", 2, "ACDT", "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
|