corpnewt / USBMap

Python script for mapping USB ports in macOS and creating a custom injector kext.
MIT License
1.03k stars 88 forks source link

USBMapInjectorEdit is unclear #38

Open walteweiss opened 2 years ago

walteweiss commented 2 years ago

I performed all the steps needed for mapping ports, but the USBMapInjectorEdit one is completely unclear for me.

Would you mind to explain it with more details? As I understand it, it’s needed for disabling the ports you already mapped, so you can find out more of them after the reboot. At each reboot (I assume) macOS randomly chooses 15 ports, which is why we need to map the needed ones in the first place.

But how to do it? Do you mind to explain it more thoroughly? I think I just missed this step. For me, all the ports were visible correctly. I have 20 of them in total. And after mapping all of them, I had just 14 out of 20. I disabled two USB3 ports that I use for USB2 devices, so the total number would be 12, just in case.

But I didn't disable anything in USBMapInjectorEdit, I simply couldn’t understand how to use the tool.

Thank you, W

raykin commented 2 years ago

I apply all options(except legacy) to USBMap.kext, but it doesn't has any changes. Its date modified doesn't change at all.