From 6f0048814f75af2ac9bc06d04b6d4d8d89884ca9 Mon Sep 17 00:00:00 2001
From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com>
Date: Mon, 12 Apr 2021 14:48:53 -0600
Subject: [PATCH] Misc fixes
Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/141
---
CHANGELOG.md | 2 ++
Resources/Build.py | 4 ++--
docs/BENIFITS.md | 3 +--
docs/INSTALLER.md | 7 ++++++-
4 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f4a0a0cbf..b05ea1d81 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,10 +9,12 @@
- Enhance Wifi model detection
- Hide OpenShell.efi by default
- Add Brightness Control patches for legacy Nvidia, AMD and Intel GPUs
+ - Models with brightness control issues in Catalina partially supported
- Add user configurable Bootstrap setting
- Enhance GPU Detection logic
- Increment AppleBackLightFixup v1.0.1
- Add panel type F10T9cde
+- Enhance HDMI audio support on Mac Pros and Xserves
## 0.0.22
- Add ExFat support for models missing driver
diff --git a/Resources/Build.py b/Resources/Build.py
index 9979103bb..63a5f256b 100644
--- a/Resources/Build.py
+++ b/Resources/Build.py
@@ -90,7 +90,7 @@ class BuildOpenCore:
("MarvelYukonEthernet.kext", self.constants.marvel_version, self.constants.marvel_path, lambda: self.model in ModelArray.EthernetMarvell),
("CatalinaBCM5701Ethernet.kext", self.constants.bcm570_version, self.constants.bcm570_path, lambda: self.model in ModelArray.EthernetBroadcom),
# Legacy audio
- ("AppleALC.kext", self.constants.applealc_version, self.constants.applealc_path, lambda: self.model in ModelArray.LegacyAudio),
+ ("AppleALC.kext", self.constants.applealc_version, self.constants.applealc_path, lambda: self.model in ModelArray.LegacyAudio or self.model in ModelArray.MacPro71),
# IDE patch
("AppleIntelPIIXATA.kext", self.constants.piixata_version, self.constants.piixata_path, lambda: self.model in ModelArray.IDEPatch),
# Hibernation Tests
@@ -125,7 +125,7 @@ class BuildOpenCore:
try:
wifi_devices = plistlib.loads(subprocess.run("ioreg -r -n ARPT -a".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode())
except ValueError:
- # Work-around Mac Pros where Wifi card is not named ARPT
+ # Work-around Mac Pros where Wifi card may not be named ARPT (ie. installed in dedicated PCIe card slot)
wifi_devices = plistlib.loads(subprocess.run("ioreg -c IOPCIDevice -r -d2 -a".split(), stdout=subprocess.PIPE).stdout.decode().strip().encode())
vendor_atheros = binascii.unhexlify("E4140000")
vendor_broadcom = binascii.unhexlify("8C160000")
diff --git a/docs/BENIFITS.md b/docs/BENIFITS.md
index 4e6dffbaf..9a9bbb9d7 100644
--- a/docs/BENIFITS.md
+++ b/docs/BENIFITS.md
@@ -13,9 +13,8 @@ With OpenCore Legacy Patcher we recommend users go through the below table to un
| Firmware Patching | None required | Required for models without native APFS support |
| BootCamp Switching | Requires EFI Conversion for Start Disk support, otherwise still supported | Native |
| Brightness Control on Legacy GPUs | Supported | Supported |
+| Legacy GPU Acceleration | In active development, see Acceleration Progress Tracker: [Link](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108) | Currently not researching |
| WPA Wifi Support | Native, stable | Unstable |
-| Legacy GPU Acceleration | Coming soon | Coming soon |
-| Brightness Control on Legacy GPUs | Coming soon | Supported |
| HEVC/H.265 Support for Mac Pros and iMacs with Polaris+ GPUs | Supported | Not supported |
| Big Sur-styled Boot Picker | Available | Not available |
| El Capitan-era Wifi cards | Supported | Not supported |
diff --git a/docs/INSTALLER.md b/docs/INSTALLER.md
index 6a8e3d0b0..dd5c39746 100644
--- a/docs/INSTALLER.md
+++ b/docs/INSTALLER.md
@@ -12,7 +12,12 @@ This doc is centered around downloading and writing the macOS installer to a USB
The simplest way to download macOS installs would be to use installinstallmacos:
```sh
-mkdir ~/macOS-installer && cd ~/macOS-installer && curl -O https://raw.githubusercontent.com/munki/macadmin-scripts/main/installinstallmacos.py && sudo python installinstallmacos.py
+[ ! -d ~/macOS-installer/ ] && mkdir ~/macOS-installer; cd ~/macOS-installer; [ ! -f ~/macOS-installer/installinstallmacos.py ] && curl -O https://raw.githubusercontent.com/munki/macadmin-scripts/main/installinstallmacos.py; sudo python installinstallmacos.py
+```
+* Note: On El Capitan (10.11) and older, you'll need to specify a catalog at the end of the command:
+
+```
+--catalogurl https://swscan.apple.com/content/catalogs/others/index-11-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
```
