mirror of
git://slackware.nl/current.git
synced 2024-12-27 09:59:16 +01:00
8 lines
545 B
Text
8 lines
545 B
Text
|
# usbmuxd (Apple Mobile Device Muxer listening on /var/run/usbmuxd)
|
||
|
|
||
|
# Initialize iOS devices into "deactivated" USB configuration state and activate 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+="/usr/sbin/usbmuxd --user usbmux --udev"
|
||
|
|
||
|
# Exit usbmuxd when the last device is removed
|
||
|
ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*", ENV{INTERFACE}=="255/*", RUN+="/usr/sbin/usbmuxd -x"
|