summaryrefslogtreecommitdiffstats
path: root/udev/89-libiphone.rules.in
diff options
context:
space:
mode:
authorGravatar Matt Colyer2009-03-24 10:01:25 -0700
committerGravatar Matt Colyer2009-03-24 10:01:25 -0700
commit0114d8da493e69f14bc2669ae0ec6b9813b237cf (patch)
tree08ecfcb23f61ffa4b1066da4c4a2367672ab31d1 /udev/89-libiphone.rules.in
parent127a5934b593ea7fd34b16477e6dd5619101bcb9 (diff)
downloadlibimobiledevice-0114d8da493e69f14bc2669ae0ec6b9813b237cf.tar.gz
libimobiledevice-0114d8da493e69f14bc2669ae0ec6b9813b237cf.tar.bz2
Added support for forcing the iPhone into configuration 3 through udev to allow automounting support.
Diffstat (limited to 'udev/89-libiphone.rules.in')
-rw-r--r--udev/89-libiphone.rules.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/udev/89-libiphone.rules.in b/udev/89-libiphone.rules.in
new file mode 100644
index 0000000..48e9a16
--- /dev/null
+++ b/udev/89-libiphone.rules.in
@@ -0,0 +1,5 @@
+# Forces iPhone 1.0, 3G and iPodTouch 1 and 2 to USB configuration 3
+KERNEL=="?-?", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="1290", ACTION=="add", RUN+="@bindir@/set-usb-configuration-3.sh"
+KERNEL=="?-?", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="1291", ACTION=="add", RUN+="@bindir@/set-usb-configuration-3.sh"
+KERNEL=="?-?", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="1292", ACTION=="add", RUN+="@bindir@/set-usb-configuration-3.sh"
+KERNEL=="?-?", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="1293", ACTION=="add", RUN+="@bindir@/set-usb-configuration-3.sh"