From 83d4cc5a16c075f87a287f3772356a01edc54e78 Mon Sep 17 00:00:00 2001
From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com>
Date: Mon, 10 May 2021 10:30:07 -0600
Subject: [PATCH] Work-around BT2.0 panic
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Based on StarPlayrX’s BigMac patch
---
CHANGELOG.md | 2 +
Resources/ModelArray.py | 4 ++
docs/BENIFITS.md | 2 +
payloads/Kexts/Plists/AppleUSBMaps/Info.plist | 44 +++++++++++++++++++
4 files changed, 52 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 230619f0d..771273bf8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,8 @@
- Fix iMac9,1 audio support
- Heavily expand Graphics ID list
- Fix iMac7,1 audio support
+- Work-around Bluetooth Kernel Panic on Apple's Bluetooth 2.0 Controllers (USB 05AC:8206)
+ - Affects iMac7,1 and MacPro3,1
## 0.1.2
- Fix IDE support on 2008 era MacBooks, iMacs and Xserves
diff --git a/Resources/ModelArray.py b/Resources/ModelArray.py
index d5c2413d3..3813ffb3d 100644
--- a/Resources/ModelArray.py
+++ b/Resources/ModelArray.py
@@ -697,6 +697,10 @@ ControllerTypes = [
"-XHC1",
"-OHC1",
"-OHC2",
+ "-UHC1",
+ "-UHC2",
+ "-UHC3",
+ "-UHC4",
"-InternalHub-EHC1",
"-InternalHub-EHC1-InternalHub",
"-InternalHub-EHC2",
diff --git a/docs/BENIFITS.md b/docs/BENIFITS.md
index c1020343f..1dc9c1a97 100644
--- a/docs/BENIFITS.md
+++ b/docs/BENIFITS.md
@@ -2,6 +2,8 @@
With OpenCore Legacy Patcher we recommend users go through the below table to understand what the benefits and drawbacks are compared to other patchers. There are positive and negatives to each and we feel transparency is most important when patching another users machine. There should be no grey areas where users may be mislead.
+* Note: [Patched Sur](https://github.com/BenSova/Patched-Sur) and [MicropatcherAutomator](https://github.com/moosethegoose2213/automator-for-barrykn-micropatcher) are iterations of [BarryKN's micropatcher](https://github.com/barrykn/big-sur-micropatcher) and therefore share many of the same benefits and limitations. Patched Sur is used for this comparison as it's the most common form of BarryKN's patcher users will find.
+
| Features | [OpenCore Legacy Patcher](https://github.com/dortania/OpenCore-Legacy-Patcher/) | [Patched Sur](https://github.com/BenSova/Patched-Sur) |
| :--- | :--- | :--- |
| Over The Air Updates | Native System Preferences, additionally supports Deltas (~2GB) for Metal GPUs | Inside Patcher Sur app (~12GB), only available when InstallAssistants release |
diff --git a/payloads/Kexts/Plists/AppleUSBMaps/Info.plist b/payloads/Kexts/Plists/AppleUSBMaps/Info.plist
index 655d38a50..58ab23cae 100644
--- a/payloads/Kexts/Plists/AppleUSBMaps/Info.plist
+++ b/payloads/Kexts/Plists/AppleUSBMaps/Info.plist
@@ -2860,6 +2860,28 @@
model
XacPro3,1
+ MacPro3,1-UHC3
+
+ CFBundleIdentifier
+ com.apple.driver.AppleUSBHostMergeProperties
+ IOClass
+ AppleUSBHostMergeProperties
+ IONameMatch
+ UHC3
+ IOProviderClass
+ AppleUSBUHCIPCI
+ IOProviderMergeProperties
+
+ kUSBMuxEnabled
+
+ port-count
+ AAAAAA==
+ ports
+
+
+ model
+ MacPro3,1
+
MacPro4,1-EHC1
CFBundleIdentifier
@@ -3617,6 +3639,28 @@
model
iXac7,1
+ iMac7,1-UHC4
+
+ CFBundleIdentifier
+ com.apple.driver.AppleUSBHostMergeProperties
+ IOClass
+ AppleUSBHostMergeProperties
+ IONameMatch
+ UHC4
+ IOProviderClass
+ AppleUSBUHCIPCI
+ IOProviderMergeProperties
+
+ kUSBMuxEnabled
+
+ port-count
+ AAAAAA==
+ ports
+
+
+ model
+ iMac7,1
+
iMac8,1-EHC1
CFBundleIdentifier