summaryrefslogtreecommitdiffstats
path: root/extra/usbmuxd/usbmuxd-udevuser.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-07-15 17:15:11 +0200
committertnut <thierryn1 at hispeed dot ch>2010-07-15 17:15:11 +0200
commit5ad3f4a8c8e491105f821c9503acc93081296288 (patch)
tree65b658b9a1b270a47463aa45bf9a9f8feed8174b /extra/usbmuxd/usbmuxd-udevuser.patch
parent4d359d4ade9b2e39e6adfef878adf8b0eef02b62 (diff)
parent120443897fc2c4994a9ab50672593a765e41bb7e (diff)
downloadnutyx-extra-5ad3f4a8c8e491105f821c9503acc93081296288.tar.gz
nutyx-extra-5ad3f4a8c8e491105f821c9503acc93081296288.tar.bz2
nutyx-extra-5ad3f4a8c8e491105f821c9503acc93081296288.tar.xz
nutyx-extra-5ad3f4a8c8e491105f821c9503acc93081296288.zip
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/attapu
Diffstat (limited to 'extra/usbmuxd/usbmuxd-udevuser.patch')
-rw-r--r--extra/usbmuxd/usbmuxd-udevuser.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/usbmuxd/usbmuxd-udevuser.patch b/extra/usbmuxd/usbmuxd-udevuser.patch
new file mode 100644
index 000000000..abcec3250
--- /dev/null
+++ b/extra/usbmuxd/usbmuxd-udevuser.patch
@@ -0,0 +1,11 @@
+--- usbmuxd-1.0.4/udev/85-usbmuxd.rules.in.orig 2010-05-11 15:36:08.000000000 +0100
++++ usbmuxd-1.0.4/udev/85-usbmuxd.rules.in 2010-05-11 21:48:23.361733289 +0100
+@@ -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]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -u -U usbmux"
++ACTION=="add", SUBSYSTEM=="usb", OWNER="usbmux", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a]", 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]/*", ENV{INTERFACE}=="255/*", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -x"