Call audio is not routed to headset with HFP

Bug #1494225 reported by Simon Fels on 2015-09-10
104
This bug affects 22 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Critical
Unassigned
bluez (Ubuntu)
Medium
Unassigned
media-hub (Ubuntu)
Undecided
Unassigned
ofono (Ubuntu)
Undecided
Unassigned
pulseaudio (Ubuntu)
Medium
Unassigned

Bug Description

With bluez 5.33 on Nexus 4 and silo 43 installed:

* pair and connect a headset over HFP
* Establish an outgoing call or accept an incoming one
* Once the call is established the call audio isn't routed through the handsfree device

Simon Fels (morphis) on 2015-09-10
summary: - Call audio is not route to headset with HFP
+ Call audio is not routed to headset with HFP
Simon Fels (morphis) on 2015-09-10
Changed in bluez (Ubuntu):
assignee: nobody → Simon Fels (morphis)
Simon Fels (morphis) wrote :

There seems to something wrong with the whole management of audio over bluetooth between bluez <-> pulseaudio <-> media-hub as also switching between speakers and A2DP speaker doesn't work reliable and causes media playback to be not usable as long as a A2DP speaker is connected in some cases.

Simon Fels (morphis) wrote :

This is fixed now and working with silo 43 and 52.

Changed in media-hub (Ubuntu):
status: New → Invalid
Changed in pulseaudio (Ubuntu):
assignee: nobody → Simon Fels (morphis)
Changed in bluez (Ubuntu):
status: New → Fix Committed
Changed in pulseaudio (Ubuntu):
status: New → Fix Committed
Changed in canonical-devices-system-image:
assignee: nobody → John McAleely (john.mcaleely)
importance: Undecided → High
milestone: none → ww02-2016
status: New → In Progress
Changed in canonical-devices-system-image:
milestone: ww02-2016 → ww08-2016
Changed in canonical-devices-system-image:
importance: High → Critical
Pat McGowan (pat-mcgowan) wrote :

still broken as described

Changed in canonical-devices-system-image:
status: In Progress → New
Changed in pulseaudio (Ubuntu):
status: Fix Committed → New
Changed in bluez (Ubuntu):
status: Fix Committed → New
Changed in canonical-devices-system-image:
status: New → Confirmed
Changed in bluez (Ubuntu):
importance: Undecided → Critical
Changed in pulseaudio (Ubuntu):
importance: Undecided → Critical
tags: added: audio
Simon Fels (morphis) wrote :

@Pat: With which device you see this still broken? For my two headsets this working fine now. As I were the initial reporter I would like to close this as we have other bugs with the same symptoms and this is then just a duplicate.

I confirm this with krillin running rc-proposed from 27th of Feb with silo 47 [pulseaudio fix].

During the call audio in not in the headset however it is possible to transfer it between the phone [works ok] and back through the Bluetooth [silence]. Will capture and attach logs later today.

tags: added: bluez-touch
Geoff Lowther (r-ubuntuone-b) wrote :

Think this affects me too on my MX4 using HTC BH M200 headset. If there's anything I can send from the phone that'll help, let me know.
Looks by the packages that are affected that it could also be loosely related to https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1544477
This started with me with OTA-9 and continues after OTA-9.1

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bluez (Ubuntu):
status: New → Confirmed
Changed in pulseaudio (Ubuntu):
status: New → Confirmed

@Geoff,

You could capture logs as stated here: https://wiki.ubuntu.com/DebuggingBluetooth

Thanks

Pat McGowan (pat-mcgowan) wrote :

@simon I have a rockfish mab2
I added logs at bug #1536493 which you attributed to pulse or telepathy-ofnono

Geoff Lowther (r-ubuntuone-b) wrote :

sorry not been able to set my phone up for logging at the moment - although reasonably technical and used to using the cli for out of the normal occasions, I don't go for the cli normally and prefer a gui, so just need to get my head around setting up.

