Use GenericUSBXHCI only with AMD Ryzen laptops

This commit is contained in:
Hoang Hong Quan
2024-10-30 23:37:37 +07:00
parent e4dd8a4eb1
commit 8e81c5c50c

View File

@@ -239,7 +239,7 @@ class KextMaestro:
device_id = controller_props.get("Device ID")
if device_id in pci_data.UnsupportedUSBControllerIDs:
idx = pci_data.UnsupportedUSBControllerIDs.index(device_id)
if idx == 0:
if idx == 0 and "Laptop" in hardware_report.get("Motherboard").get("Platform"):
selected_kexts.append("GenericUSBXHCI")
else:
selected_kexts.append("XHCI-unsupported")