All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: telit he910 activate-context issue
Date: Fri, 06 Mar 2015 12:28:51 -0600	[thread overview]
Message-ID: <54F9F1E3.8070001@gmail.com> (raw)
In-Reply-To: <222E70FA67D72A4FB8EEDF5AF01724ACC998A6@BGSMSX102.gar.corp.intel.com>

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

Hi Ram,

Please do not top-post on this mailing list.

On 03/06/2015 02:28 AM, Kallumari Nagaraja Rao, RammohanX wrote:
> Denis,
>
> PFA the logs with AT&C0 & without. With &C0 it is not even creating a context.
>

I have just tried my HE910 with unmodified oFono 1.16 and I am able to 
successfully activate the context.

My firmware version is 12.00.003, but 12.00.004 is recommended.

What you should be seeing is something like this:

ofonod[19130]: drivers/atmodem/gprs-context.c:at_gprs_activate_primary() 
cid 1
ofonod[19130]: Modem: > AT+CGDCONT=1,"IP",""\r
ofonod[19130]: Modem: < AT+CGDCONT=1,"IP",""\r
ofonod[19130]: Modem: < \r\nOK\r\n
ofonod[19130]: drivers/atmodem/gprs-context.c:at_cgdcont_cb() ok 1
ofonod[19130]: Modem: > AT+CGDATA="PPP",1\r
ofonod[19130]: Modem: < AT+CGDATA="PPP",1\r
ofonod[19130]: Modem: < \r\nCONNECT\r\n
ofonod[19130]: drivers/atmodem/gprs-context.c:at_cgdata_cb() ok 1
ofonod[19130]: drivers/atmodem/gprs-context.c:setup_ppp()
ofonod[19130]: drivers/atmodem/gprs-context.c:ppp_connect()

What you are seeing is this:

ofonod[6586]: drivers/atmodem/gprs-context.c:at_gprs_activate_primary() 
cid 1
ofonod[6586]: Aux: < \r\n
ofonod[6586]: Aux: < +CIEV: rssi,5\r\n
ofonod[6586]: src/network.c:ofono_netreg_strength_notify() strength 100
ofonod[6586]: Aux: < \r\n
ofonod[6586]: Aux: < +CIEV: rssi,4\r\n
ofonod[6586]: src/network.c:ofono_netreg_strength_notify() strength 80
ofonod[6586]: Terminating

That tells me that the port detected as the 'Modem' port is incorrect.

ofonod[6586]: plugins/udevng.c:setup_he910() modem=/dev/ttyACM0 
aux=/dev/ttyACM3 gps=/dev/ttyACM5

Please check that those TTYs are indeed live and can accept AT commands. 
  If not, then you need to update firmware, set the appropriate PORTSEL 
setting or update plugins/udevng.c logic for detecting your particular 
variant of HE910.

Regards,
-Denis

  reply	other threads:[~2015-03-06 18:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-05 11:56 telit he910 activate-context issue Kallumari
2015-03-05 12:09 ` Enrico Sau
2015-03-05 16:02   ` Denis Kenzior
2015-03-05 16:30     ` Enrico Sau
2015-03-06  9:18       ` Kallumari
2015-03-06 12:35       ` Kallumari
2015-03-06 15:15       ` Kallumari
2015-03-06 15:39         ` Enrico Sau
2015-03-06 17:48           ` Denis Kenzior
2015-03-05 16:07 ` Denis Kenzior
2015-03-06  4:20   ` Kallumari
2015-03-06  8:28   ` Kallumari
2015-03-06 18:28     ` Denis Kenzior [this message]
2015-03-09  9:05       ` Kallumari

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=54F9F1E3.8070001@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.