Add USBToolBox kext

This commit is contained in:
Hoang Hong Quan
2025-10-21 22:39:25 +07:00
parent 44e7ff8843
commit 6f2a68de79
5 changed files with 24 additions and 20 deletions

View File

@@ -695,9 +695,6 @@ class ConfigProdigy:
if kexts[kext_data.kext_index_by_name.get("BlueToolFixup")].checked:
config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["bluetoothExternalDongleFailed"] = self.utils.hex_to_bytes("00")
config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["bluetoothInternalControllerInfo"] = self.utils.hex_to_bytes("0000000000000000000000000000")
if kexts[kext_data.kext_index_by_name.get("USBInjectAll")].checked:
config["Kernel"]["Quirks"]["XhciPortLimit"] = True
if kexts[kext_data.kext_index_by_name.get("RestrictEvents")].checked:
revpatch = []

View File

@@ -473,12 +473,22 @@ kexts = [
}
),
KextInfo(
name = "USBInjectAll",
description = "Inject all USB ports for the installed Intel EHCI/XHCI chipset automatically",
name = "USBToolBox",
description = "Flexible USB mapping",
category = "USB",
github_repo = {
"owner": "daliansky",
"repo": "OS-X-USB-Inject-All"
"owner": "USBToolBox",
"repo": "kext"
}
),
KextInfo(
name = "UTBDefault",
description = "Enables all USB ports (assumes no port limit)",
category = "USB",
requires_kexts = ["USBToolBox"],
github_repo = {
"owner": "USBToolBox",
"repo": "kext"
}
),
KextInfo(

View File

@@ -181,6 +181,8 @@ class gatheringFiles:
product_name = "IntelBluetoothFirmware"
elif product_name.startswith("VoodooI2C"):
product_name = "VoodooI2C"
elif product_name == "UTBDefault":
product_name = "USBToolBox"
product_download_index = self.get_product_index(bootloader_kext_urls, product_name)
if product_download_index is None:

View File

@@ -103,7 +103,7 @@ class KextMaestro:
for kext in self.kexts:
kext.checked = kext.required
selected_kexts = []
selected_kexts = ["UTBDefault"]
if "Intel" in hardware_report.get("CPU").get("Manufacturer"):
selected_kexts.extend(("SMCProcessor", "SMCSuperIO"))