summaryrefslogtreecommitdiffstats
path: root/usbmuxd/usb-linux.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-08-16 14:46:22 +0200
committerGravatar Hector Martin2009-08-16 16:16:54 +0200
commit16d92681707a2408e011f6f9529b39a71a081221 (patch)
tree45f336d5fad9d28c46791947a3be9a32d3f0a33b /usbmuxd/usb-linux.c
parentc9a23c2379e53d769b5084eb07ec50616092cea2 (diff)
downloadusbmuxd-16d92681707a2408e011f6f9529b39a71a081221.tar.gz
usbmuxd-16d92681707a2408e011f6f9529b39a71a081221.tar.bz2
Add usb ids for iPhone 3GS and iPod Touch 2G
Diffstat (limited to 'usbmuxd/usb-linux.c')
-rw-r--r--usbmuxd/usb-linux.c4
1 files changed, 3 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);