I have a project where I have several dozen cameras connected to my Ubuntu 12.04 laptop via USB and I need to grab images from these cameras via Gphoto2
The problem is that when I disconnect the USB cable and re-connect it, the USB port number increments so I'm unable to tell which camera I am communicating with when grabbing images as gphoto requires me to define a port number from which to grab images.
Is there any way of resetting the USB port numbers so that the USB Ports are assigned based on the sequence which they are plugged in? Or is there any other method that I can use to map the cameras so that I can retrieve images from the correct camera every time?