From 2216bc02121e0e836815a1140c577e50a5639759 Mon Sep 17 00:00:00 2001
From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com>
Date: Mon, 26 Apr 2021 19:04:35 -0600
Subject: [PATCH] Fix IDE support on 2008 era MacBooks and iMacs
Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/169
---
CHANGELOG.md | 3 +++
OpenCore-Patcher.command | 5 ++++-
Resources/Constants.py | 2 +-
Resources/ModelArray.py | 4 ++++
docs/MODELS.md | 22 +++++++++++-----------
5 files changed, 23 insertions(+), 13 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 329273b62..4f6e926b9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# OpenCore Legacy Patcher changelog
+## 0.1.2
+- Fix IDE support on 2008 era MacBooks and iMacs
+
## 0.1.1
- Fix iMac11,3 GFX0 pathing
- Add MouSSE support to iMac10,1 with Metal AMD GPU
diff --git a/OpenCore-Patcher.command b/OpenCore-Patcher.command
index eacb36b80..629787cfc 100755
--- a/OpenCore-Patcher.command
+++ b/OpenCore-Patcher.command
@@ -135,7 +135,10 @@ system_profiler SPHardwareDataType | grep 'Model Identifier'
Utilities.header(["Patching System Volume"])
print("""Patches Root volume to fix misc issues such as:
-- Brightness control for non-Metal GPUs
+- Graphics Acceleration for non-Metal GPUs
+ - Nvidia: Tesla - Fermi (8000-500 series)
+ - Intel: Ironlake - Sandy Bridge
+ - AMD: TeraScale 1 (2000-4000 series)
WARNING: Root Volume Patching is still in active development, please
have all important user data backed up. Note when the system volume
diff --git a/Resources/Constants.py b/Resources/Constants.py
index be63f9c76..5224d2999 100644
--- a/Resources/Constants.py
+++ b/Resources/Constants.py
@@ -9,7 +9,7 @@ from pathlib import Path
class Constants:
def __init__(self):
- self.patcher_version = "0.1.1"
+ self.patcher_version = "0.1.2"
self.opencore_commit = "c528597 - 2021-04-05"
self.opencore_version = "0.6.8"
self.lilu_version = "1.5.2"
diff --git a/Resources/ModelArray.py b/Resources/ModelArray.py
index 12fa9956b..20b4934bc 100644
--- a/Resources/ModelArray.py
+++ b/Resources/ModelArray.py
@@ -496,6 +496,10 @@ HiDPIpicker = [
]
IDEPatch = [
+ "MacBook4,1",
+ "MacBookPro4,1",
+ "iMac7,1",
+ "iMac8,1",
"MacPro3,1",
"Dortania1,1"
]
diff --git a/docs/MODELS.md b/docs/MODELS.md
index 0006ac69c..03f89822f 100644
--- a/docs/MODELS.md
+++ b/docs/MODELS.md
@@ -30,10 +30,10 @@ Regarding OS support, see below:
| MacBook1,1 | Mid-2006 | NO | 32-Bit CPU limitation |
| MacBook2,1 | Late 2006 | ^^ | 32-Bit Firmware limitation |
| MacBook3,1 | Late 2007 | ^^ | ^^ |
-| MacBook4,1 | Early 2008 | YES | - No GPU Acceleration in Mavericks and newer
- No Keyboard and Trackpad
- No USB
- No Ethernet) |
-| MacBook5,1 | Late 2008 | ^^ | - No GPU Acceleration in Big Sur([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108))
|
-| MacBook5,2 | Early 2009 | ^^ | - No GPU Acceleration in Big Sur([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108))
- Trackpad is recognized as mouse
- Brightness control partially supported |
-| MacBook6,1 | Late 2009 | ^^ | - No GPU Acceleration in Big Sur([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108))
|
+| MacBook4,1 | Early 2008 | YES | - No GPU Acceleration in Mavericks and newer
- No Keyboard and Trackpad
- No USB |
+| MacBook5,1 | Late 2008 | ^^ | - GPU Acceleration in Public Beta, see current issues ([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108))
|
+| MacBook5,2 | Early 2009 | ^^ | - GPU Acceleration in Public Beta, see current issues ([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108))
- Trackpad is recognized as mouse
- Brightness control partially supported |
+| MacBook6,1 | Late 2009 | ^^ | - GPU Acceleration in Public Beta, see current issues ([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108))
|
| MacBook7,1 | Mid-2010 | ^^ | ^^ |
### MacBook Air
@@ -41,7 +41,7 @@ Regarding OS support, see below:
| SMBIOS | Year | Supported | Comment |
| :--- | :--- | :--- | :--- |
| MacBookAir1,1 | Early 2008 | NO | Requires SSE4.1 CPU |
-| MacBookAir2,1 | Late 2008 | YES | No GPU Acceleration in Big Sur([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108)) |
+| MacBookAir2,1 | Late 2008 | YES | GPU Acceleration in Public Beta, see current issues ([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108)) |
| MacBookAir3,1 | Late 2010 | ^^ | ^^ |
| MacBookAir3,2 | ^^ | ^^ | ^^ |
| MacBookAir4,1 | Mid-2011 | ^^ | ^^ |
@@ -58,7 +58,7 @@ Regarding OS support, see below:
| MacBookPro2,1 | Late 2006 | ^^ | 32-Bit Firmware limitation |
| MacBookPro2,2 | Late 2006 | ^^ | ^^ |
| MacBookPro3,1 | Mid-2007 | ^^ | Requires SSE4.1 CPU |
-| MacBookPro4,1 | Early 2008 | YES | No GPU Acceleration in Big Sur([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108)) |
+| MacBookPro4,1 | Early 2008 | YES | GPU Acceleration in Public Beta, see current issues ([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108)) |
| MacBookPro5,1 | Late 2008 | ^^ | ^^ |
| MacBookPro5,2 | Early 2009 | ^^ | ^^ |
| MacBookPro5,3 | Mid-2009 | ^^ | ^^ |
@@ -81,7 +81,7 @@ Regarding OS support, see below:
| :--- | :--- | :--- | :--- |
| Macmini1,1 | Early 2006 | NO | 32-Bit CPU limitation |
| Macmini2,1 | Mid-2007 | ^^ | 32-Bit Firmware limitation |
-| Macmini3,1 | Early 2009 | YES | No GPU Acceleration in Big Sur([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108)) |
+| Macmini3,1 | Early 2009 | YES | GPU Acceleration in Public Beta, see current issues ([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108)) |
| Macmini4,1 | Mid-2010 | ^^ | ^^ |
| Macmini5,1 | Mid-2011 | ^^ | ^^ |
| Macmini5,2 | ^^ | ^^ | ^^ |
@@ -98,10 +98,10 @@ Regarding OS support, see below:
| iMac5,1 | Late 2006 | ^^ | 32-Bit Firmware limitation |
| iMac5,2 | ^^ | ^^ | ^^ |
| iMac6,1 | ^^ | ^^ | ^^ |
-| iMac7,1 | Mid-2007 | YES | - Requires an SSE4.1 CPU Upgrade
- No GPU Acceleration in Big Sur([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108))
- Brightness control partially supported on Nvidia GPUs, AMD unsupported
- Stock Bluetooth 2.0 card non-functional |
-| iMac8,1 | Early 2008 | ^^ | - No GPU Acceleration in Big Sur([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108)))
- Brightness control partially supported on Nvidia GPUs, AMD unsupported |
+| iMac7,1 | Mid-2007 | YES | - Requires an SSE4.1 CPU Upgrade
- GPU Acceleration in Public Beta, see current issues ([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108))
- Brightness control partially supported on Nvidia GPUs, AMD unsupported
- Stock Bluetooth 2.0 card non-functional |
+| iMac8,1 | Early 2008 | ^^ | - GPU Acceleration in Public Beta, see current issues ([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108)))
- Brightness control partially supported on Nvidia GPUs, AMD unsupported |
| iMac9,1 | Early 2009 | ^^ | ^^ |
-| iMac10,1 | Late 2009 | ^^ | GPU is socketed, [recommend upgrading to Metal GPU](https://forums.macrumors.com/threads/2011-imac-graphics-card-upgrade.1596614/?post=17425857#post-17425857) |
+| iMac10,1 | Late 2009 | ^^ | - GPU is socketed, [recommend upgrading to Metal GPU](https://forums.macrumors.com/threads/2011-imac-graphics-card-upgrade.1596614/?post=17425857#post-17425857)
- GPU Acceleration in Public Beta, see current issues ([#108](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108)) |
| iMac11,1 | ^^ | ^^ | ^^ |
| iMac11,2 | Mid-2010 | ^^ | ^^ |
| iMac11,3 | ^^ | ^^ | ^^ |
@@ -114,7 +114,7 @@ Regarding OS support, see below:
| iMac14,2 | ^^ | ^^ | ^^ |
| iMac14,3 | ^^ | ^^ | ^^ |
-* For iMac10,1 through iMac12,x, we highly recommend users upgrade the GPU to a Metal supported model. See here for more information: [iMac late 2009 to mid-2012 Graphics Card Upgrade Guide](https://forums.macrumors.com/threads/2011-imac-graphics-card-upgrade.1596614/?post=17425857#post-17425857)
+* For iMac10,1 through iMac12,x, we highly recommend users upgrade the GPU to a Metal supported model. See here for more information: [iMac late 2009 to mid-2011 Graphics Card Upgrade Guide](https://forums.macrumors.com/threads/2011-imac-graphics-card-upgrade.1596614/?post=17425857#post-17425857)
### Mac Pro