You are not logged in.

#101 2021-05-04 15:10:06

mushotoku
Member
Registered: 2020-12-11
Posts: 14

Re: Random bluetooth speaker disconnects

OP here. I followed the vast replies in this thread (thank you all for that) and tried all of the mentioned methods and workarounds. None of them helped me, with my hardware. Yesterday I switched from pulseaudio to pipewire and finally the random disconnects stopped happening.

just4info:

 Bus 001 Device 006: ID 8087:0a2b Intel Corp. Bluetooth wireless interface

Offline

#102 2021-05-06 21:18:57

UrbenLegend
Member
Registered: 2021-03-26
Posts: 12

Re: Random bluetooth speaker disconnects

Can confirm after a hard reboot that the new firmware fixes the issue with pipewire and my WH-1000XM4's!

Offline

#103 2021-05-08 14:41:50

davidgp.com
Member
Registered: 2021-04-08
Posts: 2

Re: Random bluetooth speaker disconnects

After latest firmware released in the past days seems fixed on my laptop, AX200 card showing the following in dmesg:

$ sudo dmesg | grep 'Bluetooth: hci' | grep 'Firmware revision'
[   15.463274] Bluetooth: hci0: Firmware revision 0.0 build 118 week 15 2021

Firmware version:

$ pacman -Ss linux-firmware
core/linux-firmware 20210426.fa0efef-1 [installed]
    Firmware files for Linux

I needed to do a shutdown of the laptop for the firmware to be loaded into the card.

Last edited by davidgp.com (2021-05-08 14:43:05)

Offline

#104 2021-05-13 23:31:48

idimitro
Member
Registered: 2019-03-10
Posts: 5

Re: Random bluetooth speaker disconnects

Hi, I am having the linux-firmware-20210426.fa0efef-1 installed but it is still loading the old firmware. I have restarted and shutdown the system multiple times since the upgrade.

$ pacman -Ss linux-firmware
core/linux-firmware 20210426.fa0efef-1 [installed]
Firmware files for Linux
 
sudo dmesg | grep 'Bluetooth: hci' | grep 'Firmware revision'
[sudo] password for power: 
[    3.208869] Bluetooth: hci0: Firmware revision 0.0 build 121 week 7 2021

Any suggestion how to "force" load the new firmware?  It is present on the filesystem:

ll /usr/lib/firmware/intel/ibt-20-*
-rw-r--r-- 1 root root    9 Apr 28 09:31 /usr/lib/firmware/intel/ibt-20-0-3.ddc
-rw-r--r-- 1 root root 765K Apr 28 09:31 /usr/lib/firmware/intel/ibt-20-0-3.sfi
-rw-r--r-- 1 root root    9 Apr 28 09:31 /usr/lib/firmware/intel/ibt-20-1-3.ddc
-rw-r--r-- 1 root root 767K Apr 28 09:31 /usr/lib/firmware/intel/ibt-20-1-3.sfi
-rw-r--r-- 1 root root    9 Apr 28 09:31 /usr/lib/firmware/intel/ibt-20-1-4.ddc
-rw-r--r-- 1 root root 765K Apr 28 09:31 /usr/lib/firmware/intel/ibt-20-1-4.sfi

Thanks.

Last edited by idimitro (2021-05-13 23:33:01)

Offline

#105 2021-05-25 06:42:31

Czarnodziej
Member
From: Poland
Registered: 2017-02-20
Posts: 11
Website

Re: Random bluetooth speaker disconnects

mokkurkalve wrote:

Be sure to have a cold boot so that you are absolutely sure to load the new firmvare. Some sources here indicate that some setups must remove power cord, maybe even battery, for 30 seconds or so to achieve this. The chip could hold on to old firmware unless drained of all electricity.

Removing power cord fixed it for me.

Offline

#106 2021-05-25 11:42:01

idimitro
Member
Registered: 2019-03-10
Posts: 5

