usb_modeswitch-data/ztemf691.patch

34 lines
1.6 KiB
Diff

diff -up usb-modeswitch-data-20101222/40-usb_modeswitch.rules.1201 usb-modeswitch-data-20101222/40-usb_modeswitch.rules
--- usb-modeswitch-data-20101222/40-usb_modeswitch.rules.1201 2010-12-30 16:09:26.951149009 -0600
+++ usb-modeswitch-data-20101222/40-usb_modeswitch.rules 2010-12-30 16:10:07.591149003 -0600
@@ -399,6 +399,9 @@ ATTRS{idVendor}=="19d2", ATTRS{idProduct
# Vodafone (ZTE) K3806-Z
ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1013", RUN+="usb_modeswitch '%b/%k'"
+# T-Mobile Rocket 2 (ZTE) MF691
+ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1201", RUN+="usb_modeswitch '%b/%k'"
+
# ZTE devices
ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2000", RUN+="usb_modeswitch '%b/%k'"
diff -up usb-modeswitch-data-20101222/usb_modeswitch.d/19d2:1201.1201 usb-modeswitch-data-20101222/usb_modeswitch.d/19d2:1201
--- usb-modeswitch-data-20101222/usb_modeswitch.d/19d2:1201.1201 2010-12-30 16:10:39.107149000 -0600
+++ usb-modeswitch-data-20101222/usb_modeswitch.d/19d2:1201 2010-12-30 16:11:28.013149003 -0600
@@ -0,0 +1,16 @@
+########################################################
+# T-Mobile Rocket 2 (ZTE) MF691
+#
+# Note:
+# This device has multiple USB profiles. Depending upon how it is flipped
+# from storage mode to modem mode determines its final PID and the packages
+# shown on its ISO CD image.
+
+DefaultVendor= 0x19d2
+DefaultProduct= 0x1201
+
+TargetVendor= 0x19d2
+TargetProduct= 0x1203
+
+MessageContent="5553424392020000000000000000061B000000020000000000000000000000"
+