mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
7 lines
620 B
Text
7 lines
620 B
Text
# usbmuxd (iPhone "Apple Mobile Device" MUXer listening on /var/run/usbmuxd)
|
|
|
|
# Forces iPhone 1.0, 3G, 3GS and iPodTouch 1 and 2 to USB configuration 3 and run usbmuxd
|
|
ACTION=="add", SUBSYSTEM=="usb", GROUP="plugdev", MODE="770", OWNER="usbmux", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9]", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="/usr/sbin/usbmuxd -u --user=usbmux"
|
|
|
|
# Exit usbmuxd when the last phone is removed
|
|
ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/129[0-9]/*", ENV{INTERFACE}=="255/*", RUN+="/usr/sbin/usbmuxd -x"
|