Re: Mobile Broadband - how do I trace/debug the modem initialisation?



On Tue, 2008-10-21 at 11:03 +0300, Tambet Ingo wrote:
On Tue, Oct 21, 2008 at 10:47 AM, Craig Main <cmain fnb co za> wrote:
> I am having a similar issue on my Dell Latitude E6500 which has a Broadcom
> 5530 buildin hsdpa minicard. This device gives an ERROR when sent an ATZ
> command. Using a chat script or wvdial with a cusomized wvdial.conf file
> which leaves out the ATZ command, the modem works flawlessly. When using
> NetworkManager however it does not. Here is the trace from NetworkManager
> DEBUG:
>
> NetworkManager: <info>  Activation (ttyACM0) starting connection 'Vodacom'
> NetworkManager: <info>  (ttyACM0): device state change: 3 -> 4
> NetworkManager: <info>  Activation (ttyACM0) Stage 1 of 5 (Device Prepare)
> scheduled...
> NetworkManager: <info>  Activation (ttyACM0) Stage 1 of 5 (Device Prepare)
> started...
> NetworkManager: <debug> [1224572376.061516] nm_serial_device_open():
> (ttyACM0) opening device...
> NetworkManager: <info>  Activation (ttyACM0) Stage 1 of 5 (Device Prepare)
> complete.
> NetworkManager: <debug> [1224572376.169089] nm_serial_debug(): Sending: 'ATZ
> E0 V1 X4 &C1 +FCLASS=0
> '
> NetworkManager: <debug> [1224572376.196931] nm_serial_debug(): Got: 'ATZ E0
> V1 X4 &C1 +FCLASS=0
> '
> NetworkManager: <debug> [1224572376.246578] nm_serial_debug(): Got: 'ATZ E0
> V1 X4 &C1 +FCLASS=0
>
>
> ERROR
>
> '

The init string has more commands than (AT)Z (reset): It turns off
echo (E0), sets verbose mode (V1) etc... Can you try to send only
"ATZ" and "ATZ E0 V1" to your modem (using minicom or kermit or
wvdial) and see if that works? Or if it's specifically "Z" command
that doesn't work, does this command work: "ATE1 V1 X4 &C1 +FCLASS=0"
? I've seen a device which doesn't like "+FCLASS" command.

--Minicom Trace--

Welcome to minicom 2.3

OPTIONS: I18n
Compiled on May  3 2008, 10:44:23.
Port /dev/ttyACM0

                 Press CTRL-A Z for help on special keys
                                                    
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0                    
OK                                                  
atz                                                 
ERROR
ATE1 V1 X4 &C1 +FCLASS=0
OK
ATZ E0 V1
ERROR

--End Trace--

On a slightly related note, this modem also requires that the RF circuit gets turned on with AT+CFUN=1

Thanks
Craig

To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser:
https://www.fnb.co.za/disclaimer.html

If you are unable to access the Disclaimer, send a blank e-mail to firstrandbankdisclaimer fnb co za and we will send you a copy of the Disclaimer.



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