Hey.
If have a recent "o2 Surf stick" from Germany, that shows up as:
19d2:2000 ONDA Communication S.p.A.
before switching and
19d2:0016 ONDA Communication S.p.A.
after switching.
The rule that fires, namely /etc/usb_modeswitch.d/19d2uPr=ZTE_WCDMA, is missing the target id 0016. When adding 0016 to the list of target IDs, usb_modeswitch stops complaining, and the stick works - almost.
The led still stays red, and the first time network-manager tries to connect it directly gives up (see log here: http://pastebin.com/URd9XhAP) - BUT: the led turns green,
and the switch is completed. The next connection attempt works.
I have looked into this some more, and it is not usb_modeswitch's fault - apparently network-manager does not wait with the connection-attempt until modemmanager has sent AT+CPIN="4242". Checking manually with minicom reveals that this is what makes the LED turn green.
Okay, I filed a bug report:
https://bugzilla.gnome.org/show_bug.cgi?id=613490
As stated there, just disabling PIN checking serves as a good workaround.
https://bugzilla.gnome.org/show_bug.cgi?id=613490
As stated there, just disabling PIN checking serves as a good workaround.