+ for (i = 0; i < ARRAY_SIZE(supported_devices); i++) {
+ dev->usb_device = libusb_open_device_with_vid_pid(NULL,
+ supported_devices[i].vendor_id,
+ supported_devices[i].product_id);
+ if (dev->usb_device) {
+ printf("%s: device found: %s\n", __func__, supported_devices[i].name);
+ break;
+ }
+ }