Add AppleALC kext with a temporary patch for macOS Sequoia 15

This commit is contained in:
Hoang Hong Quan
2024-09-11 17:29:45 +07:00
parent 6156b699b0
commit e7794d6c44
3 changed files with 7 additions and 3 deletions

View File

@@ -157,7 +157,7 @@ class ConfigProdigy:
"keepsyms=1"
]
if codec_id in codec_layouts.data and not ("AMD" in cpu_manufacturer and macos_version > (23, 0, 0)):
if codec_id in codec_layouts.data:
boot_args.append("alcid={}".format(random.choice(codec_layouts.data.get(codec_id))))
if "AMD" in cpu_manufacturer or self.is_intel_hedt_cpu(cpu_codename):

View File

@@ -19,7 +19,6 @@ class gatheringFiles:
self.download_history_file = os.path.join(self.ock_files_dir, "history.json")
self.builds = [
"AirportBrcmFixup",
"AppleALC",
"BrcmPatchRAM",
"BrightnessKeys",
"CryptexFixup",
@@ -107,6 +106,11 @@ class gatheringFiles:
"id": 926491527,
"url": "https://github.com/dortania/OpenCore-Legacy-Patcher/raw/main/payloads/Kexts/Acidanthera/AMFIPass-v1.4.1-RELEASE.zip"
},
{
"product_name": "AppleALC",
"id": 223994507,
"url": "https://github.com/lzhoang2801/lzhoang2801.github.io/raw/main/public/extra-files/AppleALC-1.9.2-RELEASE.zip"
},
{
"product_name": "AppleIGB",
"id": 736194363,

View File

@@ -589,7 +589,7 @@ class KextMaestro:
if macos_version > (22, 0, 0) or custom_cpu_name or "MacPro7,1" in smbios:
kexts.append("RestrictEvents")
if codec_id in pci_data.CodecIDs and not ("AMD" in cpu_manufacturer and macos_version > (23, 0, 0)):
if codec_id in pci_data.CodecIDs:
kexts.append("AppleALC")
if "AMD" in cpu_manufacturer and macos_version > (21, 0, 0) or int(cpu_configuration) > 1 and macos_version > (18, 0, 0):