Skip to content

foskvs/USBPatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

USBPatcher

Simple SwiftUI app that can patch _UPC methods to ACPI Source Language files.

If you use this software please cite this page.

The app includes iasl as a bundle inside Contents/Resources (it is used to compile/decompile AML files). You can update it to the latest version by downloading it from here.

You can find prebuilt binaries here.

Source code is here.

Usage

You can open ACPI Machine Language binaries directly, so there is no need to recompile the SSDT after you patch it.

  • Open the decompiled SSDT with USBPatcher (optional).
  • Fill the table with the proper values for Connector Type and select the checkboxes for the ports that you want to enable.
  • Click the Patch button.
    • Warning: Patch applies the patch to all the ports, so make sure you disable any ports you don't need.
  • Save the changes (optional, as autosave is enabled).
  • Compile the patched SSDT (not needed if opening directly an AML file).

Supported configurations

Both Name (_UPC, ... and Method (_UPC, ... are supported.

Warning

I am not responsible for corrupt files.

The macOS target version should be at least macOS 12.0.

The iOS target version should be at least iOS 15. Currently the app is not supported on iOS.

To-do list

  1. Support tables with _UPC defined as Name.
  2. Support ports that are defined in the same table of _UPC (e.g. DSDTs).
  3. List only ports that have _UPC defined in the SSDT.
  4. Open ACPI Machine Language binaries.
  5. Add the possibility to import the current configuration from the ACPI tables.

About

USB Port Capabilities ACPI injector

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors