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: 5

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: 4

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: 6
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: 4

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: 6
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: 2

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: 3

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 Today 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

Board footer

Powered by FluxBB