diff options
Diffstat (limited to 'src/usb.c')
-rw-r--r-- | src/usb.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -380,8 +380,9 @@ static int usb_device_add(libusb_device* dev) | |||
380 | } | 380 | } |
381 | if(devdesc.idVendor != VID_APPLE) | 381 | if(devdesc.idVendor != VID_APPLE) |
382 | return -1; | 382 | return -1; |
383 | if((devdesc.idProduct < PID_RANGE_LOW) || | 383 | if((devdesc.idProduct != PID_APPLE_T2_COPROCESSOR) && |
384 | (devdesc.idProduct > PID_RANGE_MAX)) | 384 | ((devdesc.idProduct < PID_RANGE_LOW) || |
385 | (devdesc.idProduct > PID_RANGE_MAX))) | ||
385 | return -1; | 386 | return -1; |
386 | libusb_device_handle *handle; | 387 | libusb_device_handle *handle; |
387 | usbmuxd_log(LL_INFO, "Found new device with v/p %04x:%04x at %d-%d", devdesc.idVendor, devdesc.idProduct, bus, address); | 388 | usbmuxd_log(LL_INFO, "Found new device with v/p %04x:%04x at %d-%d", devdesc.idVendor, devdesc.idProduct, bus, address); |