|
From: Stephan M. <Ste...@ia...> - 2006-01-12 08:34:33
|
> Hi, > > I'm using libusb-win32 to interface my software with some usb devices. > The devices have the same serial number and I don't now how to > discrimanate between them. Under Windows, if devices have a serial number, then this number MUST be unique, otherwise they won't install correctly. > With the latest version of libusb can I recognize the port and the > bus where the device is connected? The lastest version provides some information about bus topology but this code will be removed in the future since it doesn't work properly. Apart from that, even if you were able the retrieve the correct bus and port number of your device you still can't keep the devices apart. Why? Because there is no way to correlate these numbers with your physical hub or bus ports. So the only way the distinguish between two identical devices are serial numbers. Stephan > > Thanks, > Valle Gianni. |