Re: Random bluetooth speaker disconnects

Czarnodziej wrote:
mokkurkalve wrote:

Be sure to have a cold boot so that you are absolutely sure to load the new firmvare. Some sources here indicate that some setups must remove power cord, maybe even battery, for 30 seconds or so to achieve this. The chip could hold on to old firmware unless drained of all electricity.

Removing power cord fixed it for me.

Thanks this helped me as well. I didn't know the card can cling to the old firmware for so long.

Offline

#107 2021-06-22 17:00:16

nelius
Member
Registered: 2021-06-20
Posts: 3

Re: Random bluetooth speaker disconnects

Hi, I was extremely happy when finding this thread. Thanks all for the research and great input on fixing this so far!

But somehow I can't get things to work, despite trying both the unplugged cold boot and even having the battery unplugged and then booting a while later.

The strange thing is that the drivers seem to be there, but modinfo reports old drivers being loaded..

$ ls /usr/lib/firmware/intel/ibt-20-*
.rw-r--r--    9 root 18 Mai 21:06 /usr/lib/firmware/intel/ibt-20-0-3.ddc
.rw-r--r-- 783k root 18 Mai 21:06 /usr/lib/firmware/intel/ibt-20-0-3.sfi
.rw-r--r--    9 root 18 Mai 21:06 /usr/lib/firmware/intel/ibt-20-1-3.ddc
.rw-r--r-- 784k root 18 Mai 21:06 /usr/lib/firmware/intel/ibt-20-1-3.sfi
.rw-r--r--    9 root 18 Mai 21:06 /usr/lib/firmware/intel/ibt-20-1-4.ddc
.rw-r--r-- 783k root 18 Mai 21:06 /usr/lib/firmware/intel/ibt-20-1-4.sfi

$ modinfo btintel | grep -i firmware                                                                                                                                                    
firmware:       intel/ibt-12-16.ddc
firmware:       intel/ibt-12-16.sfi
firmware:       intel/ibt-11-5.ddc
firmware:       intel/ibt-11-5.sfi

$ lsusb | grep -i intel                                                                                                                                                                  
Bus 001 Device 004: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)

I was looking around a bit on force loading drivers and stackexchange was mentioning

insmod

for that. However, not sure if I need to pass parameters to the driver and if that approach is really recommended or not.

Does anyone have further input on debugging/solving the issue?

Last edited by nelius (2021-07-05 13:37:59)

Offline

#108 2021-06-23 09:59:23

Czarnodziej
Member
From: Poland
Registered: 2017-02-20
Posts: 11
Website

Re: Random bluetooth speaker disconnects

https://old.reddit.com/r/ASUS/comments/ … ?context=3

I just had this happen with the b550-F (wifi).

The following worked for me:

    Turn off the PC.

    Unplug power cable to PSU.

    Hold power button for 30 seconds.

    Plug power back into PSU.

    Boot PC.

I read somewhere that it was a static electricity issue or something and by doing this it resets whatever is causing interference.

Worked for me after firmware reverted itself to previous version.

Offline

#109 2021-06-23 16:41:03

nelius
Member
Registered: 2021-06-20
Posts: 3

Re: Random bluetooth speaker disconnects

@Czarnodziej unfotunately that doesn't work for me, if I keep the on button pressed it just turns on the computer on my Dell Vostro 5481..

I think that unplugging the actual battery (unscrewing the case and tearing out the connector) should have done the job (which I had already tried), but that is not the case... I'm clueless as to what's going on sad

Offline

#110 2021-06-23 17:03:18

nelius
Member
Registered: 2021-06-20
Posts: 3

Re: Random bluetooth speaker disconnects

dmesg gave me some more info:

