Skip to content

Commit a49d065

Browse files
committed
- delete WEG Patch because it is invaild
- Improve Modern Audio Patch
1 parent d2c0619 commit a49d065

File tree

4 files changed

+7
-85
lines changed

4 files changed

+7
-85
lines changed

oclp_r/sys_patch/patchsets/detect.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
t1_security,
4949
cpu_missing_avx,
5050
voodoo_audio,
51-
whatevergreen,
51+
5252
)
5353

5454
from ... import constants
@@ -130,7 +130,6 @@ def __init__(self, constants: constants.Constants,
130130

131131
legacy_wireless.LegacyWireless,
132132
modern_wireless.ModernWireless,
133-
whatevergreen.WEG,
134133
legacy_audio.LegacyAudio,
135134
modern_audio.ModernAudio,
136135
voodoo_audio.VoodooAudio,

oclp_r/sys_patch/patchsets/hardware/misc/modern_audio.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ def present(self) -> bool:
3232
"""
3333

3434
return self._constants.audio_type=="AppleHDA" and utilities.check_kext_loaded("as.vit9696.AppleALC") !="" and utilities.check_kext_loaded("org.voodoo.driver.VoodooHDA") ==""
35-
35+
def requires_kernel_debug_kit(self) -> bool:
36+
"""
37+
Apple no longer provides standalone kexts in the base OS
38+
"""
39+
return True
3640
def native_os(self) -> bool:
3741
"""
3842
- Everything before macOS Tahoe 26 is considered native
@@ -60,7 +64,7 @@ def _modern_audio_patches(self) -> dict:
6064
"""
6165
return {
6266
"Modern Audio": {
63-
PatchType.OVERWRITE_SYSTEM_VOLUME: {
67+
PatchType.MERGE_SYSTEM_VOLUME: {
6468
"/System/Library/Extensions": {
6569
"AppleHDA.kext": "26.0 Beta 1",
6670
},

oclp_r/sys_patch/patchsets/hardware/misc/voodoo_audio.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ def _voodoo_audio_patches(self) -> dict:
4343
if self._xnu_major >= os_data.tahoe and self._os_build != "25A5279m":
4444
return {
4545
"Voodoo Audio": {
46-
PatchType.REMOVE_SYSTEM_VOLUME:[
47-
"AppleHDA.kext",
48-
],
4946
PatchType.OVERWRITE_SYSTEM_VOLUME: {
5047
"/Library/Extensions": {
5148
"VoodooHDA.kext":"11.3",
@@ -59,9 +56,6 @@ def _voodoo_audio_patches(self) -> dict:
5956
else:
6057
return {
6158
"Voodoo Audio": {
62-
PatchType.REMOVE_SYSTEM_VOLUME:[
63-
"AppleHDA.kext",
64-
],
6559
PatchType.OVERWRITE_SYSTEM_VOLUME: {
6660
"/Library/Extensions": {
6761
"VoodooHDA.kext":"11.3",

oclp_r/sys_patch/patchsets/hardware/misc/whatevergreen.py

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)