All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: dbus error while trying to enable hfp connection with smartphone
Date: Thu, 09 Feb 2012 14:17:25 -0600	[thread overview]
Message-ID: <4F3429D5.2050003@gmail.com> (raw)
In-Reply-To: <1328816507.14667.5.camel@Ostrea-Edulis.lan>

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

Hi Robyn,

On 02/09/2012 01:41 PM, Robyn Minkler wrote:
> I'm trying to get ofono, telepathy-ring and empathy set up so that I can
> make and receive calls on my fedora 16 laptop. 
> 
> The list-modems script shows my phone, but I get a dbus error when I try
> to run enable-modems. More information below. 
> 
> Does anyone have any suggestions about how I might debug this?

export OFONO_AT_DEBUG=1 and run ofono with -d option

> 
> This is with:
> dbus 1.4.10
> ofono 1.3
> 
> ./list-modems
> [ /hfp/889FFAEA6A1B_78471DBB098C ]
>     Name = Nexus S
>     Powered = 0
>     Lockdown = 0
>     Interfaces = 
>     Online = 0
>     Features = 
> 
> ./enable-modem
> Connecting modem /hfp/889FFAEA6A1B_78471DBB098C...
> Traceback (most recent call last):
>   File "./enable-modem", line 20, in <module>
>     modem.SetProperty("Powered", dbus.Boolean(1), timeout = 120)
>   File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in
> __call__
>     return self._proxy_method(*args, **keywords)
>   File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in
> __call__
>     **keywords)
>   File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630,
> in call_blocking
>     message, timeout)
> dbus.exceptions.DBusException: org.ofono.Error.Failed: Operation failed
> 

Generally two things can go wrong:

- The bluetooth link could not be established for some reason.  e.g. the
your adapter is off, the remote device is off, stale pairing setup, etc.
 Use hcidump utility from bluez to debug this.

- The Handsfree SLC handshake could not be established.  The AT command
logs from oFono would help us diagnose that...

Regards,
-Denis

  reply	other threads:[~2012-02-09 20:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-09 19:41 dbus error while trying to enable hfp connection with smartphone Robyn Minkler
2012-02-09 20:17 ` Denis Kenzior [this message]
2012-02-09 23:25   ` Robyn Minkler
2012-02-10  0:19     ` Denis Kenzior

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=4F3429D5.2050003@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.