1
0
usb_modeswitch/huawei-timing.patch
andrea florio ac24595106 Accepting request 235374 from home:tittiatcoke:KDE_Playground
Update to version 2.1.1.  I have not switched to systemd mode (nor installed the service file as that this does not work.

OBS-URL: https://build.opensuse.org/request/show/235374
OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=39
2014-05-26 12:02:10 +00:00

22 lines
1.1 KiB
Diff

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'"
+# 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
@@ -2,3 +2,4 @@
TargetVendor=0x12d1
TargetProductList="1c05,1c07,1c08,1c10"
MessageContent="55534243123456780000000000000011062000000101000100000000000000"
+WaitBefore=3