[    7.669588] Bluetooth: Core ver 2.22                                                        
[    7.669617] Bluetooth: HCI device and connection manager initialized
[    7.669620] Bluetooth: HCI socket layer initialized
[    7.669622] Bluetooth: L2CAP socket layer initialized
[    7.669627] Bluetooth: SCO socket layer initialized
[    7.850054] usbcore: registered new interface driver btusb
[    7.850535] Bluetooth: hci0: Bootloader revision 0.1 build 42 week 52 2015
[    7.851558] Bluetooth: hci0: Device revision is 2                                                     
[    7.851560] Bluetooth: hci0: Secure boot is enabled
[    7.851561] Bluetooth: hci0: OTP lock is enabled                                                      
[    7.851562] Bluetooth: hci0: API lock is enabled                                                      
[    7.851563] Bluetooth: hci0: Debug lock is disabled
[    7.851563] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    7.854151] Bluetooth: hci0: Found device firmware: intel/ibt-17-16-1.sfi
[    7.912781] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.912784] Bluetooth: BNEP filters: protocol multicast
[    7.912788] Bluetooth: BNEP socket layer initialized
[    9.382521] Bluetooth: hci0: Waiting for firmware download to complete
[    9.383564] Bluetooth: hci0: Firmware loaded in 1497570 usecs
[    9.383633] Bluetooth: hci0: Waiting for device to boot
[    9.397501] Bluetooth: hci0: Device booted in 13607 usecs
[    9.397549] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-17-16-1.ddc
[    9.399638] Bluetooth: hci0: Applying Intel DDC parameters completed
[    9.461661] Bluetooth: hci0: MSFT filter_enable is already on

it's strange in

/usr/lib/firmware/intel/

, I have versions 11 through 20 of the firmware, how come it loads 17?

Should I just try and delete the other versions?

Last edited by nelius (2021-06-23 17:19:16)

Offline

#111 2021-06-24 13:45:36

calebstewart
Member
Registered: 2021-04-04
Posts: 5

Re: Random bluetooth speaker disconnects

Thanks so much to everyone who did the hard work debugging this before. My home computer hadn't been fully powered off in a long time, and I just purchased some sony wh-1000mx4's and was experiencing this issue. Incredibly annoying. Turning off, then flipping the switch on my power supply and letting the power drain did the trick. You guys are rockstars. big_smile

Offline

#112 2021-06-24 22:11:22

CarolusRex
Member
Registered: 2020-03-31
Posts: 6

Re: Random bluetooth speaker disconnects

Faced same issue today. Some things which could be related:
* I upgraded kernel (currently it is 5.12.12-arch1-1), I don't know the previous version, but usually I run pacman -Syu once in several days.
* Added microcode to second initrd for my bootloader (rEFInd)

My system:
Bus 003 Device 008: ID 8087:0026 Intel Corp. (AX 201?)
Sennheiser Momentum 2 headset
core/linux-firmware 20210511.7685cf4-1
Linux anonymous 5.12.12-arch1-1 #1 SMP PREEMPT Fri, 18 Jun 2021 21:59:22 +0000 x86_64 GNU/Linux
aur/bluez-git 1:5.58.r80.gd7c2a4cee-1 (+39 0.00) (Installed: 1:5.59.r10.g864d03727-1)
extra/pulseaudio 14.2-3

[    0.000000] microcode: microcode updated early to revision 0x88, date = 2021-03-31
[    0.115607] ACPI: Core revision 20210105
[    0.650478] microcode: sig=0x806c1, pf=0x80, revision=0x88
[    2.813984] Bluetooth: hci0: Bootloader revision 0.4 build 0 week 30 2018
[    2.814992] Bluetooth: hci0: Device revision is 2
[    4.507979] Bluetooth: hci0: Firmware revision 0.0 build 118 week 15 2021

when disconnect happens, I could see such messages in dmesg

[ 2047.226573] Bluetooth: hci0: Hardware error 0x0a
[ 2047.238063] Bluetooth: hci0: Retrieving Intel exception info failed (-16)
[ 2047.362971] Bluetooth: hci0: MSFT filter_enable is already on
[ 2053.754291] input: MOMENTUM TW 2 (AVRCP) as /devices/virtual/input/input47

