wok-next diff usbmuxd/stuff/usbmuxd-udevuser.patch @ rev 10665

xbill: Fixed deps and bdeps. I think. It needs Xm/Xm.h file and lesstif-dev has it.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 27 03:44:32 2011 +0000 (2011-05-27)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/usbmuxd/stuff/usbmuxd-udevuser.patch	Fri May 27 03:44:32 2011 +0000
     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"