diff --git a/CHANGELOG.md b/CHANGELOG.md index f5e435be0..189dcf265 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,16 @@ # OpenCore Legacy Patcher changelog ## 0.4.3 +- Increment Binaries: + - PatcherSupportPkg 0.3.2 - release + - OpenCorePkg 0.7.8 - release + - Lilu 1.6.0 - release + - WhateverGreen 1.5.7 - release +- Resolve many non-Metal issues: + - Control Centre Sliders + - Shift/missing icons + - Hardware Cursor + - Quicklook dismiss/expand ## 0.4.2 - Resolve app crashing on some 3rd party SAS/SATA controllers diff --git a/payloads/Kexts/Acidanthera/Lilu-v1.5.9-DEBUG.zip b/payloads/Kexts/Acidanthera/Lilu-v1.5.9-DEBUG.zip deleted file mode 100644 index 31c4db9e8..000000000 Binary files a/payloads/Kexts/Acidanthera/Lilu-v1.5.9-DEBUG.zip and /dev/null differ diff --git a/payloads/Kexts/Acidanthera/Lilu-v1.5.9-RELEASE.zip b/payloads/Kexts/Acidanthera/Lilu-v1.5.9-RELEASE.zip deleted file mode 100644 index 562074e83..000000000 Binary files a/payloads/Kexts/Acidanthera/Lilu-v1.5.9-RELEASE.zip and /dev/null differ diff --git a/payloads/Kexts/Acidanthera/Lilu-v1.6.0-DEBUG.zip b/payloads/Kexts/Acidanthera/Lilu-v1.6.0-DEBUG.zip new file mode 100644 index 000000000..1a6ffebaa Binary files /dev/null and b/payloads/Kexts/Acidanthera/Lilu-v1.6.0-DEBUG.zip differ diff --git a/payloads/Kexts/Acidanthera/Lilu-v1.6.0-RELEASE.zip b/payloads/Kexts/Acidanthera/Lilu-v1.6.0-RELEASE.zip new file mode 100644 index 000000000..f8b0eff03 Binary files /dev/null and b/payloads/Kexts/Acidanthera/Lilu-v1.6.0-RELEASE.zip differ diff --git a/payloads/Kexts/Acidanthera/WhateverGreen-v1.5.6-DEBUG.zip b/payloads/Kexts/Acidanthera/WhateverGreen-v1.5.6-DEBUG.zip deleted file mode 100644 index eccb26348..000000000 Binary files a/payloads/Kexts/Acidanthera/WhateverGreen-v1.5.6-DEBUG.zip and /dev/null differ diff --git a/payloads/Kexts/Acidanthera/WhateverGreen-v1.5.6-RELEASE.zip b/payloads/Kexts/Acidanthera/WhateverGreen-v1.5.6-RELEASE.zip deleted file mode 100644 index fea05af68..000000000 Binary files a/payloads/Kexts/Acidanthera/WhateverGreen-v1.5.6-RELEASE.zip and /dev/null differ diff --git a/payloads/Kexts/Acidanthera/WhateverGreen-v1.5.7-DEBUG.zip b/payloads/Kexts/Acidanthera/WhateverGreen-v1.5.7-DEBUG.zip new file mode 100644 index 000000000..2091d8ec3 Binary files /dev/null and b/payloads/Kexts/Acidanthera/WhateverGreen-v1.5.7-DEBUG.zip differ diff --git a/payloads/Kexts/Acidanthera/WhateverGreen-v1.5.7-RELEASE.zip b/payloads/Kexts/Acidanthera/WhateverGreen-v1.5.7-RELEASE.zip new file mode 100644 index 000000000..2db2bf13e Binary files /dev/null and b/payloads/Kexts/Acidanthera/WhateverGreen-v1.5.7-RELEASE.zip differ diff --git a/payloads/OpenCore/OpenCore-DEBUG.zip b/payloads/OpenCore/OpenCore-DEBUG.zip index 2e26e2b9d..5edb77236 100644 Binary files a/payloads/OpenCore/OpenCore-DEBUG.zip and b/payloads/OpenCore/OpenCore-DEBUG.zip differ diff --git a/payloads/OpenCore/OpenCore-RELEASE.zip b/payloads/OpenCore/OpenCore-RELEASE.zip index 6272e1150..1af1e7eb9 100644 Binary files a/payloads/OpenCore/OpenCore-RELEASE.zip and b/payloads/OpenCore/OpenCore-RELEASE.zip differ diff --git a/resources/constants.py b/resources/constants.py index c11b0b3df..07934f976 100644 --- a/resources/constants.py +++ b/resources/constants.py @@ -15,7 +15,7 @@ class Constants: def __init__(self): # Patcher Versioning self.patcher_version = "0.4.3" # OpenCore-Legacy-Patcher - self.patcher_support_pkg_version = "0.3.1" # PatcherSupportPkg + self.patcher_support_pkg_version = "0.3.2" # PatcherSupportPkg self.url_patcher_support_pkg = "https://github.com/dortania/PatcherSupportPkg/releases/download/" self.nightly_url_patcher_support_pkg = "https://nightly.link/dortania/PatcherSupportPkg/workflows/build/master/" self.discord_link = "https://discord.gg/rqdPgH8xSN" @@ -26,14 +26,14 @@ class Constants: # OpenCore Versioning # https://github.com/acidanthera/OpenCorePkg - self.opencore_commit = "b530a29 - 01-11-2022" - self.opencore_version = "0.7.7" + self.opencore_commit = "30798fb - 02-07-2022" + self.opencore_version = "0.7.8" # Kext Versioning ## Acidanthera ## https://github.com/acidanthera - self.lilu_version = "1.5.9" # Lilu - self.whatevergreen_version = "1.5.6" # WhateverGreen + self.lilu_version = "1.6.0" # Lilu + self.whatevergreen_version = "1.5.7" # WhateverGreen self.airportbcrmfixup_version = "2.1.3" # AirPortBrcmFixup self.nvmefix_version = "1.0.9" # NVMeFix self.applealc_version = "1.6.3" # AppleALC diff --git a/resources/device_probe.py b/resources/device_probe.py index 8575e1f9f..bc870a8e5 100644 --- a/resources/device_probe.py +++ b/resources/device_probe.py @@ -153,6 +153,9 @@ class NVMeController(PCIDevice): aspm: Optional[int] = None # parent_aspm: Optional[int] = None +@dataclass +class EthernetController(PCIDevice): + CLASS_CODE: ClassVar[int] = 0x020000 @dataclass class SATAController(PCIDevice): @@ -359,6 +362,7 @@ class Computer: dgpu: Optional[GPU] = None # Shortcut for GFX0 storage: list[PCIDevice] = field(default_factory=list) usb_controllers: list[PCIDevice] = field(default_factory=list) + ethernet: list[PCIDevice] = field(default_factory=list) wifi: Optional[WirelessCard] = None cpu: Optional[CPU] = None oclp_version: Optional[str] = None @@ -375,6 +379,7 @@ class Computer: computer.wifi_probe() computer.storage_probe() computer.usb_controller_probe() + computer.ethernet_probe() computer.smbios_probe() computer.cpu_probe() computer.bluetooth_probe() @@ -476,6 +481,18 @@ class Computer: for device in uhci_controllers: self.usb_controllers.append(UHCIController.from_ioregistry(device)) ioreg.IOObjectRelease(device) + + def ethernet_probe(self): + ethernet_controllers = ioreg.ioiterator_to_list( + ioreg.IOServiceGetMatchingServices( + ioreg.kIOMasterPortDefault, + {"IOProviderClass": "IOPCIDevice", "IOPropertyMatch": [{"class-code": binascii.a2b_hex(utilities.hexswap(hex(EthernetController.CLASS_CODE)[2:].zfill(8)))}]}, + None, + )[1] + ) + for device in ethernet_controllers: + self.ethernet.append(EthernetController.from_ioregistry(device)) + ioreg.IOObjectRelease(device) def storage_probe(self):