summaryrefslogtreecommitdiffstats
path: root/src/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usb.c')
-rw-r--r--src/usb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usb.c b/src/usb.c
index 364930c..9baf933 100644
--- a/src/usb.c
+++ b/src/usb.c
@@ -380,8 +380,9 @@ static int usb_device_add(libusb_device* dev)
}
if(devdesc.idVendor != VID_APPLE)
return -1;
- if((devdesc.idProduct < PID_RANGE_LOW) ||
- (devdesc.idProduct > PID_RANGE_MAX))
+ if((devdesc.idProduct != PID_APPLE_T2_COPROCESSOR) &&
+ ((devdesc.idProduct < PID_RANGE_LOW) ||
+ (devdesc.idProduct > PID_RANGE_MAX)))
return -1;
libusb_device_handle *handle;
usbmuxd_log(LL_INFO, "Found new device with v/p %04x:%04x at %d-%d", devdesc.idVendor, devdesc.idProduct, bus, address);