diff options
| author | 2014-07-26 17:08:41 +0200 | |
|---|---|---|
| committer | 2014-09-19 18:54:02 +0200 | |
| commit | 577538f213cd7132c7450db393fd6fef6bb46b5a (patch) | |
| tree | 74a21364696e0e2f375613e1c45006d5e6779dc0 /udev/39-usbmuxd.rules.in | |
| parent | b7976d2a53b27ec9c42f81a22e91704dbcc5fb53 (diff) | |
| download | usbmuxd-577538f213cd7132c7450db393fd6fef6bb46b5a.tar.gz usbmuxd-577538f213cd7132c7450db393fd6fef6bb46b5a.tar.bz2 | |
Add systemd activation autofoo with fallback for udev and manual activation
Diffstat (limited to 'udev/39-usbmuxd.rules.in')
| -rw-r--r-- | udev/39-usbmuxd.rules.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/udev/39-usbmuxd.rules.in b/udev/39-usbmuxd.rules.in index f4eb66f..91b14db 100644 --- a/udev/39-usbmuxd.rules.in +++ b/udev/39-usbmuxd.rules.in | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # usbmuxd ("Apple Mobile Device" muxer listening on /var/run/usbmuxd) | 1 | # usbmuxd (Apple Mobile Device Muxer listening on /var/run/usbmuxd) |
| 2 | 2 | ||
| 3 | # Initialize iOS devices into "deactivated" USB configuration state and run usbmuxd | 3 | # Initialize iOS devices into "deactivated" USB configuration state and activate usbmuxd |
| 4 | ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="12[9a][0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}="0", OWNER="usbmux", RUN+="@prefix@/sbin/usbmuxd -u -U usbmux" | 4 | ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="12[9a][0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}="0", OWNER="usbmux", @udev_activation_rule@ |
| 5 | 5 | ||
| 6 | # Exit usbmuxd when the last device is removed | 6 | # Exit usbmuxd when the last device is removed |
| 7 | ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ENV{INTERFACE}=="255/*", RUN+="@prefix@/sbin/usbmuxd -x" | 7 | ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ENV{INTERFACE}=="255/*", RUN+="@sbindir@/usbmuxd -x" |
