一个macOS黑苹果系统用来制作USB端口映射和定制DSDT的acpi工具,可以生成aml文件。

用于在macOS中映射USB端口并创建自定义注射器kext的Python脚本。

特征

不依赖于USBInjectAll
可以映射XHCI(芯片组,第三方和AMD),EHCI,OHCI和UHCI端口
可以映射USB 2集线器 目前已停用
根据类名称而不是端口或控制器名称进行匹配
允许将昵称设置为发现中最新出现的填充端口
通过会话ID而不是断开的端口地址来聚合连接的设备
可以使用最佳方法生成ACPI以根据需要重命名控制器或重置RHUB设备

git的安装方法

git clone https://github.com/corpnewt/USBMap
cd USBMap
chmod +x USBMap.command

新手直接下载下面的zip,然后手动运行USBMap.command就可以了。

Scary Word Definition
Port A physical connection where you can plug a USB device. This could be a USB or USB-C port on your PC or Laptop, etc.
Header Similar to a Port, but typically on the motherboard itself. These often take a special connector, and typically either have internal devices plugged in (AiO pump controllers, Bluetooth devices, etc), or extensions that lead to ports at the front of your case when used.
Chipset The hardware on the motherboard responsible for "data flow" between components (on my Maximus X Code, this is Intel's Z370 chipset).
Controller The hardware responsible for managing USB ports.
RHUB or HUBN A software device that provides information for each individual port
OHCI and UHCI USB 1.1/1.0 protocol - OHCI is the "open" variant of UHCI. They both do roughly the same thing, but are not interchangable or compatible with each other.
EHCI USB 2.0 protocol with 1.0/1.1 backward compatibility.
XHCI USB protocol used for USB 3 and newer - can emulate USB 2.0/1.1/1.0, but is a completely different protocol.
Port Personality A software representation of a USB port. May correspond to a physical port, internal header, or may be orphaned.
Mapping In this context, the process of determining which port personalities correspond to which ports on which controllers.
Full Speed/Low Speed USB 1.x
High Speed USB 2.0
Super Speed USB 3+
Kexts A contraction of Kernel Extension - these are much like drivers and extend the functionality of the kernel.
Injector or Codeless kexts A special type of kext that has no binary, and just expands the functionality of another kext. Often used to add su

更多的使用介绍去点下面的项目链接吧,都是英文的。

 

项目:https://github.com/corpnewt/USBMap

文件下载:https://github.com/corpnewt/USBMap/archive/master.zip

网盘下载

https://url90.ctfile.com/f/38254190-1008286669-1a3f9f?p=2988 (访问密码: 2988)

链接: https://pan.baidu.com/s/1E8tVPBGlK59CAyVlpzrV-g?pwd=ibg6 提取码: ibg6

https://cloud.189.cn/web/share?code=YNJjmaIfQ3Mf

https://loadream.lanzoul.com/irPleyl3pve