Ticket #23 (closed defect: fixed)
libusb_get_device_list OS X
|Reported by:||auser01||Owned by:||hjelmn|
libusb_get_device_list does not return devices if they have a non-consecutive address.
This can happen, for example, with a virtual machine (such as Parallels) that has a USB device assigned to Windows. This will create a gap in the addresses and anything after that gap is not returned in libusb_get_device_list.
When OS X finds a USB device it assigns it an address. If a virtua machine "takes" the device it looks like OS X has a hole in the assigned addresses. For example, OS X initally creates a list such as:
1 Fun 1
2 Fun 2
3 Fun 3
4 Fun 4
If a VM does not use any of the devices libusb_get_device_list is just happy.
But if a VM "takes" Fun 3 then libusb_get_device_list will only report Fun 1 & Fun 2. Fun 4 gets lost.