Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch requires to switch Thunderbolt mode in BIOS to "Native + Low Power mode". This mode caused second sleep not work with kernel panic. This patch solves this issue. All credit goes to this EliteMacs86 thread - https://www.elitemacx86.com/threads/guide-how-to-enable-thunderbolt-3-hotplug.462 Signed-off-by: kecinzer <1541555+kecinzer@users.noreply.github.com>
- Loading branch information
Showing
8 changed files
with
2,135 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>BuildMachineOSBuild</key> | ||
<string>18G95</string> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleExecutable</key> | ||
<string>ThunderboltReset</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.osy86.ThunderboltReset</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>ThunderboltReset</string> | ||
<key>CFBundlePackageType</key> | ||
<string>KEXT</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0.0d1</string> | ||
<key>CFBundleSupportedPlatforms</key> | ||
<array> | ||
<string>MacOSX</string> | ||
</array> | ||
<key>CFBundleVersion</key> | ||
<string>1.0.0d1</string> | ||
<key>DTCompiler</key> | ||
<string>com.apple.compilers.llvm.clang.1_0</string> | ||
<key>DTPlatformBuild</key> | ||
<string>11B52</string> | ||
<key>DTPlatformVersion</key> | ||
<string>GM</string> | ||
<key>DTSDKBuild</key> | ||
<string>19B81</string> | ||
<key>DTSDKName</key> | ||
<string>macosx10.15</string> | ||
<key>DTXcode</key> | ||
<string>1120</string> | ||
<key>DTXcodeBuild</key> | ||
<string>11B52</string> | ||
<key>IOKitPersonalities</key> | ||
<dict> | ||
<key>Polaris22Fixup</key> | ||
<dict> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.osy86.ThunderboltReset</string> | ||
<key>IOClass</key> | ||
<string>ThunderboltReset</string> | ||
<key>IOMatchCategory</key> | ||
<string>ThunderboltReset</string> | ||
<key>IOProviderClass</key> | ||
<string>IOResources</string> | ||
<key>IOResourceMatch</key> | ||
<string>IOKit</string> | ||
</dict> | ||
</dict> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.14</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>Copyright © 2019 osy86. All rights reserved.</string> | ||
<key>OSBundleLibraries</key> | ||
<dict> | ||
<key>as.vit9696.Lilu</key> | ||
<string>1.2.0</string> | ||
<key>com.apple.kpi.bsd</key> | ||
<string>12.0.0</string> | ||
<key>com.apple.kpi.dsep</key> | ||
<string>12.0.0</string> | ||
<key>com.apple.kpi.iokit</key> | ||
<string>12.0.0</string> | ||
<key>com.apple.kpi.libkern</key> | ||
<string>12.0.0</string> | ||
<key>com.apple.kpi.mach</key> | ||
<string>12.0.0</string> | ||
<key>com.apple.kpi.unsupported</key> | ||
<string>12.0.0</string> | ||
</dict> | ||
<key>OSBundleRequired</key> | ||
<string>Root</string> | ||
</dict> | ||
</plist> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* Intel ACPI Component Architecture | ||
* AML/ASL+ Disassembler version 20200110 (64-bit version) | ||
* Copyright (c) 2000 - 2020 Intel Corporation | ||
* | ||
* Disassembling to symbolic ASL+ operators | ||
* | ||
* Disassembly of iASLYnueN2.aml, Thu Jun 4 07:47:38 2020 | ||
* | ||
* Original Table Header: | ||
* Signature "SSDT" | ||
* Length 0x00000064 (100) | ||
* Revision 0x02 | ||
* Checksum 0xA3 | ||
* OEM ID "KGP " | ||
* OEM Table ID "DTPG" | ||
* OEM Revision 0x00001000 (4096) | ||
* Compiler ID "INTL" | ||
* Compiler Version 0x20180427 (538444839) | ||
*/ | ||
DefinitionBlock ("", "SSDT", 2, "KGP ", "DTPG", 0x00001000) | ||
{ | ||
Method (DTGP, 5, NotSerialized) | ||
{ | ||
If ((Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b"))) | ||
{ | ||
If ((Arg1 == One)) | ||
{ | ||
If ((Arg2 == Zero)) | ||
{ | ||
Arg4 = Buffer (One) | ||
{ | ||
0x03 // . | ||
} | ||
Return (One) | ||
} | ||
|
||
If ((Arg2 == One)) | ||
{ | ||
Return (One) | ||
} | ||
} | ||
} | ||
|
||
Arg4 = Buffer (One) | ||
{ | ||
0x00 // . | ||
} | ||
Return (Zero) | ||
} | ||
} | ||
|
Oops, something went wrong.