All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: PDP Context Activation
  2011-06-15 11:32 PDP Context Activation Yuvaraj Ragupathi
@ 2011-06-14  9:35 ` Denis Kenzior
  2011-06-16  4:27   ` Yuvaraj Ragupathi
  0 siblings, 1 reply; 7+ messages in thread
From: Denis Kenzior @ 2011-06-14  9:35 UTC (permalink / raw)
  To: ofono

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

Hi Yuvaraj,

> Control @ ste_gprs_activate_primary
>  Command is AT+CGDCONT=1,"IP",""
> Control @ ste_cgdcont_cb
> Control 1 @ ste_cgdcont_cb
> ofonod[8803]: src/gprs.c:pri_activate_callback() 0xa02f868 (null)
> ofonod[8803]: src/gprs.c:pri_activate_callback() Activating context
> failed with error: Unknown error type

You might try provisioning the context first since you're trying to
activate an empty APN.

See doc/connman-api.txt for more details.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 7+ messages in thread

* PDP Context Activation
@ 2011-06-15 11:32 Yuvaraj Ragupathi
  2011-06-14  9:35 ` Denis Kenzior
  0 siblings, 1 reply; 7+ messages in thread
From: Yuvaraj Ragupathi @ 2011-06-15 11:32 UTC (permalink / raw)
  To: ofono

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

Hi All,


Now i have taken version 0.45. Modem enabled successfully.

When i am trying activate pdp context., It is failing with unknown errors.

*Please refer log messages below*

nod[8803]: src/network.c:__ofono_netreg_add_status_watch() 0xa0295c0
ofonod[8803]: src/network.c:__ofono_netreg_add_status_watch() 0xa0295c0
ofonod[8803]: src/message-waiting.c:mw_cphs_mwis_read_cb() No CPHS MWIS on
SIM
ofonod[8803]: src/network.c:current_operator_callback() 0xa0295c0, (nil)
ofonod[8803]: src/gprs.c:netreg_status_changed() 4
ofonod[8803]: src/simfs.c:sim_fs_op_read_block() bufoff: 0, seekoff: 38,
toread: 17
ofonod[8803]: src/network.c:current_operator_callback() 0xa0295c0, (nil)
ofonod[8803]: src/gprs.c:netreg_status_changed() 4
ofonod[8803]: src/gprs.c:ofono_gprs_status_notify() /ste0 status 0
ofonod[8803]: src/gprs.c:netreg_status_changed() 1
ofonod[8803]: drivers/atmodem/network-registration.c:cops_numeric_cb() Cops
numeric got mcc: 405, mnc: 034
ofonod[8803]: src/gprs.c:gprs_attach_callback() /ste0 error = 0
ofonod[8803]: src/gprs.c:ofono_gprs_status_notify() /ste0 status 1
ofonod[8803]: drivers/atmodem/network-registration.c:cops_cb() cops_cb: ,
405 034 0
ofonod[8803]: src/network.c:current_operator_callback() 0xa0295c0, (nil)
ofonod[8803]: src/gprs.c:netreg_status_changed() 1
ofonod[8803]: src/gprs.c:registration_status_cb() /ste0 error 0 status 1
ofonod[8803]: src/gprs.c:ofono_gprs_status_notify() /ste0 status 1
Control @ ste_gprs_activate_primary
 Command is AT+CGDCONT=1,"IP",""
Control @ ste_cgdcont_cb
Control 1 @ ste_cgdcont_cb
ofonod[8803]: src/gprs.c:pri_activate_callback() 0xa02f868 (null)
ofonod[8803]: src/gprs.c:pri_activate_callback() Activating context failed
with error: Unknown error type



I am trying with ste modem

Note: tried to active through  active_context script file at test folder

Thanks

Yuvaraj R

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 2024 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PDP Context Activation
  2011-06-14  9:35 ` Denis Kenzior
@ 2011-06-16  4:27   ` Yuvaraj Ragupathi
  2011-06-16  4:59     ` Yuvaraj Ragupathi
  0 siblings, 1 reply; 7+ messages in thread
