From eccf10f9d58357bdb8ccb167177ef1fcad2c7b83 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Sat, 17 Aug 2024 17:24:02 +0700 Subject: [PATCH] Memory Controller Hub Controller device is not present in Apple's desktop "Pro" lines --- Scripts/acpi_guru.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/acpi_guru.py b/Scripts/acpi_guru.py index 4f1dcf4..fec1a41 100644 --- a/Scripts/acpi_guru.py +++ b/Scripts/acpi_guru.py @@ -432,8 +432,8 @@ DefinitionBlock ("", "SSDT", 2, "ZPSS", "IMEI", 0x00000000) "Path": ssdt_name + ".aml" }) - def add_memory_controller_device(self, cpu_manufacturer, cpu_codename, smbios): - if "Intel" not in cpu_manufacturer or "MacPro" in smbios and self.is_intel_hedt_cpu(cpu_codename): + def add_memory_controller_device(self, cpu_manufacturer, smbios): + if "Intel" not in cpu_manufacturer or "MacPro" in smbios: return comment = "Add a Memory Controller Hub Controller device to fix AppleSMBus" @@ -2904,7 +2904,7 @@ DefinitionBlock ("", "SSDT", 2, "ZPSS", "GPUSPOOF", 0x00001000) self.dsdt = self.acpi.get_dsdt_or_only() self.get_low_pin_count_bus_device() self.add_intel_management_engine(cpu_codename, intel_mei) - self.add_memory_controller_device(cpu_manufacturer, cpu_codename, smbios) + self.add_memory_controller_device(cpu_manufacturer, smbios) self.add_null_ethernet_device(ethernet_pci) self.add_system_management_bus_device(cpu_manufacturer, cpu_codename) self.add_usb_power_properties(smbios)