usb-info Python script that scan usb ports Installation Install the required dependencies: pip install infi.devicemanager #Requirements Python 3+, infi.devicemanager.