Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
0x89
Posts: 2
Joined: 19 Mar 2010, 20:15

ONDA Communication S.p.A. 19d2:0016 (o2 Surfstick)

Post by 0x89 » 19 Mar 2010, 21:48

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/19d2:2000:uPr=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.

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 20 Mar 2010, 09:30

Thanks a lot, I'll add the product ID to the data package.

That NetworkManager problem justifies a fat bug report, I think. The NM developers will certainly like your analysis.

0x89
Posts: 2
Joined: 19 Mar 2010, 20:15

Post by 0x89 » 21 Mar 2010, 16:49

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.

Post Reply