1
0
Fork 0
mirror of https://github.com/tylernguyen/x1c6-hackintosh.git synced 2025-02-05 09:33:13 -06:00

Removed SSDT-PWRB as it's already incorporated into SSDT-Sleep

This commit is contained in:
Tyler Nguyen 2020-11-04 02:40:59 -06:00
parent b8ce0eaa6d
commit 7c6a38a8cd
No known key found for this signature in database
GPG key ID: DB5B102B914991DA
3 changed files with 0 additions and 41 deletions

View file

@ -102,14 +102,6 @@
<key>Path</key> <key>Path</key>
<string>SSDT-PMCR.aml</string> <string>SSDT-PMCR.aml</string>
</dict> </dict>
<dict>
<key>Comment</key>
<string>PWRB</string>
<key>Enabled</key>
<true/>
<key>Path</key>
<string>SSDT-PWRB.aml</string>
</dict>
<dict> <dict>
<key>Comment</key> <key>Comment</key>
<string>Thunderbolt 3: depends on / patches/ OpenCore Patches/ Thunderbolt3.plist</string> <string>Thunderbolt 3: depends on / patches/ OpenCore Patches/ Thunderbolt3.plist</string>

View file

@ -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