Any ideas?

Offline

#113 2021-07-20 09:09:53

tomekzet
Member
From: Poland
Registered: 2008-08-06
Posts: 6

Re: Random bluetooth speaker disconnects

I have same issue with Thinkpad P15 (Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x354), using kernel 5.12.15-arch1-1.

After powering off and booting I can see that firmware is loaded:
dmesg | grep -i bluetooth:

[   14.980983] Bluetooth: Core ver 2.22
[   14.981007] Bluetooth: HCI device and connection manager initialized
[   14.981010] Bluetooth: HCI socket layer initialized
[   14.981012] Bluetooth: L2CAP socket layer initialized
[   14.981015] Bluetooth: SCO socket layer initialized
[   15.333279] Bluetooth: hci0: Bootloader revision 0.4 build 0 week 30 2018
[   15.334281] Bluetooth: hci0: Device revision is 2
[   15.334283] Bluetooth: hci0: Secure boot is enabled
[   15.334284] Bluetooth: hci0: OTP lock is enabled
[   15.334284] Bluetooth: hci0: API lock is enabled
[   15.334285] Bluetooth: hci0: Debug lock is disabled
[   15.334286] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   15.336868] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-4.sfi
[   17.079353] Bluetooth: hci0: Waiting for firmware download to complete
[   17.080290] Bluetooth: hci0: Firmware loaded in 1710254 usecs
[   17.080300] Bluetooth: hci0: Waiting for device to boot
[   17.095338] Bluetooth: hci0: Device booted in 14694 usecs
[   17.104700] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-0-4.ddc
[   17.106391] Bluetooth: hci0: Applying Intel DDC parameters completed
[   17.109370] Bluetooth: hci0: Firmware revision 0.0 build 118 week 15 2021
[   17.169305] Bluetooth: hci0: MSFT filter_enable is already on
[   17.427181] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   17.427183] Bluetooth: BNEP filters: protocol multicast
[   17.427186] Bluetooth: BNEP socket layer initialized
[   24.251601] Bluetooth: RFCOMM TTY layer initialized
[   24.251608] Bluetooth: RFCOMM socket layer initialized
[   24.251612] Bluetooth: RFCOMM ver 1.11
[   25.416319] Bluetooth: hci0: MSFT filter_enable is already on

Resets are visible as:

[ 1063.106465] Bluetooth: hci0: Hardware error 0x0a
[ 1063.118494] Bluetooth: hci0: Retrieving Intel exception info failed (-16)
[ 1063.233364] Bluetooth: hci0: MSFT filter_enable is already on

Interestingly, resets happens only if I'm connected to 2.4GHz Wi-Fi. In case of 5GHz Wi-Fi connection, bluetooth headphones works fine.

Offline

#114 2021-08-03 20:58:31

machinehum
Member
Registered: 2021-06-29
Posts: 6

Re: Random bluetooth speaker disconnects

I've tried downgrading firmware to linux-firmware 20201218.646f159-1 and doing the cold reboot with no luck. I'm not sure if my issue is the same or not, but I'm seeing a usb reset... More info here... https://pastebin.com/raw/AecPrPmW

Offline

#115 2021-09-05 06:16:47

ppascher
Member
Registered: 2019-05-27
Posts: 6

Re: Random bluetooth speaker disconnects

I also had to shutdown my Desktop and remove the power cord. Also I pressed the power button for a couple of seconds to remove all power (LEDs shortly came up when doing this). After doing this dmesg finally shows:
Bluetooth: hci0: Firmware revision 0.0 build 191 week 21 2021
instead of:
Bluetooth: hci0: Firmware revision 0.0 build 26 week 3 2021

Seems I was running quite an old build the whole time, so thank you for this hint.

Offline

#116 2021-09-19 11:44:56

