summaryrefslogtreecommitdiffstats
path: root/udev/89-libiphone.rules
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-03-27 16:18:43 +0100
committerGravatar Jonathan Beck2009-03-27 16:18:43 +0100
commit86289b387daebfa5607435a76b15848bcb46916e (patch)
tree7e2f71ad9b334c47e1d47a94e20ba0fe453e6d82 /udev/89-libiphone.rules
parent85b8a301be39c4b86cb7f38e80c3cb592240ccb9 (diff)
parent443edc808d8b2e0ac8d6c497248815a5a1a5a9c9 (diff)
downloadlibimobiledevice-86289b387daebfa5607435a76b15848bcb46916e.tar.gz
libimobiledevice-86289b387daebfa5607435a76b15848bcb46916e.tar.bz2
Merge branch 'master' of git://github.com/MattColyer/libiphone into contact_sync
Diffstat (limited to 'udev/89-libiphone.rules')
-rw-r--r--udev/89-libiphone.rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/udev/89-libiphone.rules b/udev/89-libiphone.rules
new file mode 100644
index 0000000..0982d29
--- /dev/null
+++ b/udev/89-libiphone.rules
@@ -0,0 +1,9 @@
+ATTR{idVendor}!="05ac", GOTO="libiphone_rules_end"
+
+# Forces iPhone 1.0, 3G and iPodTouch 1 and 2 to USB configuration 3
+KERNEL=="?-?", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="1290", ACTION=="add", ATTR{bConfigurationValue}="3"
+KERNEL=="?-?", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="1291", ACTION=="add", ATTR{bConfigurationValue}="3"
+KERNEL=="?-?", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="1292", ACTION=="add", ATTR{bConfigurationValue}="3"
+KERNEL=="?-?", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="1293", ACTION=="add", ATTR{bConfigurationValue}="3"
+
+LABEL="libiphone_rules_end"