mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 01:23:14 -06:00
Removed SSDT-PWRB as it's already incorporated into SSDT-Sleep
This commit is contained in:
parent
b8ce0eaa6d
commit
7c6a38a8cd
3 changed files with 0 additions and 41 deletions
Binary file not shown.
|
@ -102,14 +102,6 @@
|
|||
<key>Path</key>
|
||||
<string>SSDT-PMCR.aml</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Comment</key>
|
||||
<string>PWRB</string>
|
||||
<key>Enabled</key>
|
||||
<true/>
|
||||
<key>Path</key>
|
||||
<string>SSDT-PWRB.aml</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Comment</key>
|
||||
<string>Thunderbolt 3: depends on / patches/ OpenCore Patches/ Thunderbolt3.plist</string>
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
//Add PWRB
|
||||
|
||||
DefinitionBlock("", "SSDT", 2, "tyler", "_PWRB", 0)
|
||||
{
|
||||
External (OSDW, MethodObj)
|
||||
|
||||
//search PNP0C0C
|
||||
Scope (\_SB)
|
||||
{
|
||||
// Adds ACPI power-button-device
|
||||
// https://github.com/daliansky/OC-little/blob/master/06-%E6%B7%BB%E5%8A%A0%E7%BC%BA%E5%A4%B1%E7%9A%84%E9%83%A8%E4%BB%B6/SSDT-PWRB.dsl
|
||||
Device (PWRB)
|
||||
{
|
||||
Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID
|
||||
|
||||
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
|
||||
{
|
||||
Return (Zero)
|
||||
}
|
||||
|
||||
Method (_STA, 0, NotSerialized)
|
||||
{
|
||||
If (OSDW())
|
||||
{
|
||||
Return (0x0F)
|
||||
}
|
||||
|
||||
Return (Zero)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//EOF
|
Loading…
Reference in a new issue