wok diff usbmuxd/stuff/usbmuxd-udevuser.patch @ rev 13666

ccid: add --enable-twinserial
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 24 11:28:27 2012 +0100 (2012-11-24)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/usbmuxd/stuff/usbmuxd-udevuser.patch	Sat Nov 24 11:28:27 2012 +0100
     1.3 @@ -0,0 +1,11 @@
     1.4 +--- usbmuxd-1.0.6/udev/85-usbmuxd.rules.in.orig	2010-11-09 04:23:44.873368717 -0800
     1.5 ++++ usbmuxd-1.0.6/udev/85-usbmuxd.rules.in	2010-11-09 04:24:13.986655838 -0800
     1.6 +@@ -1,7 +1,7 @@
     1.7 + # usbmuxd (iPhone "Apple Mobile Device" MUXer listening on /var/run/usbmuxd)
     1.8 + 
     1.9 + # Forces iPhone 1.0, 3G, 3GS, iPodTouch 1/2 and iPad to USB configuration 3 and run usbmuxd
    1.10 +-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"
    1.11 ++ACTION=="add", SUBSYSTEM=="usb", OWNER="usbmux", 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"
    1.12 + 
    1.13 + # Exit usbmuxd when the last device is removed
    1.14 + ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/129[0-9a-f]/*", ENV{INTERFACE}=="255/*", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -x"