diff options
author | Martin S | 2011-03-14 15:25:47 +0100 |
---|---|---|
committer | Hector Martin | 2011-03-15 12:35:15 +0100 |
commit | 00335c0197c3e130d7002ebab2a808a9433b3233 (patch) | |
tree | 9529fce88a01f89488802754b1cefbc3acef4049 | |
parent | b1b30622b461397485cd19e6d83b500793680271 (diff) | |
download | usbmuxd-1.0.7.tar.gz usbmuxd-1.0.7.tar.bz2 |
Bump PID range for iPad 2, iPhone 5 and their variantsv1.0.7
-rw-r--r-- | daemon/usb.h | 2 | ||||
-rw-r--r-- | udev/85-usbmuxd.rules.in | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/daemon/usb.h b/daemon/usb.h index 9884d7f..6fe7ee6 100644 --- a/daemon/usb.h +++ b/daemon/usb.h @@ -46,7 +46,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #define VID_APPLE 0x5ac #define PID_RANGE_LOW 0x1290 -#define PID_RANGE_MAX 0x129f +#define PID_RANGE_MAX 0x12af struct usb_device; diff --git a/udev/85-usbmuxd.rules.in b/udev/85-usbmuxd.rules.in index 3856c79..508990b 100644 --- a/udev/85-usbmuxd.rules.in +++ b/udev/85-usbmuxd.rules.in @@ -1,7 +1,7 @@ # usbmuxd (iPhone "Apple Mobile Device" MUXer listening on /var/run/usbmuxd) -# Forces iPhone 1.0, 3G, 3GS, iPodTouch 1/2 and iPad to USB configuration 3 and run usbmuxd -ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -u -U usbmux" +# Forces iDevices to the last USB configuration and runs usbmuxd +ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="12[9a][0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -u -U usbmux" # Exit usbmuxd when the last device is removed -ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/129[0-9a-f]/*", ENV{INTERFACE}=="255/*", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -x" +ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ENV{INTERFACE}=="255/*", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -x" |