maxicarlos08
Member
Registered: 2021-08-28
Posts: 9

Re: Random bluetooth speaker disconnects

I am having the same issue on a Lenovo IdeaPad 5 15ALC05 with an AX200 Bluetooth and Pipewire.

I have been using the HSP/HFP audio codec for a while (with a horrible audio quality) and it seems to work (no disconnects for now).

So might it be an A2DP bug?

Other info:
Kernel: Linux host 5.10.67-1-lts #1 SMP Sat, 18 Sep 2021 18:21:20 +0000 x86_64 GNU/Linux
Bluetooth: hci0: Firmware revision 0.0 build 191 week 21 2021
Bus 003 Device 002: ID 8087:0029 Intel Corp. AX200 Bluetooth

Offline

#117 2021-10-03 03:21:41

morhook
Member
Registered: 2021-10-03
Posts: 3

Re: Random bluetooth speaker disconnects

On my machine latest linux-firmware I think fixed it. I'll report more on the week if I experience a disconnect.

Sharing my setup:

* laptop: Alienware M15 R4
* network card: Intel AX200
* linux-firmware version: 20210919
* audio: pipewire. version 0.3.38-2~ubuntu21.04
* command "sudo dmesg | grep 'Bluetooth: hci' | grep 'Firmware revision'", outputs: "Bluetooth: hci0: Firmware revision 0.3 build 164 week 35 2021"
* OS: Ubuntu 21.04
* Kernel: 5.11.0-37-generic

Last edited by morhook (2021-10-03 03:22:32)

Offline

#118 2021-10-20 06:54:55

morhook
Member
Registered: 2021-10-03
Posts: 3

Re: Random bluetooth speaker disconnects

