andrea florio 2014-10-02 11:04:40 +00:00 committed by Git OBS Bridge
parent 6719b746ce
commit ccb39230f1

View File

@ -1,21 +1,21 @@
diff -u -r usb-modeswitch-data-20120531.org/40-usb_modeswitch.rules usb-modeswitch-data-20120531/40-usb_modeswitch.rules
--- usb-modeswitch-data-20121109.org/40-usb_modeswitch.rules 2012-12-03 14:15:48.751958694 +0200
+++ usb-modeswitch-data2-0121109/40-usb_modeswitch.rules 2012-12-03 14:16:49.063343878 +0200
@@ -525,6 +525,9 @@
# Huawei E173s
ATTR{idVendor}=="12d1", ATTR{idProduct}=="1c0b", RUN+="usb_modeswitch '%b/%k'"
diff -uNr usb-modeswitch-data-20140529/40-usb_modeswitch.rules new-usb-modeswitch-data-20140529/40-usb_modeswitch.rules
--- usb-modeswitch-data-20140529/40-usb_modeswitch.rules 2014-05-29 21:51:51.000000000 +0200
+++ new-usb-modeswitch-data-20140529/40-usb_modeswitch.rules 2014-10-02 13:02:06.847608203 +0200
@@ -21,7 +21,7 @@
+# Huawei E173s
+ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c00", RUN+="usb_modeswitch -w 3000 '%b/%k'"
+
# Huawei GP02 (E587 Variant)
ATTR{idVendor}=="12d1", ATTR{idProduct}=="1c1b", RUN+="usb_modeswitch '%b/%k'"
diff -u -r usb-modeswitch-data-20120531.org/usb_modeswitch.d/12d1:1c0b usb-modeswitch-data-20120531/usb_modeswitch.d/12d1:1c0b
--- usb-modeswitch-data-20121109.org/usb_modeswitch.d/12d1:1c0b 2012-12-03 14:15:48.754958714 +0200
+++ usb-modeswitch-data-20121109/usb_modeswitch.d/12d1:1c0b 2012-12-03 14:17:35.495640324 +0200
# Generic entry for all Huawei devices
-ATTRS{idVendor}=="12d1", ATTR{bInterfaceNumber}=="00", ATTR{bInterfaceClass}=="08", RUN+="usb_modeswitch '%b/%k'"
+ATTRS{idVendor}=="12d1", ATTR{bInterfaceNumber}=="00", ATTR{bInterfaceClass}=="08", RUN+="usb_modeswitch -w 3000 '%b/%k'"
# HP LaserJet Professional P1102
ATTR{idVendor}=="03f0", ATTR{idProduct}=="002a", RUN+="usb_modeswitch '%b/%k'"
diff -uNr usb-modeswitch-data-20140529/usb_modeswitch.d/12d1:1c0b new-usb-modeswitch-data-20140529/usb_modeswitch.d/12d1:1c0b
--- usb-modeswitch-data-20140529/usb_modeswitch.d/12d1:1c0b 2014-05-29 14:57:00.000000000 +0200
+++ new-usb-modeswitch-data-20140529/usb_modeswitch.d/12d1:1c0b 2014-10-02 13:01:32.617257701 +0200
@@ -2,3 +2,4 @@
TargetVendor=0x12d1
TargetProductList="1c05,1c07,1c08,1c10"
MessageContent="55534243123456780000000000000011062000000101000100000000000000"
HuaweiNewMode=1
+WaitBefore=3
\ No newline at end of file