summaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-07-13 14:30:23 +0200
committerGravatar Nikias Bassen2009-07-13 14:30:23 +0200
commit2bff11cdd189745dd044c759afec9ce9c6ceb9fa (patch)
tree89b8eca6a7548fae80c7a0567fa2c8c1a59dda16 /udev
parent96149556f89f4250621f5892a0684f96f8c7c5e5 (diff)
downloadusbmuxd-0.1.0.tar.gz
usbmuxd-0.1.0.tar.bz2
Added support for PTP + Apple Mobile Device + Apple USB Ethernet interfacesv0.1.0
by setting to the highest configuration value available(thanks Martin).
Diffstat (limited to 'udev')
-rw-r--r--udev/85-usbmuxd.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/85-usbmuxd.rules.in b/udev/85-usbmuxd.rules.in
index 4f28cdf..4e35f7e 100644
--- a/udev/85-usbmuxd.rules.in
+++ b/udev/85-usbmuxd.rules.in
@@ -4,7 +4,7 @@
ACTION=="add|remove", SUBSYSTEM!="usb|usb_endpoint", ATTRS{idVendor}!="05ac", GOTO="usbmuxd_rules_end"
# Forces iPhone 1.0, 3G, 3GS and iPodTouch 1 and 2 to USB configuration 3
-ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="1290|1291|1292|1293|1294", ATTR{bConfigurationValue}!="3", ATTR{bConfigurationValue}="3", GOTO="usbmuxd_rules_end"
+ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="1290|1291|1292|1293|1294", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", GOTO="usbmuxd_rules_end"
LABEL="usbmuxd_rules_usbmux"