summaryrefslogtreecommitdiffstats
path: root/udev/89-libiphone.rules
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-04-13 08:30:51 -0700
committerGravatar Matt Colyer2009-04-13 08:30:51 -0700
commitb55a541ea8a8e4cd4a80126420e7b3da48148bc8 (patch)
tree5a93c0c3c715c6a60f35f22780b6f04fb50ae394 /udev/89-libiphone.rules
parent845506f1b5bd3bfa368d64b94d74600b25c94a40 (diff)
downloadlibimobiledevice-b55a541ea8a8e4cd4a80126420e7b3da48148bc8.tar.gz
libimobiledevice-b55a541ea8a8e4cd4a80126420e7b3da48148bc8.tar.bz2
Make udev rules more generic as the KERNEL match did skip usb hubs [#23 state:resolved]
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'udev/89-libiphone.rules')
-rw-r--r--udev/89-libiphone.rules8
1 files changed, 4 insertions, 4 deletions
diff --git a/udev/89-libiphone.rules b/udev/89-libiphone.rules
index 0982d29..aeefc68 100644
--- a/udev/89-libiphone.rules
+++ b/udev/89-libiphone.rules
@@ -1,9 +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"
+SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="1290", ACTION=="add", ATTR{bConfigurationValue}="3"
+SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="1291", ACTION=="add", ATTR{bConfigurationValue}="3"
+SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="1292", ACTION=="add", ATTR{bConfigurationValue}="3"
+SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="1293", ACTION=="add", ATTR{bConfigurationValue}="3"
LABEL="libiphone_rules_end"