Open Source Telephony
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Huawei E176 - not online
Date: Sun, 18 Jul 2010 09:55:57 -0500	[thread overview]
Message-ID: <4C4315FD.2030306@gmail.com> (raw)
In-Reply-To: <20100718110441.GA20371@h02.hostsharing.net>

[-- Attachment #1: Type: text/plain, Size: 1940 bytes --]

Hi Florian,

> I can't get my Huawei E176 USB Stick into the online state.
> 

You won't be able to get into Online state unless your SIM is present.
<snip>

> atlog output:

oFono huawei driver determines sim presense in two ways: ^SIMST:1
unsolicited notification, and by querying the ^SYSINFO.
> 
> ofonod[15261]: oFono version 0.25
> ofonod[15261]: Pcui:< \r\n^BOOT:********,0,2,0,25\r\n
> ofonod[15261]: Pcui:> ATE0\r
> ofonod[15261]: Pcui:< \r\n^RSSI:99\r\n\r\n^SRVST:0\r\n\r\n^MODE:0,0\r\n\r\n^RSSI:10\r\n\r\n^SRVST:1\r\n\r\n^MODE:5,4\r\n\r\n^BOOT:********,0,0,0,25\r\n\r\nOK\r\n
> ofonod[15261]: Pcui:> AT+CFUN=1\r
> ofonod[15261]: Pcui:< \r\nOK\r\n
> ofonod[15261]: Pcui:> AT^SYSINFO\r
> ofonod[15261]: Pcui:< \r\n^SYSINFO:1,0,1,5,0,,4\r\n\r\nOK\r\n

According to Huawei docs, the 5th field is the SIM presence state.  The
above is telling us it isn't present.

> ofonod[15261]: Pcui:> AT+CGMI\r
> ofonod[15261]: Pcui:< \r\nhuawei\r\n\r\nOK\r\n
> ofonod[15261]: Pcui:> AT+CGMM\r
> ofonod[15261]: Pcui:< \r\nE176\r\n\r\nOK\r\n
> ofonod[15261]: Pcui:> AT+CGMR\r
> ofonod[15261]: Pcui:< \r\n11.104.14.01.55\r\n\r\nOK\r\n
> ofonod[15261]: Pcui:> AT+CGSN\r
> ofonod[15261]: Pcui:< \r\n***************\r\n\r\nOK\r\n
> ofonod[15261]: Pcui:< \r\n^BOOT:********,0,0,0,25\r\n
> ofonod[15261]: Pcui:< \r\n^BOOT:********,0,0,0,25\r\n
> ofonod[15261]: Pcui:< \r\n^BOOT:********,0,0,0,25\r\n
> ofonod[15261]: Pcui:< \r\n^BOOT:********,0,0,0,25\r\n
> ofonod[15261]: Pcui:< \r\n^BOOT:********,0,0,0,25\r\n
> ofonod[15261]: Pcui:< \r\n^BOOT:********,0,0,0,25\r\n
> ofonod[15261]: Pcui:< \r\n^BOOT:********,0,0,0,25\r\n
> ofonod[15261]: Pcui:< \r\n^BOOT:********,0,0,0,25\r\n
> 

It sounds like your firmware never sends us the SIMST unsolicited
notification.  Can you check whether after sending CFUN=1, few seconds
later ^SYSINFO goes to 1?  See plugins/huawei.c for more details.

Regards,
-Denis

  reply	other threads:[~2010-07-18 14:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-18 11:04 Huawei E176 - not online Florian Steinel
2010-07-18 14:55 ` Denis Kenzior [this message]
2010-07-18 20:19   ` Florian Steinel
2010-07-18 22:09     ` [PATCH 1/1] (RFC) Huawei: Modify ^SYSINFO logic Florian Steinel
2010-07-18 22:59       ` Marcel Holtmann
2010-07-19  1:42     ` Huawei E176 - not online Denis Kenzior
2010-07-21  8:56 ` Kalle Valo
2010-07-21  9:06   ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C4315FD.2030306@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox