Disable A2DP when switch input device

Bug #1868286 reported by Gabriel Pérez
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Incomplete
Undecided
Unassigned
pulseaudio (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Hi,

How to reproduce:

1) Connect the headset via Bluetooth
2) Automatically will use A2DP (until here everything ok)
3) Go to sound settings, will be the "internal microphone" selected. Switch to use the microphone of the headset and will switch to low-quality audio HSP

Happens with the upgrade: bluez:amd64 (5.50-0ubuntu4 -> 5.50-0ubuntu5). Before that upgrade, everything was working fine. Only the automatic selection of A2DP fails sometimes but the microphone and A2DP were possible to use. After the mentioned upgrade to 5.50-0ubuntu5, it's just impossible to use the microphone and the A2DP audio at the same time.

When I do the switch in the input device in the syslog it's the following message:

kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0

I tried to downgrade to 5.50-0ubuntu4 but didn't work, the A2DP is not usable at all.

pulseaudio[8370]: Refused to switch profile to a2dp_sink: Not connected

Description: Ubuntu 19.10
Release: 19.10
Device: LE_WH-H900N (h.ear)

Regards,

Tags: eoan
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1868286

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

tags: added: eoan
affects: bluez (Ubuntu) → pulseaudio (Ubuntu)
Changed in bluez (Ubuntu):
status: New → Incomplete
Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please clarify: You say the latest bluez update caused the problem:

  Happens with the upgrade: bluez:amd64 (5.50-0ubuntu4 -> 5.50-0ubuntu5). Before that upgrade, everything was working fine.

and you also say it didn't cause the problem:

  I tried to downgrade to 5.50-0ubuntu4 but didn't work, the A2DP is not usable at all.

So this is probably a kernel bug or a pulseaudio bug.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sorry, I should have noticed this earlier. A2DP does not support microphones. If you want to use a microphone then yes it will switch to low quality HSP mode. This is not a bug, but is a limitation in the Bluetooth spec. Everything is behaving correctly...

But something better is on the way, so I will mark this as a duplicate of bug 1838151.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.