From: Yuvaraj Ragupathi @ 2011-06-16  4:27 UTC (permalink / raw)
  To: ofono

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

Hi,

I set access point name and tried. Same result.

Here i am providing more info about this issue

Ofono logs at http://pastebin.com/xFrEjRYA

*# list of contexts*

~/Downloads/ofono-0.40/test$ ./list-contexts
[ /ste0 ]
    [ /ste0/context6 ]
        Username =
        Protocol = ip
        Name = Internet
        Settings = { }
        Active = 0
        AccessPointName = Testing
        Password =
        Type = internet

~/Downloads/ofono-0.40/test$ ./activate-context
Error activating /ste0/context6: org.ofono.Error.Failed: Operation failed


Thanks

Yuvaraj R



On Tue, Jun 14, 2011 at 3:05 PM, Denis Kenzior <denkenz@gmail.com> wrote:

> Hi Yuvaraj,
>
> > Control @ ste_gprs_activate_primary
> >  Command is AT+CGDCONT=1,"IP",""
> > Control @ ste_cgdcont_cb
> > Control 1 @ ste_cgdcont_cb
> > ofonod[8803]: src/gprs.c:pri_activate_callback() 0xa02f868 (null)
> > ofonod[8803]: src/gprs.c:pri_activate_callback() Activating context
> > failed with error: Unknown error type
>
> You might try provisioning the context first since you're trying to
> activate an empty APN.
>
> See doc/connman-api.txt for more details.
>
> Regards,
> -Denis
>

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1687 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PDP Context Activation
  2011-06-16  4:27   ` Yuvaraj Ragupathi
@ 2011-06-16  4:59     ` Yuvaraj Ragupathi
  2011-06-21 11:33       ` Yuvaraj Ragupathi
  0 siblings, 1 reply; 7+ messages in thread
From: Yuvaraj Ragupathi @ 2011-06-16  4:59 UTC (permalink / raw)
  To: ofono

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

Hi

Sorry , I am trying with invalid APN

Thanks

Yuvaraj R

On Thu, Jun 16, 2011 at 9:57 AM, Yuvaraj Ragupathi
<yuvaraj.addu@gmail.com>wrote:

> Hi,
>
> I set access point name and tried. Same result.
>
> Here i am providing more info about this issue
>
> Ofono logs at http://pastebin.com/xFrEjRYA
>
> *# list of contexts*
>
> ~/Downloads/ofono-0.40/test$ ./list-contexts
> [ /ste0 ]
>     [ /ste0/context6 ]
>         Username =
>         Protocol = ip
>         Name = Internet
>         Settings = { }
>         Active = 0
>         AccessPointName = Testing
>         Password =
>         Type = internet
>
> ~/Downloads/ofono-0.40/test$ ./activate-context
> Error activating /ste0/context6: org.ofono.Error.Failed: Operation failed
>
>
> Thanks
>
> Yuvaraj R
>
>
>
>
> On Tue, Jun 14, 2011 at 3:05 PM, Denis Kenzior <denkenz@gmail.com> wrote:
>
>> Hi Yuvaraj,
>>
>> > Control @ ste_gprs_activate_primary
>> >  Command is AT+CGDCONT=1,"IP",""
>> > Control @ ste_cgdcont_cb
>> > Control 1 @ ste_cgdcont_cb
>> > ofonod[8803]: src/gprs.c:pri_activate_callback() 0xa02f868 (null)
>> > ofonod[8803]: src/gprs.c:pri_activate_callback() Activating context
>> > failed with error: Unknown error type
>>
>> You might try provisioning the context first since you're trying to
>> activate an empty APN.
>>
>> See doc/connman-api.txt for more details.
>>
>> Regards,
>> -Denis
>>
>
>

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 2179 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PDP Context Activation
  2011-06-16  4:59     ` Yuvaraj Ragupathi
@ 2011-06-21 11:33       ` Yuvaraj Ragupathi
  2011-06-27 11:16         ` Yuvaraj Ragupathi
  0 siblings, 1 reply; 7+ messages in thread
From: Yuvaraj Ragupathi @ 2011-06-21 11:33 UTC (permalink / raw)
  To: ofono

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

HI,

Even i tried with proper APN. Still i am facing same issue. I am testing on
my host.
#../list-contexts

[ /ste0 ]
    [ /ste0/context8 ]
        Username =
        Protocol = ip
        Name = Internet
        Settings = { }
        Active = 0
        AccessPointName = xx.yy.INTERNET
        Password =
        Type = internet


 #./activate-context
Error activating /ste0/context8: org.ofono.Error.Failed: Operation failed

Thanks

Yuvaraj R

On Thu, Jun 16, 2011 at 10:29 AM, Yuvaraj Ragupathi
<yuvaraj.addu@gmail.com>wrote:

> Hi
>
> Sorry , I am trying with invalid APN
>
> Thanks
>
> Yuvaraj R
>
>
> On Thu, Jun 16, 2011 at 9:57 AM, Yuvaraj Ragupathi <yuvaraj.addu@gmail.com
> > wrote:
>
>> Hi,
>>
>> I set access point name and tried. Same result.
>>
>> Here i am providing more info about this issue
>>
>> Ofono logs at http://pastebin.com/xFrEjRYA
>>
>> *# list of contexts*
>>
>> ~/Downloads/ofono-0.40/test$ ./list-contexts
>> [ /ste0 ]
>>     [ /ste0/context6 ]
>>         Username =
>>         Protocol = ip
>>         Name = Internet
>>         Settings = { }
>>         Active = 0
>>         AccessPointName = Testing
>>         Password =
>>         Type = internet
>>
>> ~/Downloads/ofono-0.40/test$ ./activate-context
>> Error activating /ste0/context6: org.ofono.Error.Failed: Operation failed
>>
>>
>> Thanks
>>
>> Yuvaraj R
>>
>>
>>
>>
>> On Tue, Jun 14, 2011 at 3:05 PM, Denis Kenzior <denkenz@gmail.com> wrote:
>>
>>> Hi Yuvaraj,
>>>
>>> > Control @ ste_gprs_activate_primary
>>> >  Command is AT+CGDCONT=1,"IP",""
>>> > Control @ ste_cgdcont_cb
>>> > Control 1 @ ste_cgdcont_cb
>>> > ofonod[8803]: src/gprs.c:pri_activate_callback() 0xa02f868 (null)
>>> > ofonod[8803]: src/gprs.c:pri_activate_callback() Activating context
>>> > failed with error: Unknown error type
>>>
>>> You might try provisioning the context first since you're trying to
>>> activate an empty APN.
>>>
>>> See doc/connman-api.txt for more details.
>>>
>>> Regards,
>>> -Denis
>>>
>>
>>
>

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 3099 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PDP Context Activation
  2011-06-21 11:33       ` Yuvaraj Ragupathi
@ 2011-06-27 11:16         ` Yuvaraj Ragupathi
  2011-06-27 12:46           ` Denis Kenzior
  0 siblings, 1 reply; 7+ messages in thread
From: Yuvaraj Ragupathi @ 2011-06-27 11:16 UTC (permalink / raw)
  To: ofono

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

My APN details are:

$ ./list-contexts
[ /ste0 ]
    [ /ste0/context3 ]
        Username =
        Protocol = ip
        Name = internet
        Settings = { }
        Active = 0
        AccessPointName = TATA.DOCOMO.INTERNET
        Password =
        Type = internet

$ ./activate-context
Error activating /ste0/context3: org.ofono.Error.Failed: Operation failed

This is happening with st board on Ubuntu


Any updates on this issue?

Thanks

Yuvaraj R

On Tue, Jun 21, 2011 at 5:03 PM, Yuvaraj Ragupathi
<yuvaraj.addu@gmail.com>wrote:

> HI,
>
> Even i tried with proper APN. Still i am facing same issue. I am testing on
> my host.
> #../list-contexts
>
> [ /ste0 ]
>     [ /ste0/context8 ]
>
>         Username =
>         Protocol = ip
>         Name = Internet
>         Settings = { }
>         Active = 0
>         AccessPointName = xx.yy.INTERNET
>         Password =
>         Type = internet
>
>
>  #./activate-context
> Error activating /ste0/context8: org.ofono.Error.Failed: Operation failed
>
> Thanks
>
> Yuvaraj R
>
>
> On Thu, Jun 16, 2011 at 10:29 AM, Yuvaraj Ragupathi <
> yuvaraj.addu(a)gmail.com> wrote:
>
>> Hi
>>
>> Sorry , I am trying with invalid APN
>>
>> Thanks
>>
>> Yuvaraj R
>>
>>
>> On Thu, Jun 16, 2011 at 9:57 AM, Yuvaraj Ragupathi <
>> yuvaraj.addu(a)gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I set access point name and tried. Same result.
>>>
>>> Here i am providing more info about this issue
>>>
>>> Ofono logs at http://pastebin.com/xFrEjRYA
>>>
>>> *# list of contexts*
>>>
>>> ~/Downloads/ofono-0.40/test$ ./list-contexts
>>> [ /ste0 ]
>>>     [ /ste0/context6 ]
>>>         Username =
>>>         Protocol = ip
>>>         Name = Internet
>>>         Settings = { }
>>>         Active = 0
>>>         AccessPointName = Testing
>>>         Password =
>>>         Type = internet
>>>
>>> ~/Downloads/ofono-0.40/test$ ./activate-context
>>> Error activating /ste0/context6: org.ofono.Error.Failed: Operation failed
>>>
>>>
>>> Thanks
>>>
>>> Yuvaraj R
>>>
>>>
>>>
>>>
>>> On Tue, Jun 14, 2011 at 3:05 PM, Denis Kenzior <denkenz@gmail.com>wrote:
>>>
>>>> Hi Yuvaraj,
>>>>
>>>> > Control @ ste_gprs_activate_primary
>>>> >  Command is AT+CGDCONT=1,"IP",""
>>>> > Control @ ste_cgdcont_cb
>>>> > Control 1 @ ste_cgdcont_cb
>>>> > ofonod[8803]: src/gprs.c:pri_activate_callback() 0xa02f868 (null)
>>>> > ofonod[8803]: src/gprs.c:pri_activate_callback() Activating context
>>>> > failed with error: Unknown error type
>>>>
>>>> You might try provisioning the context first since you're trying to
>>>> activate an empty APN.
>>>>
>>>> See doc/connman-api.txt for more details.
>>>>
>>>> Regards,
>>>> -Denis
>>>>
>>>
>>>
>>
>

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 4057 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PDP Context Activation
  2011-06-27 11:16         ` Yuvaraj Ragupathi
