Add null ethernet when only USB network adapters detected

This commit is contained in:
Hoang Hong Quan
2025-08-30 16:41:07 +07:00
parent 8390d0654c
commit 80e7cda8c6
2 changed files with 2 additions and 2 deletions

View File

@@ -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"):

View File

@@ -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():