blob: f4eb66f9722963fe4050a3281c29a8f5d2dd4be0 (
plain)
1
2
3
4
5
6
7
|
# usbmuxd ("Apple Mobile Device" muxer listening on /var/run/usbmuxd)
# Initialize iOS devices into "deactivated" USB configuration state and run usbmuxd
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"
# Exit usbmuxd when the last device is removed
ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ENV{INTERFACE}=="255/*", RUN+="@prefix@/sbin/usbmuxd -x"
|