diff options
author | Martin Szulecki | 2009-04-13 08:30:51 -0700 |
---|---|---|
committer | Matt Colyer | 2009-04-13 08:30:51 -0700 |
commit | b55a541ea8a8e4cd4a80126420e7b3da48148bc8 (patch) | |
tree | 5a93c0c3c715c6a60f35f22780b6f04fb50ae394 /udev/89-libiphone.rules | |
parent | 845506f1b5bd3bfa368d64b94d74600b25c94a40 (diff) | |
download | libimobiledevice-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.rules | 8 |
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" |