diff options
| author | 2009-06-19 14:34:16 +0200 | |
|---|---|---|
| committer | 2009-06-19 14:34:16 +0200 | |
| commit | bb33ccdf06f261dca033d70772bc256c890c76f7 (patch) | |
| tree | d5062ad9fbd39545f2cec59b0050e8d26339fbd6 /src/main.c | |
| parent | 2417678145a801bd311f64e55a07378dab6f3ba0 (diff) | |
| download | usbmuxd-bb33ccdf06f261dca033d70772bc256c890c76f7.tar.gz usbmuxd-bb33ccdf06f261dca033d70772bc256c890c76f7.tar.bz2 | |
Add product ids to support iPhone 3GS
Signed-off-by: Nikias Bassen <nikias@gmx.li>
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -662,7 +662,7 @@ static void *usbmuxd_client_init_thread(void *arg) | |||
| 662 | for (dev = bus->devices; dev; dev = dev->next) { | 662 | for (dev = bus->devices; dev; dev = dev->next) { |
| 663 | if (dev->descriptor.idVendor == 0x05ac | 663 | if (dev->descriptor.idVendor == 0x05ac |
| 664 | && dev->descriptor.idProduct >= 0x1290 | 664 | && dev->descriptor.idProduct >= 0x1290 |
| 665 | && dev->descriptor.idProduct <= 0x1293) { | 665 | && dev->descriptor.idProduct <= 0x1294) { |
| 666 | if (verbose >= 1) | 666 | if (verbose >= 1) |
| 667 | logmsg(LOG_NOTICE, | 667 | logmsg(LOG_NOTICE, |
| 668 | "%s[%x]: Found device on bus %s, id %s", | 668 | "%s[%x]: Found device on bus %s, id %s", |
| @@ -1072,7 +1072,7 @@ static int devices_attached() | |||
| 1072 | for (dev = bus->devices; dev; dev = dev->next) { | 1072 | for (dev = bus->devices; dev; dev = dev->next) { |
| 1073 | if (dev->descriptor.idVendor == 0x05ac | 1073 | if (dev->descriptor.idVendor == 0x05ac |
| 1074 | && dev->descriptor.idProduct >= 0x1290 | 1074 | && dev->descriptor.idProduct >= 0x1290 |
| 1075 | && dev->descriptor.idProduct <= 0x1293) { | 1075 | && dev->descriptor.idProduct <= 0x1294) { |
| 1076 | res++; | 1076 | res++; |
| 1077 | } | 1077 | } |
| 1078 | } | 1078 | } |
