sys_patch_detect: prioritize USB 3.0 support

This commit is contained in:
Mykola Grymalyuk
2023-01-12 08:52:39 -07:00
parent bef429b758
commit 1974cd6341
2 changed files with 11 additions and 1 deletions

View File

@@ -369,6 +369,12 @@ class detect_root_patch:
if self.constants.detected_os < os_data.os_data.ventura:
return False
for controller in self.constants.computer.usb_controllers:
if (isinstance(controller, device_probe.XHCIController)):
# Currently USB 1.1 patches are incompatible with USB 3.0 controllers
# TODO: Downgrade remaining USB stack to ensure full support
return False
# If we're on a hackintosh, check for UHCI/OHCI controllers
if self.constants.host_is_hackintosh is True:
for controller in self.constants.computer.usb_controllers: