Re: Slow mobile broadband detection



On Wed, 2011-06-15 at 00:30 +0200, Aleksander Morgado wrote: 
> So, this modem is reported as being a ZTE modem, and therefore uses the
> ZTE plugin in ModemManager.
> 
> 3 ports are found, (ttyUSB0,ttyUSB1 and ttyUSB2):
>  * Opening ttyUSB2 port doesn't take any time.
>  * Opening ttyUSB1 and ttyUSB0 need 15s each, and as they are done one
> after the other, before even starting to probe the first port, it
> consumed already 40s. This 15s delays opening the ports are likely to be
> kernel issues.
> 
> I actually have similar issues, even worse, with a Huawei modem in
> Natty: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/772577 
> 
> Then, probing ttyUSB1 and ttyUSB2, which are both AT ports, takes ~22s.
> Closing the ports also seem to take long here, up to 5s each.
> 
> But the modem is not fully exported until all ports are probed, and
> ttyUSB0 is not an AT port, so it takes much much longer: needs to
> timeout all AT commands sent to it (including extra ATE0+CPMS? in the
> case of the ZTE plugin), until the QCDM ones are sent.
> 
> So the overall modem detection needs up to 113s in your case, which
> really is a lot, and mainly caused by the open/close port delays from
> the kernel. Without these huge delays, the modem detection should take
> around 20-25 max (guessing from the max time the QCDM port needs to get
> detected).

yeah , also my report of a slow modem detection is a ZTE. As reported
seems to work on ttyUSB2, but reviewing my old scripts , I can assure
that unlock PIN on ttyUSB0 with command: /usr/bin/comgt PIN
-d /dev/ttyUSB0 
And on wvdial.conf, modem always was ttyUSB0.
cat wvdial.conf
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
; Phone =
ISDN = 0
; Username =
Init1 = ATZ
; Password =
Modem = /dev/ttyUSB0
Baud = 460800
[Dialer tmn]
Init2 = ATZ
Init3 = AT+CGDCONT=1,"ip","internet"
Stupid Mode = 1
ISDN = 0
Phone = *99***1#
Ask Password = 0
Modem = /dev/ttyUSB0
Username = tmn
Dial Command = ATD
Password = tmn
Baud = 460800

So my ZTE works or worked on /dev/ttyUSB0

Hope that information can help.

Btw, about news: my new HUAWEI mobile broadband rocks :) , the detection
is quite fast and nm-applet also show the signal strength, on ZTE signal
strength never change.

Best regards,
-- 
Sérgio M. B.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]