diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/usb.c | 5 | ||||
-rw-r--r-- | src/usb.h | 1 |
2 files changed, 4 insertions, 2 deletions
@@ -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); @@ -46,6 +46,7 @@ #define VID_APPLE 0x5ac #define PID_RANGE_LOW 0x1290 #define PID_RANGE_MAX 0x12af +#define PID_APPLE_T2_COPROCESSOR 0x8600 struct usb_device; |