diff options
| -rw-r--r-- | src/main.c | 4 | ||||
| -rw-r--r-- | udev/85-usbmuxd.rules.in | 4 |
2 files changed, 4 insertions, 4 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 | } |
diff --git a/udev/85-usbmuxd.rules.in b/udev/85-usbmuxd.rules.in index 3acc944..4f28cdf 100644 --- a/udev/85-usbmuxd.rules.in +++ b/udev/85-usbmuxd.rules.in | |||
| @@ -3,8 +3,8 @@ | |||
| 3 | # Skip anything non Apple | 3 | # Skip anything non Apple |
| 4 | ACTION=="add|remove", SUBSYSTEM!="usb|usb_endpoint", ATTRS{idVendor}!="05ac", GOTO="usbmuxd_rules_end" | 4 | ACTION=="add|remove", SUBSYSTEM!="usb|usb_endpoint", ATTRS{idVendor}!="05ac", GOTO="usbmuxd_rules_end" |
| 5 | 5 | ||
| 6 | # Forces iPhone 1.0, 3G and iPodTouch 1 and 2 to USB configuration 3 | 6 | # Forces iPhone 1.0, 3G, 3GS and iPodTouch 1 and 2 to USB configuration 3 |
| 7 | ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="1290|1291|1292|1293", ATTR{bConfigurationValue}!="3", ATTR{bConfigurationValue}="3", GOTO="usbmuxd_rules_end" | 7 | ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="1290|1291|1292|1293|1294", ATTR{bConfigurationValue}!="3", ATTR{bConfigurationValue}="3", GOTO="usbmuxd_rules_end" |
| 8 | 8 | ||
| 9 | LABEL="usbmuxd_rules_usbmux" | 9 | LABEL="usbmuxd_rules_usbmux" |
| 10 | 10 | ||
