summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usbmuxd/usb-linux.c4
-rw-r--r--usbmuxd/usb.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/usbmuxd/usb-linux.c b/usbmuxd/usb-linux.c
index 44eba2c..c75764b 100644
--- a/usbmuxd/usb-linux.c
+++ b/usbmuxd/usb-linux.c
@@ -268,7 +268,9 @@ static int usb_discover(void)
continue;
if( (devdesc.idProduct != PID_IPHONE2G) &&
(devdesc.idProduct != PID_ITOUCH1G) &&
- (devdesc.idProduct != PID_IPHONE3G))
+ (devdesc.idProduct != PID_IPHONE3G) &&
+ (devdesc.idProduct != PID_ITOUCH2G) &&
+ (devdesc.idProduct != PID_IPHONE3GS))
continue;
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);
diff --git a/usbmuxd/usb.h b/usbmuxd/usb.h
index 7eea707..d13d9ba 100644
--- a/usbmuxd/usb.h
+++ b/usbmuxd/usb.h
@@ -45,6 +45,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#define PID_IPHONE2G 0x1290
#define PID_ITOUCH1G 0x1291
#define PID_IPHONE3G 0x1292
+#define PID_ITOUCH2G 0x1293
+#define PID_IPHONE3GS 0x1294
#define USB_CONFIGURATION 3
#define USB_INTERFACE 1