All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Problems ofono 0.45 and Nokia 6760
Date: Mon, 06 Jun 2011 15:13:25 -0500	[thread overview]
Message-ID: <4DED34E5.3070602@gmail.com> (raw)
In-Reply-To: <4DEF85AF.8000900@zirak.it>

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


Hi Claudio,

On 06/08/2011 09:22 AM, Claudio Degioanni wrote:
> Hi all,
> 
> I have attacched a nokia 6760 to ofono for using it as gprs modem.
> 
> I have started the daemon with
> 
> OFONO_ISI_TRACE=1 OFONO_ISI_DEBUG=1 ofonod -nd
> 
> 
> After enabling the modem and activate the profile using
> 
> dbus-send --system --print-reply --reply-timeout=120000
> --type=method_call --dest='org.ofono' /isiusb0
> org.ofono.Modem.SetProperty string:Powered variant:boolean:true
> 
> dbus-send --system --print-reply --reply-timeout=120000
> --type=method_call --dest='org.ofono' /isiusb0
> org.ofono.Modem.SetProperty string:Online variant:boolean:true
> 
> dbus-send --system --print-reply --reply-timeout=120000
> --type=method_call --dest='org.ofono' /isiusb0/context1
> org.ofono.ConnectionContext.SetProperty string:AccessPointName
> variant:string:ibox.tim.it
> 
> dbus-send --system --print-reply --reply-timeout=120000
> --type=method_call --dest='org.ofono' /isiusb0/context1
> org.ofono.ConnectionContext.SetProperty string:Active variant:boolean:true
> 
> We obtain on last method calls the follow error:
> 
> Error org.ofono.Error.NotAttached: GPRS is not attached
> 

You have to wait for the modem to attach to GPRS first.  Track the
status of the ConnectionManager 'Attached' property.  Once it changes to
TRUE, then you can try to activate a context.

Regards,
-Denis

  reply	other threads:[~2011-06-06 20:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-08 14:22 Problems ofono 0.45 and Nokia 6760 Claudio Degioanni
2011-06-06 20:13 ` Denis Kenzior [this message]
2011-06-08 15:17 ` Jeevaka Prabu Badrappan
2011-06-15  7:23   ` Claudio Degioanni
2011-06-15 10:57 ` Aki Niemi
     [not found] <4DF9CC7B.60603@zirak.it>
2011-06-16 11:37 ` Aki Niemi

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=4DED34E5.3070602@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.