Open Source Telephony
 help / color / mirror / Atom feed
From: Georg Chini <georg@chini.tk>
To: ofono@ofono.org
Subject: Bluetooth headset and ofono
Date: Thu, 01 Jan 2015 22:36:39 +0100	[thread overview]
Message-ID: <54A5BDE7.9030208@chini.tk> (raw)

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

Hello,

I have trouble getting my bluetooth headset to work with ofono and 
pulseaudio.
My mobile phones connect without problems and work fine.

First, I do not have a modem in my system, so I installed phonesim. 
Bluez Version
is 5.23 (Debian unstable), pulseaudio and ofono are compiled from 
current git.
When I run phonesim and power on the modem I see that UUID 0x111f is 
available.
When I power on my headset (which is already paired and trusted and HSP 
works
OK with the pulseaudio native backend) it is connected, but I cannot use 
the HFP
profile. Log messages from ofono are:

plugins/hfp_ag_bluez5.c:profile_new_connection() Profile handler 
NewConnection
plugins/hfp_ag_bluez5.c:profile_new_connection() 
/org/bluez/hci0/dev_0C_E0_E4_31_23_2D
plugins/hfp_ag_bluez5.c:profile_new_connection() Picked modem 0x1d64640 
for emulator
src/emulator.c:ofono_emulator_create() modem: 0x1d64640, type: 1
src/emulator.c:ofono_emulator_register() 0x1d52220, 14

And when I disconnect the headset, I get:

src/emulator.c:emulator_disconnect() 0x1d52220
src/emulator.c:emulator_unregister() 0x1d52220
src/emulator.c:emulator_remove() atom: 0x1d669c0
plugins/hfp_ag_bluez5.c:io_hup_cb() Remove 
/org/bluez/hci0/dev_0C_E0_E4_31_23_2D
plugins/hfp_ag_bluez5.c:connection_destroy() fd 15

I see no D-Bus messages at all, I would expect something similar to the 
messages
I get when I connect my mobile. Headset is a Plantronics Backbeat Pro.

In pulseaudio the headset turns up, but only the a2dp profile is 
useable. The a2dp profile
is connected after HFP. When I try to switch to HFP, pulsaudio says the 
HFP profile is not
connected.

Any idea what I am doing wrong?

Regards
              Georg

             reply	other threads:[~2015-01-01 21:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-01 21:36 Georg Chini [this message]
     [not found] <1422877911.2744.10.camel@tkkaskin-mobl3.ger.corp.intel.com>
2015-02-02 13:34 ` bluetooth headset and ofono Georg Chini
2015-02-02 15:19   ` Denis Kenzior
2015-02-02 15:37     ` Georg Chini

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=54A5BDE7.9030208@chini.tk \
    --to=georg@chini.tk \
    --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