From 80e7cda8c6fdc798b21a0c895bcf0638c649335b Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Sat, 30 Aug 2025 16:41:07 +0700 Subject: [PATCH] Add null ethernet when only USB network adapters detected --- Scripts/acpi_guru.py | 2 +- Scripts/kext_maestro.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/acpi_guru.py b/Scripts/acpi_guru.py index be1524c..9060ae6 100644 --- a/Scripts/acpi_guru.py +++ b/Scripts/acpi_guru.py @@ -3282,7 +3282,7 @@ DefinitionBlock ("", "SSDT", 2, "ZPSS", "WMIS", 0x00000000) else: selected_patches.append("PLUG") - if not hardware_report.get("Network"): + if all(network_props.get("Bus Type") == "USB" for network_props in hardware_report.get("Network", {}).values()): selected_patches.append("RMNE") if hardware_report.get("Motherboard").get("Chipset") in ("C610/X99", "Wellsburg", "X299"): diff --git a/Scripts/kext_maestro.py b/Scripts/kext_maestro.py index 8e9bbe6..a44aa24 100644 --- a/Scripts/kext_maestro.py +++ b/Scripts/kext_maestro.py @@ -296,7 +296,7 @@ class KextMaestro: elif device_id in pci_data.IntelX500IDs: selected_kexts.append("IntelLucy") - if not hardware_report.get("Network"): + if all(network_props.get("Bus Type") == "USB" for network_props in hardware_report.get("Network", {}).values()): selected_kexts.append("NullEthernet") for bluetooth_name, bluetooth_props in hardware_report.get("Bluetooth", {}).items():