Home

Awesome

USBToolBoxᵇᵉᵗᵃ

Making USB mapping simple(r)

The USBToolBox kext is a kext intended to make common actions for USB mapping easier. It supports El Capitan and up, although only Catalina and up have been tested.

Features

This does not patch the port limit.

Configuration

USBToolBox supports configuration using boot arguments, properties, or in the map. You can set the properties on either the PCI device or the AppleUSBHostController instance.

Properties can be any type and only existence, not type, is checked, unless otherwise specified.

Converting Existing Maps

Converting existing maps is fairly easy.

Usage

You can get the latest release from the GitHub releases tab.

The zip contains 2 kexts: the main USBToolBox.kext, and UTBDefault.kext, a codeless kext used for attaching USBToolBox to all PCIe USB controllers. This is designed for use before you map, so that you can have all USB ports working (assuming no port limit) before you map. However, it is not needed and must be removed if you choose to map from the start (ie. from Windows, using the USBToolBox tool).

A basic fresh install flow would be as follows:

  1. Add USBToolBox.kext and UTBDefault.kext to your EFI/OC/Kexts folder, and make sure to update your config.plist.
  2. Install macOS.
  3. Map your ports with the USBToolBox tool.
  4. Remove UTBDefault.kext and add your newly created UTBMap.kext (or whatever your USB map is called) to EFI/OC/Kexts.
  5. Reboot and you should have a USB mapped system!

Credits

@RehabMan for USBInjectAll, an inspiration for this project

@acidanthera for MacKernelSDK

My testing team (you know who you are) for testing