linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Waddell <matt@littlecraft.io>
To: linux-bluetooth@vger.kernel.org
Subject: HFP - No Audio
Date: Wed, 27 Jul 2016 13:09:47 -0700	[thread overview]
Message-ID: <5799150B.2040401@littlecraft.io> (raw)

Hi,

I am trying to configure HFP to allow in-call audio to be routed through 
my PC's audio card.  I'm interested to know the current state of 
support, and if anyone has had success in getting it to work.  I have 
tried various combinations of the following components, but have so far 
been unable to get the in-call audio working:

Kernel: 4.4.11, 4.6.4, 4.7 (unstable)
Bluez: 5.37, 5.7, 5.8, 5.9
Pulesaudio: 7, 8, 9
Ofono: 1.7, 1.8, 1.9
USB Bluetooth Adapters:
      0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (CSR8510 A10)
      0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0 (with firmware 
001.002.014 build 1338)

I've can verify that ofono is able to detect the HFP capabilities of a 
connected device, and to establish a 'modem' to it. Pulseaudio is also 
notified when a call becomes active, and appears to load the appropriate 
loopbacks to route the audio from/to the call through the HFP modem. 
Hacking in some extra debug tracing to pulseaudio, I've verified that 
pulseaudio receives SCO packets from the file descriptor that it 
receives from ofono.  Still, I am unable to hear any audio from the call.

Something interesting that I've noticed, however, is that if I look at 
the in-call traffic with hcidump, it looks to me like the payloads of 
each of the SCO packets that are received from the remote device (the 
phone) are either all 0x0000 or 0x0001.  I have not seen cases where it 
is anything other than that.

Does anyone have any suggestions for what might be going on, or how I 
might be able to debug this further?

This post from May sounds like similar circumstances, and possibly even 
a success story:
http://www.spinics.net/lists/linux-bluetooth/msg67283.html


Thanks!
_matt

             reply	other threads:[~2016-07-27 20:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-27 20:09 Matthew Waddell [this message]
2016-07-27 23:25 ` HFP - No Audio Jason Gauthier
2016-07-27 23:29   ` Matthew Waddell
2016-07-28  0:23     ` Jason Gauthier
2016-07-28 22:00       ` Matthew Waddell

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=5799150B.2040401@littlecraft.io \
    --to=matt@littlecraft.io \
    --cc=linux-bluetooth@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).