@ 2011-06-27 12:46           ` Denis Kenzior
  0 siblings, 0 replies; 7+ messages in thread
From: Denis Kenzior @ 2011-06-27 12:46 UTC (permalink / raw)
  To: ofono

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

Hi Yuvaraj,

Please do not top-post on this mailing list.

On 06/27/2011 06:16 AM, Yuvaraj Ragupathi wrote:
> My APN details are:
> 
> $ ./list-contexts
> [ /ste0 ]
>     [ /ste0/context3 ]
>         Username =
>         Protocol = ip
>         Name = internet
>         Settings = { }
>         Active = 0
>         AccessPointName = TATA.DOCOMO.INTERNET
>         Password =
>         Type = internet
> 
> $ ./activate-context
> Error activating /ste0/context3: org.ofono.Error.Failed: Operation failed
> 
> This is happening with st board on Ubuntu
> 
> 
> Any updates on this issue?
> 

None of the core oFono team has access to your hardware, so we can't be
of much help.  I suggest you seek help from your hardware vendor.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-06-27 12:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 11:32 PDP Context Activation Yuvaraj Ragupathi
2011-06-14  9:35 ` Denis Kenzior
2011-06-16  4:27   ` Yuvaraj Ragupathi
2011-06-16  4:59     ` Yuvaraj Ragupathi
2011-06-21 11:33       ` Yuvaraj Ragupathi
2011-06-27 11:16         ` Yuvaraj Ragupathi
2011-06-27 12:46           ` Denis Kenzior

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.