Skip to content

Commit

Permalink
Fix audio support on iMac7,1 and iMac8,1
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed May 11, 2021
1 parent 0a0a59f commit e5fd984
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- Fix NightShift accidentally disabling on Minimal SMBIOS configs
- Fix iMac9,1 audio support
- Heavily expand Graphics ID list
- Fix iMac7,1 audio support
- Fix iMac7,1 and iMac8,1 audio support
- Work-around Bluetooth Kernel Panic on Apple's Bluetooth 2.0 Controllers (USB 05AC:8206)
- Affects iMac7,1 and MacPro3,1
- Fix iMac external display support
Expand Down
1 change: 1 addition & 0 deletions OpenCore-Patcher.command
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ system_profiler SPHardwareDataType | grep 'Model Identifier'
- Nvidia: Tesla - Fermi (8000-500 series)
- Intel: Ironlake - Sandy Bridge
- AMD: TeraScale 1 (2000-4000 series)
- Audio support for iMac7,1 and iMac8,1
WARNING: Root Volume Patching is still in active development, please
have all important user data backed up. Note when the system volume
Expand Down
5 changes: 3 additions & 2 deletions Resources/ModelArray.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@
"Macmini5,1",
"Macmini5,2",
"Macmini5,3",
"iMac7,1",
"iMac8,1",
#"iMac7,1",
#"iMac8,1",
"iMac9,1",
"iMac10,1",
"iMac11,1",
Expand Down Expand Up @@ -1014,5 +1014,6 @@
]

AddVolumeControl = [
"AppleHDA.kext",
"IOAudioFamily.kext",
]
2 changes: 1 addition & 1 deletion Resources/SysPatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def patch_root_vol(self):
self.gpu_accel_patches_11()
rebuild_required = True

if self.model == "iMac7,1":
if self.model in ["iMac7,1", "iMac8,1"]:
print("- Fixing Volume Control Support")
self.add_new_binaries(ModelArray.AddVolumeControl, self.constants.audio_path)

Expand Down

0 comments on commit e5fd984

Please sign in to comment.