From 2bff11cdd189745dd044c759afec9ce9c6ceb9fa Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 13 Jul 2009 14:30:23 +0200 Subject: Added support for PTP + Apple Mobile Device + Apple USB Ethernet interfaces by setting to the highest configuration value available(thanks Martin). --- udev/85-usbmuxd.rules.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.1-32-gdbae