corpnewt / USBMap

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

Discovered ports not persisting after refresh #15

Closed boyuanx closed 3 years ago

boyuanx commented 4 years ago

As the title suggests, in the new version the discovered ports fail to persist after unplugging the device. Works fine in the old version.

corpnewt commented 3 years ago

If I'm understanding your issue, you're stating that when in discovery, if you plug in a device it shows, and then unplugging it removes it from the list, correct? This is by design.

There was an issue with the port counts only referencing the populated ports per controller at that current time - not the total populate ports per controller during discovery. That has been corrected in this commit.

-CorpNewt