So far so good! No reconnects for almost 3 weeks on a row on my Alienware M15 R4. Thanks linux-firmware guys for fixing this one! (using pipewire or pulseaudio didn't make a difference on this specific issue).

I'll try to also install this firmware updates on my Dell XPS 15 9550 (it has same wifi card Intel AX200 and experiences same reconnection issues).

Offline

#119 2021-10-20 07:20:30

morhook
Member
Registered: 2021-10-03
Posts: 3

Re: Random bluetooth speaker disconnects

Installed on Dell XPS 15 9550 firmware 20210919 from .tar.gz directly (with "sudo make install"). So far, so good!

Offline

#120 2021-10-29 21:49:10

HiddenHeathen
Member
Registered: 2021-10-29
Posts: 1

Re: Random bluetooth speaker disconnects

No luck for me, I guess. Had two random disconnects just now:

Oct 29 23:19:01 arch bluetoothd[555]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Oct 29 23:19:03 arch bluetoothd[555]: /org/bluez/hci0/dev_94_DB_56_C0_08_CF/sep1/fd1: fd(29) ready
Oct 29 23:20:29 arch bluetoothd[555]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Oct 29 23:20:30 arch bluetoothd[555]: /org/bluez/hci0/dev_94_DB_56_C0_08_CF/sep1/fd2: fd(28) ready

But I've noticed that there's a new version of linux-firmware (20211027) on kernel.org and there are quite a few changes related to bluetooth on Intel cards. Maybe this is going to fix the issue.

Last edited by HiddenHeathen (2021-10-29 21:49:25)

Offline

#121 2021-10-30 06:25:55

nanawel
Member
Registered: 2012-05-07
Posts: 88
Website

Re: Random bluetooth speaker disconnects

No more disconnects for me for a couple of weeks now. I guess a system update finally fixed it. I'm on a Dell Precision Mobile Workstation 3551.

Offline

#122 2021-12-13 19:26:13

qwerty64
Member
Registered: 2020-10-31
Posts: 3

Re: Random bluetooth speaker disconnects

I upgraded card to AX200 in my Dell laptop. I see same issues as you mentioned above.
My linux-firmware is latest from kernel git, firmware of AX200 is upgraded (checked in dmesg). It doesn't matter if I am on kernel 5.10.83-1 or 5.15.7.arch1-1.

I found following:
- If I am connected with Ethernet cable, there are no disconnects of bluetooth
- If I am connected with WiFi to 5.18 GHz network, there are no disconnects of bluetooth

If I connect to higher 5Ghz frequencies, then bluetooth start disconnecting every couple of minutes. 2.4Ghz is OK.

Last edited by qwerty64 (2021-12-13 19:28:47)

Offline

#123 2022-06-06 08:41:41

nanawel
Member
Registered: 2012-05-07
Posts: 88
Website

Re: Random bluetooth speaker disconnects

Aaaand... random disconnections are back after system upgrade sad

Possibly between kernel 5.17.7.arch1-1 -> 5.18.1.arch1-1

Offline

#124 2022-09-13 18:07:21

ventsyv
Member
Registered: 2022-09-13
Posts: 1

Re: Random bluetooth speaker disconnects

I'm on Ubuntu 22.04 and experiencing similar issues - random disconnect / reconnects and the sound cutting in and out.

uname -r
5.15.0-47-generic
[   28.937010] Bluetooth: Core ver 2.22
[   28.937137] Bluetooth: HCI device and connection manager initialized
[   28.937141] Bluetooth: HCI socket layer initialized
[   28.937143] Bluetooth: L2CAP socket layer initialized
[   28.937147] Bluetooth: SCO socket layer initialized
[   29.114249] Bluetooth: hci0: Bootloader revision 0.4 build 0 week 30 2018
[   29.115253] Bluetooth: hci0: Device revision is 2
[   29.115255] Bluetooth: hci0: Secure boot is enabled
[   29.115256] Bluetooth: hci0: OTP lock is enabled
[   29.115256] Bluetooth: hci0: API lock is enabled
[   29.115257] Bluetooth: hci0: Debug lock is disabled
[   29.115258] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   29.117680] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-4.sfi
[   30.630512] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   30.630515] Bluetooth: BNEP filters: protocol multicast
[   30.630519] Bluetooth: BNEP socket layer initialized
[   30.858356] Bluetooth: hci0: Waiting for firmware download to complete
[   30.859200] Bluetooth: hci0: Firmware loaded in 1700701 usecs
[   30.859223] Bluetooth: hci0: Waiting for device to boot
[   30.873207] Bluetooth: hci0: Device booted in 13666 usecs
[   30.873586] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-0-4.ddc
[   30.876206] Bluetooth: hci0: Applying Intel DDC parameters completed
[   30.879255] Bluetooth: hci0: Firmware revision 0.4 build 126 week 5 2022
[   72.231170] Bluetooth: RFCOMM TTY layer initialized
[   72.231175] Bluetooth: RFCOMM socket layer initialized
[   72.231178] Bluetooth: RFCOMM ver 1.11
s -l /usr/lib/firmware/intel/ibt-20-*
-rw-r--r-- 1 root root      9 Aug 31 07:11 /usr/lib/firmware/intel/ibt-20-0-3.ddc
-rw-r--r-- 1 root root 798484 Aug 31 07:11 /usr/lib/firmware/intel/ibt-20-0-3.sfi
-rw-r--r-- 1 root root      9 Aug 31 07:11 /usr/lib/firmware/intel/ibt-20-1-3.ddc
-rw-r--r-- 1 root root 799860 Aug 31 07:11 /usr/lib/firmware/intel/ibt-20-1-3.sfi
-rw-r--r-- 1 root root      9 Aug 31 07:11 /usr/lib/firmware/intel/ibt-20-1-4.ddc
-rw-r--r-- 1 root root 798484 Aug 31 07:11 /usr/lib/firmware/intel/ibt-20-1-4.sfi

Last edited by ventsyv (2022-09-13 18:08:37)

Offline

Board footer

Powered by FluxBB