diff options
author | Martin Szulecki | 2009-08-16 14:46:22 +0200 |
---|---|---|
committer | Hector Martin | 2009-08-16 16:16:54 +0200 |
commit | 16d92681707a2408e011f6f9529b39a71a081221 (patch) | |
tree | 45f336d5fad9d28c46791947a3be9a32d3f0a33b /usbmuxd | |
parent | c9a23c2379e53d769b5084eb07ec50616092cea2 (diff) | |
download | usbmuxd-16d92681707a2408e011f6f9529b39a71a081221.tar.gz usbmuxd-16d92681707a2408e011f6f9529b39a71a081221.tar.bz2 |
Add usb ids for iPhone 3GS and iPod Touch 2G
Diffstat (limited to 'usbmuxd')
-rw-r--r-- | usbmuxd/usb-linux.c | 4 | ||||
-rw-r--r-- | usbmuxd/usb.h | 2 |
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 |