Not sure if it helps, but I did notice though that for normal operation as long as you are slow in connecting everything then it does all seem to hang together. Here's what I do (to get it to work);
- have bluetooth switched on on the phone (with the pairing already completed)
- switch on the headset and wait for the bluetooth icon to go from a black background, to white and then back to black.
- wait 20-30 seconds (till I think it will have sorted itself out)
- press the button on the headset (the one that initiates a connection and is also used for answering and ending calls)
- wait till the bluetooth icon goes white and the bluetooth volume 'overlay' is shown - this can take 30-40 seconds

I can now make or receive calls and the sound/mic are passed to/from the headset correctly.

If I try to 'rush' this cycle or answer a call then switch on the headset, that's when the problem shows and I get connection to the headset to no sound to or from the headset or speakers/phone mic.

Simon Fels (morphis) on 2016-03-10
tags: added: bluetooth-ota10
Simon Fels (morphis) wrote :

Looked through Pat's log file and it actually shows that the HFP profile is never correctly connected due to

Mar 1 13:26:27 ubuntu-phablet bluetoothd[739]: src/profile.c:ext_connect() hfp_ag connected to 00:18:16:20:00:FE
Mar 1 13:26:27 ubuntu-phablet bluetoothd[739]: src/service.c:change_state() 0xb775f8b8: device 00:18:16:20:00:FE profile hfp_ag state changed: connecting -> disconnected (-5)
Mar 1 13:26:27 ubuntu-phablet bluetoothd[739]: src/device.c:device_profile_connected() hfp_ag Input/output error (5)

That is the reason why audio is never routed throught he headset. Needs more investigation to find out what the reason for this is.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ofono (Ubuntu):
status: New → Confirmed
Changed in canonical-devices-system-image:
milestone: ww08-2016 → 11

Really important feature very useful to get safer while driving / calling, marked as Critical is delayed; that's really sad :(
Is there anything that I can do help solving that bug? Provide some logs, test something?

Changed in bluez (Ubuntu):
assignee: Simon Fels (morphis) → nobody
Changed in pulseaudio (Ubuntu):
assignee: Simon Fels (morphis) → nobody
Changed in canonical-devices-system-image:
milestone: 11 → 12
Changed in canonical-devices-system-image:
milestone: 12 → 13
Peter Penzes (penzi-hu) wrote :

I have N-Com BT3 headset and Nexus 4 r498.

John McAleely (john.mcaleely) wrote :

Is this the bug I saw last week? bug #1607466

Peter Penzes (penzi-hu) wrote :

@John

I think, yes. N-Com BT3 is mono headset.
Other car bt set work properly.

Changed in canonical-devices-system-image:
milestone: 13 → backlog
Mihael (mihaelmilea) wrote :

I have a Nokia J Bluetooth headset (BH-806) that connects to my Meizu Pro 5 Ubuntu phone OTA-13 but no sound is directed to the headset during calls or during music playing.

David Kaplan (davidkiryat8) wrote :

I have a CarKit bluetooth FM radio hands free kit that my Nexus4 running BQ Aquarius RC v69 can connect and does not crash but no sound is routed to the FM radio upon answering a call. The FM radio plays music from a disk on key until the call is answered where it goes silent. There is no sound coming from the phone's ear peice or speaker.

 My car has also a hands free generic Bluetooth kit recognized by touch as comf_comp V12b which connects and works but upon reconnection it crashes touch Bug #1579025 .

 Now I have two bluetooth devices that both do not work.
A working Hands free is a must to use touch when driving.
This is the reason for me dual booting Android.
 If there is anything I can do to help just respond.
 Thanks

Changed in canonical-devices-system-image:
assignee: John McAleely (john.mcaleely) → nobody
Daniel van Vugt (vanvugt) wrote :

Reduced priority for Ubuntu Touch bugs.

Changed in bluez (Ubuntu):
importance: Critical → Medium
Changed in pulseaudio (Ubuntu):
importance: Critical → Medium
tags: added: pulse-touch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments