From 16d92681707a2408e011f6f9529b39a71a081221 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sun, 16 Aug 2009 14:46:22 +0200 Subject: Add usb ids for iPhone 3GS and iPod Touch 2G --- usbmuxd/usb-linux.c | 4 +++- usbmuxd/usb.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'usbmuxd') 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 -- cgit v1.1-32-gdbae