[Bluetooth] No audio output/input in HSP/HFP mode

Bug #1871794 reported by Gavin Lin
466
This bug affects 118 people
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Confirmed
Undecided
Unassigned
pulseaudio (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm testing with Sony bluetooth headset SBH20, works fine in A2DP profile, but I can't get audio input and output work in HSP/HFP profile.

[Reproduce steps]
1. Scan and pair BT headset in Bluetooth setting
2. Switch to HSP/HFP profile in Sound setting
3. Test sound output/input

[Machine information]
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: pulseaudio 1:13.99.1-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu25
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 1359 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr 9 16:26:52 2020
InstallationDate: Installed on 2020-04-09 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
SourcePackage: pulseaudio
Symptom: audio
Symptom_Card: SBH20
Symptom_DevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 1359 F.... pulseaudio
Symptom_Type: No sound at all
Title: [SBH20, recording] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/17/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.13
dmi.board.name: 0188D1
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 31
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.0.13:bd09/17/2019:svnDellInc.:pnXPS1373902-in-1:pvr:rvnDellInc.:rn0188D1:rvrA00:cvnDellInc.:ct31:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 7390 2-in-1
dmi.product.sku: 08B0
dmi.sys.vendor: Dell Inc.

Revision history for this message
Gavin Lin (gavin.lin) wrote :
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. This particular bug has already been reported and is a duplicate of bug 1576559, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Gavin Lin (gavin.lin)
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This is a duplicate of bug 1576559, even if the error and reason has changed over the years. Everyone experiencing this problem should be discussing it in the same bug.

Revision history for this message
Rob Robertson (rob-rob) wrote :

This is not a duplicate of bug 1576559. It is a duplicate of #1878194

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

If that was true then bug 1878194 would be a duplicate of this one because this one is older.

Revision history for this message
Javier Paniagua Laconich (jpaniagualaconich) wrote :

Correct.
This is not a duplicate of #1576559.
#1878194 is a duplicate of this one.

But all the action is on #1878194, so let's make that one the original bug.

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

It's not that much "action". We can make this the main bug...

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Revision history for this message
Fmstrat (fmstrat) wrote :
Download full text (12.8 KiB)

I am getting the same issue with a new device. Everything works fine on one BT USB, but the intel one fails. It is a PCIe card with Intel AX200 Wifi+BT, with BT being passed through a USB header.

First boot with new card (dmesg):
```
[ 20.708957] Bluetooth: Core ver 2.22
[ 20.708971] Bluetooth: HCI device and connection manager initialized
[ 20.708974] Bluetooth: HCI socket layer initialized
[ 20.708975] Bluetooth: L2CAP socket layer initialized
[ 20.708978] Bluetooth: SCO socket layer initialized
[ 20.718527] usbcore: registered new interface driver btusb
[ 20.719034] Bluetooth: hci0: Bootloader revision 0.3 build 0 week 24 2017
[ 20.720327] Bluetooth: hci0: Device revision is 1
[ 20.720328] Bluetooth: hci0: Secure boot is enabled
[ 20.720329] Bluetooth: hci0: OTP lock is enabled
[ 20.720329] Bluetooth: hci0: API lock is enabled
[ 20.720330] Bluetooth: hci0: Debug lock is disabled
[ 20.720331] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 20.725091] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
[ 21.839173] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 21.839174] Bluetooth: BNEP filters: protocol multicast
[ 21.839176] Bluetooth: BNEP socket layer initialized
[ 22.274234] Bluetooth: hci0: Waiting for firmware download to complete
[ 22.275022] Bluetooth: hci0: Firmware loaded in 1519998 usecs
[ 22.275058] Bluetooth: hci0: Waiting for device to boot
[ 22.289027] Bluetooth: hci0: Device booted in 13657 usecs
[ 22.289187] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-20-1-3.ddc
[ 22.290032] Bluetooth: hci0: Failed to send Intel_Write_DDC (-22)
[ 35.565521] Bluetooth: RFCOMM TTY layer initialized
[ 35.565525] Bluetooth: RFCOMM socket layer initialized
[ 35.565527] Bluetooth: RFCOMM ver 1.11
```

Next boot:
```
[ 19.608303] Bluetooth: Core ver 2.22
[ 19.608315] Bluetooth: HCI device and connection manager initialized
[ 19.608318] Bluetooth: HCI socket layer initialized
[ 19.608319] Bluetooth: L2CAP socket layer initialized
[ 19.608321] Bluetooth: SCO socket layer initialized
[ 19.616842] usbcore: registered new interface driver btusb
[ 19.617945] Bluetooth: hci0: Firmware revision 0.0 build 128 week 11 2020
[ 20.872710] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 20.872711] Bluetooth: BNEP filters: protocol multicast
[ 20.872714] Bluetooth: BNEP socket layer initialized
[ 34.561042] Bluetooth: RFCOMM TTY layer initialized
[ 34.561048] Bluetooth: RFCOMM socket layer initialized
[ 34.561050] Bluetooth: RFCOMM ver 1.11
```

`lsusb -v`:
```
Bus 003 Device 003: ID 8087:0029 Intel Corp.
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.01
  bDeviceClass 224 Wireless
  bDeviceSubClass 1 Radio Frequency
  bDeviceProtocol 1 Bluetooth
  bMaxPacketSize0 64
  idVendor 0x8087 Intel Corp.
  idProduct 0x0029
  bcdDevice 0.01
  iManufacturer 0
  iProduct 0
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotal...

Revision history for this message
Fmstrat (fmstrat) wrote :

I should also note, if it helps, that when this BT device is installed on the system, using the hotkeys to adjust volume on my keyboard no longer works.

Revision history for this message
Hui Wang (hui.wang) wrote :

@Fmstrat,

In your case, It looks like the driver for BT module on AX200 or the firmware intel/ibt-20-1-3.sfi has some problem, could yo please submit this bug to upstream

Revision history for this message
yossisynett (yossisynett) wrote :

@hui.wang, how do we submit the bug to upstream?

Revision history for this message
Executenor (nicktelindert) wrote :

I found out what the problem is, the wrong firmware gets loaded. It load the firmware for the ax201 instead of ax200.

Revision history for this message
Hui Wang (hui.wang) wrote :

@Executenor,

what firmware is for ax201 and what firmware is for ax200?

thx.

Revision history for this message
Executenor (nicktelindert) wrote :

version 48 is for AX201 AND version 46 is for ax200.

Revision history for this message
Hui Wang (hui.wang) wrote :

Thansk, the hardware ax200 will load ibt-20-1-3.ddc and ibt-20-1-3.sfi, do you mean the ibt-20-1-3 is version 48 or the ibt-20-1-3 has version 46 and 48?

Revision history for this message
Executenor (nicktelindert) wrote :

I booted up my laptop today and hsp/hfp mode failed again. So my idea about the firmware seems to be wrong. So i was wrong about that.

Revision history for this message
Executenor (nicktelindert) wrote :

I booted a live image of 20.10 and their my bluetooth does work. I also downloaded a version of 20.04.1 which also worked fine.

Revision history for this message
Executenor (nicktelindert) wrote :

I have got it working with the liquorix kernel and updated firmware, the biggest issue seems to be that the ibt firmware does not get loaded.

Revision history for this message
yossisynett (yossisynett) wrote :

Thanks for the tip, also got this working with the liquorix kernel but didn't have to update the firmware - used the current version in ubuntu 20.04

Revision history for this message
Executenor (nicktelindert) wrote :

After booting the liquorix kernel the normal kernel started working too. Although with updated firmware. The difference is that the firmware is loading while before it didn't load at all.

Revision history for this message
tim474 (tim474) wrote :

Same problem, liquorix didn't help.

```
$ sudo dmesg | grep blue -i
[ 18.829608] Bluetooth: Core ver 2.22
[ 18.829633] Bluetooth: HCI device and connection manager initialized
[ 18.829638] Bluetooth: HCI socket layer initialized
[ 18.829641] Bluetooth: L2CAP socket layer initialized
[ 18.829645] Bluetooth: SCO socket layer initialized
[ 18.951265] Bluetooth: hci0: Bootloader revision 0.0 build 0 week 30 2018
[ 18.952080] Bluetooth: hci0: Device revision is 2
[ 18.952082] Bluetooth: hci0: Secure boot is enabled
[ 18.952083] Bluetooth: hci0: OTP lock is enabled
[ 18.952084] Bluetooth: hci0: API lock is enabled
[ 18.952085] Bluetooth: hci0: Debug lock is disabled
[ 18.952086] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 18.955123] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-0.sfi
[ 20.470860] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 20.470862] Bluetooth: BNEP filters: protocol multicast
[ 20.470879] Bluetooth: BNEP socket layer initialized
[ 20.480262] Bluetooth: hci0: Waiting for firmware download to complete
[ 20.481072] Bluetooth: hci0: Firmware loaded in 1494799 usecs
[ 20.481147] Bluetooth: hci0: Waiting for device to boot
[ 20.495259] Bluetooth: hci0: Device booted in 13804 usecs
[ 20.495772] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-0-0.ddc
[ 20.496201] Bluetooth: hci0: Failed to send Intel_Write_DDC (-22)
[ 20.498169] Bluetooth: hci0: Firmware revision 0.0 build 128 week 11 2020
[ 23.936736] Bluetooth: RFCOMM TTY layer initialized
[ 23.936747] Bluetooth: RFCOMM socket layer initialized
[ 23.936753] Bluetooth: RFCOMM ver 1.11
```

Headset Afresshokz Air.

It works as HSP on Fedora with kernel 5.6

Revision history for this message
tim474 (tim474) wrote :

Bluetooth device is 8087:0aaa

HSP works on the same device with ubuntu 18.04 with OEM kernel (as I remember 5.0)

Revision history for this message
tim474 (tim474) wrote :

PLEASE HELP!!! ANY WORKAROUND PLEASE!!!

Revision history for this message
tim474 (tim474) wrote :

It seems that I have found the workaround. I copied /lib/firmware/intel/ibt* from ubuntu 18.04 to 20.04

Revision history for this message
lima (lima25) wrote :

Above workaround with older ibt* files does not work on Ubuntu 20.04.1 LTS on Elitebook 840 G6, Bluetooth devices:
Samsung HM1350
Sony WH-CH700N

Revision history for this message
Iain (ironpants) wrote :

HSP/HFP does not work on Ubuntu 20.04 with Sony WI-1000X. A2DP does work (output) but as soon as I switch to HSP/HFP then I loose bluetooth audio (input and output). Ran Ubuntu 18.04 from a live USB and HSP/HFP did work so something has changed between 18.04 and 20.04.

Revision history for this message
newsworthy39 (newsworthy39) wrote :

Same problem here, Sone WH-1000MX2, ubuntu 20.04.1 LTS, Linux 5.4.0-45-generic. AD2P works, however as soon as i switch to HSP/HFP then i loose bluetooth audio. Worked in Ubuntu 18 LTS.

Revision history for this message
Executenor (nicktelindert) wrote :

I use a Sony WH-1000MX2 too, and after an update my bluetooth broke again.

Revision history for this message
Executenor (nicktelindert) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in bluez (Ubuntu):
status: New → Confirmed
Revision history for this message
Luke Renaud (luke-renaud) wrote :

From what I can gather this is not a function of the headset or Bluetooth device, but it's a function of firmware differences in the host side Bluetooth adapters.

For example, I have a Sony WH-1000MX3.

I have a USB dongle adapter that does not work in the HSP/HFP mode. When selecting the mode the active profile throws various errors then returns to the "off" PulseAudio/ALSA profile.

lsusb on the CSR USB dongle.
```
Bus 001 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 224 Wireless
  bDeviceSubClass 1 Radio Frequency
  bDeviceProtocol 1 Bluetooth
  bMaxPacketSize0 64
  idVendor 0x0a12 Cambridge Silicon Radio, Ltd
  idProduct 0x0001 Bluetooth Dongle (HCI mode)
  bcdDevice 88.91
  iManufacturer 0
  iProduct 2
  iSerial 0
  bNumConfigurations 1
```

I also have an Intel Bluetooth/WiFi 802.11ac card (Bluetooth is on the USB bus), that does support the HSP/HFP mode, abet with noticeably reduced audio quality. I think there is a separate bug in launchpad tracking the audio quality issues of that mode though.

header for `lsusb -v` on the Intel card.
```
Bus 001 Device 005: ID 8087:07dc Intel Corp.
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 224 Wireless
  bDeviceSubClass 1 Radio Frequency
  bDeviceProtocol 1 Bluetooth
  bMaxPacketSize0 64
  idVendor 0x8087 Intel Corp.
  idProduct 0x07dc
  bcdDevice 0.01
  iManufacturer 0
  iProduct 0
  iSerial 0
  bNumConfigurations 1
```

lspci on the intel card
```
04:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
 Subsystem: Intel Corporation Dual Band Wireless-AC 7260
 Flags: bus master, fast devsel, latency 0, IRQ 96
 Memory at f7600000 (64-bit, non-prefetchable) [size=8K]
 Capabilities: <access denied>
 Kernel driver in use: iwlwifi
 Kernel modules: iwlwifi
```

Revision history for this message
Roman Gralevsky (rgralevsky) wrote :

Sennheiser Momentum True Wireless 2

Revision history for this message
Roman Gralevsky (rgralevsky) wrote :

Affecting me as well

Revision history for this message
Leendert de Kok (koktail) wrote :

I can confirm this behavior with by JBL TUNE750TNC.

Revision history for this message
Leendert de Kok (koktail) wrote :

Any information needed about my configuration or some log?

Revision history for this message
Dominic Swaine (domswaine) wrote :

Affected by this also.

Revision history for this message
davebenvenuti (davebenvenuti) wrote :

Affects me as well on Kubuntu 20.04

Revision history for this message
Christian Baumann (wurzelserver) wrote :

Affects me as well on Ubuntu 20.04 and DELL Latitude 5310

Revision history for this message
Ilya (d1313) wrote :

+ same here
20.04 LTS clean install XPS9500 + MPOW336A

Revision history for this message
Nick De Graeve (nickdegraeve) wrote :

For me it is fixed since the latest kernel update, 5.4.0-48-generic.

- Ubuntu 20.04.1 LTS
- Dell XPS 15 7590
- Bose QuietComfort 35 II

Revision history for this message
bmer (bmerchant8-0) wrote :

I have the issue as well and the 5.4.0-48-generic kernel does NOT fix it for me.

- Ubuntu 20.04.1 LTS (just upgraded from 18.04 where it worked)
- Dell XPS 13 7390 Developer Edition
- SteelSeries Arctis Pro Wireless

Revision history for this message
Executenor (nicktelindert) wrote :

Ok, all these devices have intel wireless and use btintel together with btusb. And i am also pretty sure it has something to do with the firmware not loading. Also this bug has been reported on April the 9th this year and i don't see anyone working on this. And we already have a point release. Why is this not getting any attention? At least give us a status update. Many people work at home now and use bluetooth headphones for Slack or Skype etc. We bought company laptops with 20.04 LTS preinstalled and we all had to downgrade them to make them usable for working at home.

Revision history for this message
Javier Paniagua Laconich (jpaniagualaconich) wrote :

I'm on 20.10 Groovy Beta and, after today's kernel + linux-firmware update, HFP/HSP is working on my dell xps 13 9380.

It stopped working since 20.04, it wasn't working with all previous kernel/linux-firmware versions in 20.10. Today it's finally back.

$ uname -a
Linux mydellxps 5.8.0-25-generic #26-Ubuntu SMP Thu Oct 15 10:30:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ apt-cache policy linux-firmware
linux-firmware:
  Installed: 1.190
  Candidate: 1.190
  Version table:
 *** 1.190 500
        500 http://it.archive.ubuntu.com/ubuntu groovy/main amd64 Packages
        500 http://it.archive.ubuntu.com/ubuntu groovy/main i386 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Executenor (nicktelindert) wrote :

@Javier
That is weird that laptop does not have a intel bluetooth/wifi chip? I own one too as a private laptop and it has a qualcomm that should not be affected by this bug. Can you please post which chipset is has? Maybe Dell released one with an intel chipset too.

Revision history for this message
Ranjan (ranjan-purbey) wrote :

Yes, on 20.10 beta the bug seems to have been fixed

Revision history for this message
Javier Paniagua Laconich (jpaniagualaconich) wrote :

@nicktelindert

you're right. I was so happy that I misidentified my own notebook. It's the one that came right after the 9380: the 7390 (not the 2-in-1) with the dreaded intel bluetooth/wifi killer ax200.

Revision history for this message
Executenor (nicktelindert) wrote :

@Javier Ah ok that makes sense, i hope it is really fixed with ubuntu 20.10 then it could be used with the a new hwe for ubuntu 20.04.

Revision history for this message
smurf (luca-dgh) wrote :

I have the same problem with a fresh 20.04.1 install, kernel 5.4.0.52, Huawei laptop with Ryzen 5, Realtek BT (I tried as well with a tp-link dongle).

Bus 003 Device 002: ID 1358:c123 Realtek Bluetooth Radio

In my case A2DP is working, but I can't switch to HFP/HSP from Bluetooth device manager, nor from pulseaudio.

Revision history for this message
Marco Giovinazzi (marco-giovinazzi) wrote :

Same problem using Aeropex by AfterShokz (AVRCP) headset on 20.04 (xps9310).

Quick-and-dirty workaround:
- download the 1.190 firmware package (http://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.190.tar.gz)
- copy the relevant ibt firmware and parameters (sfi, ddc) to /usr/lib/firmware/intel (ibt-19-0-4 in my case) - backup of the old files highly recommended ;)
- reboot, reconnect.

My headset is now working both in A2DP and HFP/HSP modes.

Revision history for this message
Hui Wang (hui.wang) wrote :

@Marco,

What the bluetooth module on your machine? Could you please upload the vendor ID:device ID like #49?

thx.

Revision history for this message
Marco Giovinazzi (marco-giovinazzi) wrote :

@Hui,

Here's my device:

Bus 003 Device 004: ID 8087:0026 Intel Corp.

Marco.

Revision history for this message
Istvan Gyorsok (gyorsok) wrote :

Hi all,

throwing in my experience:
Sony WH-H910N,
ThinkPad P1 Gen 2,
Bus 001 Device 007: ID 8087:0029 Intel Corp.

Worked under 18.04
When upgraded to 20.04 rcX (before it was released), still kept working. Not much later - already on released 20.04 - with a fw/kernel/whatever upgrade it stopped working in HSP/HFP mode.

Since there were errors in dmesg related to the FW loading, I downloaded upstream FW from git, put them under /lib/firmware, and added a dpkg-diversion for the package provided versions, so that it survives an upgrade:
dpkg-divert --list | grep ibt
local diversion of /lib/firmware/intel/ibt-20-1-3.sfi to /lib/firmware/intel/ibt-20-1-3.sfi.dist
local diversion of /lib/firmware/intel/ibt-20-1-3.ddc to /lib/firmware/intel/ibt-20-1-3.ddc.dist

Headphones Sony WH-H910N do work out of the box on a different system with the same distro - with BT HW 8087:0a2a.

Revision history for this message
Hui Wang (hui.wang) wrote :

@Marco,

I just have a lenovo laptop with the usb bluetooth module 8087:0026, I will test if it could work on my laptop.

@Istvan,

Yes, most of this kind of issues are in the bluetooth firmware or kernel driver, and nearly has nothing to do with pulseaudio.

Revision history for this message
Hui Wang (hui.wang) wrote :

For those who are using the laptop with Intel BT module 8087:0029:

The firmware in the current 20.04 is: md5sum 8cadd1fa93ab9790f61165f384466b0d ibt-20-1-3.sfi

The firmware in the current 20.10 is: md5sum a2ebb8594804b5230a406b536804988c ibt-20-1-3.sfi

The hsp/hfp could work in the 20.10 but couldn't work in the current 20.04 due to the firmware difference.

There are 3 new commits applied to 20.10 firmware:

commit b7849f7ccf268a909a80b090db131ab22ca160b9
Author: Kiran K <email address hidden>
Date: Fri Jul 10 19:51:29 2020 +0530

    linux-firmware: Update firmware file for Intel Bluetooth AX200

    This patch adds new firmware file for Intel Bluetooth AX200
    Also it is known as Intel CyclonePeak (CcP).

    FW Build: REL9916

    Release Version: 21.110.0.3

    Signed-off-by: Kiran K <email address hidden>
    Signed-off-by: Josh Boyer <email address hidden>

commit 887d2a103c2bdd267dbca5bed39b1b493d6cbe13
Author: Amit K Bag <email address hidden>
Date: Wed May 27 15:30:49 2020 +0530

    linux-firmware: Update firmware file for Intel Bluetooth AX200

    This patch updates new firmware file for Intel Bluetooth AX200
    Also it is known as Intel CyclonePeak (CcP).

    FW Build: REL8301

    Release Version: 21.90.3.2

    Signed-off-by: Amit K Bag <email address hidden>
    Signed-off-by: Josh Boyer <email address hidden>

commit b2cad6a2d733d9b10d25a31874a51d96908d6e89
Author: Amit K Bag <email address hidden>
Date: Wed Apr 22 15:02:44 2020 +0530

    linux-firmware: Update firmware file for Intel Bluetooth AX200

    This patch updates new firmware file for Intel Bluetooth AX200
    Also it is known as Intel CyclonePeak (CcP).

    FW Build: REL6356

    Release Version: 21.90.0.3

    Signed-off-by: Amit K Bag <email address hidden>
    Signed-off-by: Josh Boyer <email address hidden>

Revision history for this message
Hui Wang (hui.wang) wrote :

@Marco

On my machine with BT moudle 8087:0026, I reproduced the problem, and replaced with 20.10 firmware ibt-19-0-4.sfi, but still could not work in hsp/hfp mode.

What I found is the bt driver can't receive the SCO packet, the returned packet length is always 0.

And if the bt headset can't work in the hsp/hfp mode, please run hci config, if the output like below (RX bytes: sco:0 TX bytes: sco:1), that means the bt driver can't receive SCO packets, as a result the headset can't work in hsp/hfp mode since hsp/hfp mode depends on SCO link.

hci0: Type: Primary Bus: USB
 BD Address: D4:D2:52:3D:49:E6 ACL MTU: 1021:4 SCO MTU: 96:6
 UP RUNNING PSCAN
 RX bytes:23638 acl:85 sco:0 events:3463 errors:0
 TX bytes:980646 acl:323 sco:1 commands:3121 errors:0

Revision history for this message
Benny Prange (bennypi) wrote :

@Marco and Hui Wang

My Dell Latitude 5411 also contains an Intel BT Module 8087:0026. I can also reproduce the problem with my Sony WH-CH700N headphones. A2DP is fine, HSP/HFP is broken.

I also tried Marco's fix and copied the newer firmware (https://launchpad.net/ubuntu/+source/linux-firmware/1.190) for ibt-19-0-4, but just like Hui Wang the problem still exists. I can also confirm the hciconfig behaviour, every time I switch to HSP/HFP, the TX sco counter increases by one, but the RX sco counter stays at 0.

Revision history for this message
Hui Wang (hui.wang) wrote :

Update:

If the bluetooth module is 8087:0029 or 8087:0026, the firmware in the 20.04 has some problem, we need to update the firmware, and I found the most import is *.ddc instead of *.sfi,

For 8087:0029, please update ibt-20-1-3.sfi and ibt-20-1-3.ddc from 20.10 or latest upstream

For 8087:0026, please update ibt-19-0-4.sfi and ibt-19-0-4.ddc from 20.10 or latest upstream

After update, please poweroff the machine (not reboot), this could guarantee the bt driver will reload the firmware (sfi and ddc), then power on the machine, test the hsp/hfp mode.

I have tested, after update the ddc, hsp/hfp could work with 8087:0029 and 8087:0026 now.

Revision history for this message
Benny Prange (bennypi) wrote :

@Hui Wang

After I powered off the machine instead of a reboot, the HSP/HFP mode is now working.

However there are two things to note, that might be related to this problem:

1. In the sound settings menu (I'm using Linux Mint Ulyana) I cannot play a test sound in HSP/HFP mode, only in A2DP mode.
2. The sound quality is significantly worse when using HSP/HFP. It really sounds like using a telephone / landline connection. As soon as I switch to A2DP, the sound ist normal again.

Revision history for this message
Marco Giovinazzi (marco-giovinazzi) wrote :

@Hui: thanks for the update :)

@Benny: the issue with pulseaudio and bt sound quality is a neverending story... e.g.:

https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/776

https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1838151

I'm considering an USB audio adapter (as someone is suggesting in the other threads) since it's almost impossible to have a decent conversation using my laptop and my bt headset...

Revision history for this message
smurf (luca-dgh) wrote :

Ok, Intel hardware has a solution, but other hardware?
I have Realtek, has mentioned above, and the problem persist.

Revision history for this message
Hui Wang (hui.wang) wrote :

@smurf,

After you switch the bt profile to hsp/hfp mode, please run hciconfig, let us see if the bt driver could recevie the sco packets?

And BTW, what is your WiFi module's name (BT and WiFi usually co-exist on a physical module), I will check if there is a machine with the same module in our office.

Revision history for this message
KT (arsenalis) wrote :

I would like to report back that on Ubuntu 20.04 with Intel AX200 network card (8087:0029), I resolved this issue by following @Hui Wang's instruction

ibt-20-1-3.sfi and ibt-20-1-3.ddc from 20.10 driver

HSP/HSF was greyed out before but is now available and functioning after powering off and on again.

Revision history for this message
smurf (luca-dgh) wrote :
Download full text (3.6 KiB)

@Hui Wang,
actually I can't switch to hsp/hfp mode.
In BlueMan device window, if I try to switch profile I receive an error (the red bar at window bottom) and in Pulseaudio I don't have the option to switch.
Furthermore, in Blueman window manager, when I connect the headphone I see an orange button with an orange bar above, a green button with no bar above and a blue button with a blue bar above.
If I use a tp-link dongle I see the green bar as well.
On the same laptop I have windows 10 (dual boot) and there the headphone microphone works fine.

Here lspci and lusb output,let me know if you need some more info.

luca@laptop-luca:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c2)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
03:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
03:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
03:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
03:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor
03:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
luca@laptop-luca:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 1358:c...

Read more...

Revision history for this message
Hui Wang (hui.wang) wrote :

@smurf,

OK, got your wifi's type, it is rtl8822ce, I will check if I could find a machine with this Wifi chip in the office.

BTW, you could raise your issue to https://github.com/rtlwifi-linux too, and I found there is a driver specific to 8822ce: https://github.com/rtlwifi-linux/rtk_wifi_driver_rtl8822ce

Revision history for this message
smurf (luca-dgh) wrote :

ok, but what about that "Maxxter wireless receiver"?
I don't understand: my laptop has 2 pieces of hardware to manage the wi-fi?

Revision history for this message
smurf (luca-dgh) wrote :

@Hui Wang,
I tried to access https://github.com/rtlwifi-linux, but I didn't find where to report my issue.

Revision history for this message
Hui Wang (hui.wang) wrote :

I don't know, maybe it is a wireless mouse receiver?

Revision history for this message
Hui Wang (hui.wang) wrote :
Revision history for this message
smurf (luca-dgh) wrote :

ok, got it, thx a lot.

Revision history for this message
mistrani (mistrani) wrote :

solved from me upgrading from 20.04 to 20.10

Revision history for this message
smurf (luca-dgh) wrote :

@Hui Wang,
about the new driver in git repository.
I downloaded the source and compiled it, but the readme file is empty and I don't know the steps to install it and insert in dkms. I wrote an issue for this in git repository.
Could you help me?

Revision history for this message
Hui Wang (hui.wang) wrote :

@smurf,

What is generated after building? If it is *.deb file, just need to run 'sudo dpkg -i *.deb; reboot'

Revision history for this message
Raknu (santiago-azpiazu) wrote :

Also solved upgrading from 20.04LTS to 20.10.
I have a JBL TUNE500BT working now.

Revision history for this message
smurf (luca-dgh) wrote :

@Hui Wang,
no is not a package, the Make generated *.so or something like that

Revision history for this message
smurf (luca-dgh) wrote :

Please please, I'll apreciate a lot any kind of help.

Revision history for this message
Michael Heller (chusti) wrote :

Nice to see it works for 20.10.
however, I'd like to keep on the LTS version and expect to get a fix soon.

Revision history for this message
Anton Viktorov (latonita) wrote :

ubuntu 20.04, kernel Linux 5.4.0-52-generic
samsung galaxy buds, cant switch to hsp/hfp
thinkpad x1 carbon. laptop has intel BT 8087:0a2b,
/lib/firmware/intel/ibt-12-16.sfi is used.

tried to get "new" from here https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/intel but it has same fw file as i have on my system

Revision history for this message
smurf (luca-dgh) wrote :

Ok, I upgraded to 20.10, but in my case there are no changes, I see exactly the same behavior than in 20.04 .
I would appreciate a lot a bit of help.

Revision history for this message
Hui Wang (hui.wang) wrote :

@smurf,

I heard this wifi+bt module needs to install a dkms. I will ask my colleague about it.

Revision history for this message
Hui Wang (hui.wang) wrote :

@smurf,

My colleague told me that: sudo apt install rtl8821ce-dkms;reboot

if it doesn't work, you could remove it by sudo dpkg -P

Revision history for this message
smurf (luca-dgh) wrote :

@Hui Wang
Thank you so much for your help.
Unfortunately now I got another problem. I upgraded to Ubuntu 20.10 with kernel 5.8.0-28 and now the driver doesn't compile, there is a fatal error, on 20.04 with kernel 5.4.0.53 there was no errors.
I opened an issue here https://github.com/rtlwifi-linux/rtlwifi-next/issues/18 , but honestly I don't know if someone reads that forum.

Revision history for this message
Hui Wang (hui.wang) wrote :

The Intel bluetooth firmware will be upgraded with this bug #1905214

Revision history for this message
Kenneth Koski (knkski) wrote :

Thanks @hui.wang. Upgrading to Groovy didn't fix the issue for me with an AX200 card, but installing rtl8821ce-dkms made it work great.

Revision history for this message
smurf (luca-dgh) wrote :

@Hui Wang
sudo apt install rtl8821ce-dkms didn't the magic in my case.
hsp/hfp is still not working. I disabled Secure Boot on my laptop, I hope is not a problem.

Revision history for this message
Hui Wang (hui.wang) wrote :

@smurf,

after you change to hsp/hfp mode and it fails, please run hciconfig -a > hcilog.txt and upload it.

Revision history for this message
smurf (luca-dgh) wrote :

@Hui Wang
hsp/hfp mode doesn't fail, because it can't be activated.
In Blueman it says that it's impossible to switch the profile.
In Pulseaudio I have no options.

Revision history for this message
smurf (luca-dgh) wrote :

Anyway, this is the output of hciconfig -a after I tried to switch to hsp/hfp mode from BlueMan Manager.

hci0: Type: Primary Bus: USB
 BD Address: 5C:BA:EF:99:BC:3C ACL MTU: 1021:6 SCO MTU: 255:12
 UP RUNNING
 RX bytes:2950504 acl:61 sco:0 events:421151 errors:0
 TX bytes:259267232 acl:420944 sco:0 commands:188 errors:0
 Features: 0xff 0xff 0xff 0xfe 0xdb 0xfd 0x7b 0x87
 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
 Link policy: RSWITCH HOLD SNIFF PARK
 Link mode: SLAVE ACCEPT
 Name: 'RTK_BT_5.0'
 Class: 0x000000
 Service Classes: Unspecified
 Device Class: Miscellaneous,
 HCI Version: 5.1 (0xa) Revision: 0xc
 LMP Version: 5.1 (0xa) Subversion: 0x8822
 Manufacturer: Realtek Semiconductor Corporation (93)

Revision history for this message
smurf (luca-dgh) wrote :

I had to reinstall Ubuntu 20.04 with kernel 5.4.0-56 because on 20.10 with kernel 5.8.0-28 the wifi was very unstable.

Revision history for this message
Jonah Libster (jalibsterattucows) wrote :

Cannot use Microphone at all because when I switch to HSP/HSF mode the Microphone has no input and the speakers stop working. I tried installing Ofono which resulted in the Microphone working as a "speaker" (got sound levels) and the speakers not working at all when attempting to use HSP/HSF mode.Here are the hardware/Os basic details.

Ubuntu 20.0.4.1 LTS
Lenovo 20QU-S4RC00
Plantronics BackBeat Pro 2

Revision history for this message
Sherebyah Tisbi (sherebiahtishbi) wrote :

Confirm this issue with my Logitech H800 headset and also with Bose Mini II Soundlink. I hear audio successfully on both devices irrespective of A2DP or HSP/HSF. But microphone doesn't work on either mode.

Revision history for this message
Vedprakash Upraity (vedupraity) wrote :

I am facing the same problem with Ubuntu 20.04.1 LTS, using Sennheiser HD450 BT. I can switch between A2DP and HSP profiles, A2DP works great for music. When I switch to HSP, it reduces audio quality and sounds like a telephone and the mic is not working at all.

Revision history for this message
Michael Heller (chusti) wrote :

Problem has been fixed for my setup:

- Kernel: 5.4.0-56-generic
- OS: Xubuntu 20.04.01 LTS
- Machine: HP-ZBook-14u-G6
- Headset: FreeVoice Space Stereo

Revision history for this message
denis (shingitsune) wrote :

Problem has NOT been fixed for my setup:

- Kernel: 5.4.0-58.64-generic
- OS: Ubuntu 20.04.1 LTS
- Machine: Dell Inspiron 7559 (0706)
- Headset: Anker Soundcore Liberty Air 2

Revision history for this message
Gustave Coste (gustavecoste) wrote :

Problem has NOT been fixed for my setup:

- Kernel: 5.4.0-65-generic
- OS: Ubuntu 20.04.1 LTS
- Machine: Dell EliteBook
- Headset: Oppo Enco Quiet

Revision history for this message
Patrick Banholzer (patrick-banholzer) wrote :

Problem remains, my environment:

 - Kernel: 5.4.0-65-generic
 - OS: Ubuntu 20.04.2 LTS
 - Machine: Dell Precision 5550
 - Headset: Jabra Evolve 75

Couple of users facing the same issue here.

Revision history for this message
Manuel Torrinha (t0rrant) wrote :

Problem remains, my environment:

 - Kernel: 5.8.0-43-generic
 - OS: Ubuntu 20.04.2 LTS
 - Machine: Dell Latitude 7410
 - Headset: Mi TW Earphones 2 Basic

Revision history for this message
Stefan W (s-witzel) wrote :

Same problem:

- Kernel: 5.8.0-41-generic
- OS: Ubuntu 20.04.02 LTS
- Headset: Sennheiser MB Pro 2

I can switch to HSP but even audio output won't work at all.

Revision history for this message
Luis (luisvillamarin) wrote :

Issue:

- I can switch profiles, but when I chose HSP/HFP I get no sound and the microphone doesn't work.
- I didn't have this issue in 18.04 LTS or 16.04 LTS (same hardware)

Environment:

- Kernel: Linux 5.8.0-44-generic
- OS: Ubuntu 20.04.1 LTS
- Headset: WC-CH500
- BT Dongle: Plugable USB Bluetooth 4.0

Revision history for this message
Paolo Ranzi (paoloranzi81) wrote :

I have the same issue with the headphone's microphone. My Bose 700 connects and has sound output for A2DP, but terrible audio quality (HSP/HFP) when switching on headphone's microphone.

Laptop: Acer Predator G9 591 2016
OS: Ubuntu 20.04.01 LTS
Kernel: 5.4.0-66-generic
Headset: Bose 700

Revision history for this message
Nazzareno Marziale (nenzius) wrote :

Same problem.
Linux 5.8.0-45-generic #51-Ubuntu SMP Fri Feb 19 13:24:51 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
DELL XPS 15 9570

Revision history for this message
Alex Huang (al3xh) wrote :

Problem has NOT been fixed for my setup either:

- Kernel: 5.9.6-050906-generic
- OS: Ubuntu 20.04.1 LTS
- Machine: Custom built PC?
- Headset: Apple Airpods pro

I was able to have a workaround by following this answer and setting up ofono: https://askubuntu.com/a/1236379/295477. However, I expected it to work out of the box...

Revision history for this message
Juan Leni (jleni) wrote :

Any updates on this?

Revision history for this message
Artem (aplaksiy) wrote :

Same problem:
- Kernel: 5.8.0-50-generic
- OS: Ubuntu 20.04.1
- Machine: HP EliteBook 830 G6
- Headset: BUXTON BHP 7501

Revision history for this message
Birender Singh (mebirendersingh) wrote :

Sorry @~gavin.lin, by mistake marked released.
Please fix it at youe end.

Changed in pulseaudio (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
David Rincon (rinkond) wrote :

Same problem here
Ubuntu 20.04
kernel 5.8.0-53-generic

Revision history for this message
smurf (luca-dgh) wrote :

Problem fixed for me on Ubuntu 20.04 after Kernel upgrade to 5.4.0-74.
But the quality of sound (in and out) is really poor.

Revision history for this message
Gaz (gazd) wrote :

Until this is resolved try working around it by replacing PulseAudio with pipewire. Works well with my Bose 700 headset.

Revision history for this message
Pham Quoc Hung (2411-phamquochung) wrote :

Same issue for me. Bluetooth is one of the most annoying issues on Linux.
- OS: Ubuntu 20.04.1 LTS
- Kernel: 5.4.0-80-generic
- Machine: Dell precision M4700
- Headset: Sony WH-CH510

Revision history for this message
_kai_ (gpayo) wrote :

Same issue for me: A2DP sink, sound is clear. If it set it as HFP, no sound and no mic.

Also I notice that the main volume control doesn't affect the volume (it remains the same and I have to change the volume by using the minus/plus in the device)

PipeWire didn't solve my issue.

- OS: Ubuntu 21.10
- Kernel: 5.13.0-22-generic #22-Ubuntu SMP
- Headset: Tribit MaxSound Plus
- BT dongle: Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

Revision history for this message
AlberT (dralbert) wrote (last edit ):

Same issue here.

  - HW: Lenovo ThinkPad X1 Carbon Gen 10
  - HeadSet: Sennheiser 4.50BTNC
  - OS: Ubuntu 22.04.1 LTS (Jammy Jellyfish)
  - BT fw: intel/ibt-0040-0041.sfi
  - Kernel: 5.15.0-52-generic #58-Ubuntu SMP

If high quality output is selected no input channel is available. To be able to use the headphones mic one has to use the mono channel output ...

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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