Bug 28812 - Intel AX20x bluetooth disconnecting intermittently
Summary: Intel AX20x bluetooth disconnecting intermittently
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard: MGA7TOO MGA8TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-20 11:46 CEST by Thomas Bigot
Modified: 2021-05-02 18:47 CEST (History)
1 user (show)

See Also:
Source RPM: kernel
CVE:
Status comment:


Attachments

Description Thomas Bigot 2021-04-20 11:46:07 CEST
Description of problem:

“bluetooth headset would disconnect after a while (a few minutes up to a few hours) and then reconnect 10 seconds later”. I quoted the original bug report below since I confirm the symptoms.

Discussed here:

https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1155
https://bbs.archlinux.org/viewtopic.php?id=263040

And this patch seems to fix the bug:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=73144e02dcff54529ab42d951de682740d204180

I did not understand if it is related to kernel or kernel-firmware or other bluetooth tools. My kernel-firmware is 
kernel-firmware-20201218-1.mga8

so, not consistant with the bug referenced above in which the reporter alludes to linux-firmware 20210208.


Version-Release number of selected component (if applicable):


How reproducible:
“The issue is hard to test because the disconnections seem to be rather random. I got a hunch that it happens more often when audio is being played as opposed to just having the headset connected 'in silence'.”


Steps to Reproduce:
“This issue is hard to reproduce because the disconnections happen rather randomly.
Install pulseaudio 14.1 or later and connect a bluetooth headset. After listening to audio for some time, the bluetooth headset will disconnect.”
Comment 1 Aurelien Oudelet 2021-04-20 12:28:06 CEST
Hi, thanks for this report and searching upstream issue.

Since I have same hardware and a bluetooth headset, I will test this in next few days.

Cc'd kernel and drivers maintainers.

Source RPM: (none) => kernel
Whiteboard: (none) => MGA7TOO MGA8TOO
CC: (none) => kernel, ouaurelien

Comment 2 Thomas Backlund 2021-04-20 15:00:17 CEST
Looks like it's time to push new firmware updates again
Comment 3 Lewis Smith 2021-04-20 21:18:30 CEST
Thanks for the report, and the useful references.
Aurélien can still add his findings; the evidence suggests assigning this to kernel/drivers team, also tmb's comment (thanks for that).

Assignee: bugsquad => kernel
CC: kernel => (none)

Comment 4 Aurelien Oudelet 2021-04-24 18:39:44 CEST
$ uname -r
5.10.32-desktop-1.mga8

$ rpm -qa | grep pulseaudio
pulseaudio-module-x11-14.2-2.mga8
libpulseaudio0-14.2-2.mga8
lib64pulseaudio0-14.2-2.mga8
pulseaudio-module-gsettings-14.2-2.mga8
pulseaudio-14.2-2.mga8
libalsa-plugins-pulseaudio-1.2.2-2.mga8
pulseaudio-client-config-14.2-2.mga8
lib64kf5pulseaudioqt_2-1.2-3.mga8
lib64alsa-plugins-pulseaudio-1.2.2-2.mga8
pulseaudio-module-bluetooth-14.2-2.mga8
pulseaudio-utils-14.2-2.mga8
task-pulseaudio-2018.0-2.mga8

$ rpm -qa | grep firmware
radeon-firmware-20210322-1.mga8.nonfree
kernel-firmware-20201218-1.mga8
bluez-firmware-1.2-15.mga8.nonfree
iwlwifi-firmware-20210310-1.mga8.nonfree
ralink-firmware-20210310-1.mga8.nonfree
rtlwifi-firmware-20210310-1.mga8.nonfree
kernel-firmware-nonfree-20210310-1.mga8.nonfree

$ rpm -qa | grep blue
networkmanager-bluetooth-1.26.6-1.mga8
bluez-firmware-1.2-15.mga8.nonfree
bluez-qt-5.76.0-1.mga8
bluez-5.55-3.mga8
pulseaudio-module-bluetooth-14.2-2.mga8
bluedevil-5.20.4-1.mga8
lib64bluez3-5.55-3.mga8
lib64kf5bluezqt6-5.76.0-1.mga8

$ inxi -N
Network:   Device-1: Intel Ethernet I219-V driver: e1000e 
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi

$ lsusb | grep Bluetooth
Bus 001 Device 005: ID 8087:0029 Intel Corp. AX200 Bluetooth

For now, fully charged headset and connected (WH-CH510 Sony), listening for more than 30 minutes a webradio without disconnection.

Still listening...
Comment 5 Aurelien Oudelet 2021-04-24 18:42:41 CEST
Oops, this kernel is in 8/core/updates_testing...
Will see if there is connection drop... Not now...

@Reporter, when do these bluetooth deconnections occur? After 5 min? 30 min?

Will try to see Kernel 5.10.30 tommorrow...
Comment 6 Aurelien Oudelet 2021-04-25 16:39:22 CEST
$ uname -r
5.10.32 (from updates_testing)

I encountered a disconnect:

avril 25 16:30:59 mageia.local bluetoothd[1884]: src/profile.c:ext_io_disconnected() Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
avril 25 16:30:59 mageia.local acpid[1883]: input device has been disconnected, fd 27
avril 25 16:30:59 mageia.local plasmashell[2414]: org.kde.plasma.pulseaudio: No object for name "bluez_sink.74_45_CE_15_FC_FA.a2dp_sink"
avril 25 16:30:59 mageia.local dbus-daemon[1885]: [system] Rejected send message, 3 matched rules; type="method_return", sender=":1.63" (uid=1000 pid=2460 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=1884 comm="/usr/libexec/bluetooth/bluetoothd")
avril 25 16:31:19 mageia.local kernel: input: WH-CH510 (AVRCP) as /devices/virtual/input/input26
avril 25 16:31:19 mageia.local systemd-logind[1916]: Watching system buttons on /dev/input/event22 (WH-CH510 (AVRCP))
avril 25 16:31:19 mageia.local kded5[2360]: kf.guiaddons: Error: could not load plugin for platform "" error: "La bibliothèque partagée est introuvable." QObject(0x0)
avril 25 16:31:20 mageia.local bluetoothd[1884]: /org/bluez/hci0/dev_74_45_CE_15_FC_FA/fd1: fd(42) ready

Now, I listen again a webradio. I will also watch a movie via the Headset...
Comment 7 Thomas Backlund 2021-04-25 18:29:10 CEST
I've just submitted kernel-firmware-nonfree 20210423 to Cauldron and Mga8 nonfree updates_testing...

so please try to install iwlwifi-firmware-20210423-1 when its available on your mirror... and report back if it helps (or not)
Comment 8 Thomas Bigot 2021-04-26 12:39:37 CEST
Thanks @tmb. I’m using iwlwifi-firmware-20210423-1.mga9.nonfree, but I just had a disconnection. 

@aurelien, I’d say it can occurr after 1 hour or 2, but sometimes several times per hour.
Comment 9 Thomas Bigot 2021-04-26 13:00:12 CEST
avril 26 12:58:01 ll20-1010.hubbioit.pasteur.fr acpid[1164]: input device has been disconnected, fd 27
avril 26 12:58:01 ll20-1010.hubbioit.pasteur.fr dbus-daemon[1168]: [system] Rejected send message, 3 matched rules; type="method_return", sender=":1.117" (uid=1000 pid=7726 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=1166 comm="/usr/libexec/bluetooth/bluetoothd")
avril 26 12:58:01 ll20-1010.hubbioit.pasteur.fr bluetoothd[1166]: src/profile.c:ext_io_disconnected() Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
avril 26 12:58:01 ll20-1010.hubbioit.pasteur.fr plasmashell[7516]: org.kde.plasma.pulseaudio: No object for name "bluez_sink.38_18_4C_59_BE_E7.a2dp_sink"
avril 26 12:58:05 ll20-1010.hubbioit.pasteur.fr bluetoothd[1166]: src/profile.c:record_cb() Unable to get Headset Voice gateway SDP record: Host is down
avril 26 12:58:05 ll20-1010.hubbioit.pasteur.fr kernel: input: WH-1000XM3 (AVRCP) as /devices/virtual/input/input43
avril 26 12:58:05 ll20-1010.hubbioit.pasteur.fr systemd-logind[1198]: Watching system buttons on /dev/input/event28 (WH-1000XM3 (AVRCP))
avril 26 12:58:07 ll20-1010.hubbioit.pasteur.fr bluetoothd[1166]: /org/bluez/hci0/dev_38_18_4C_59_BE_E7/fd2: fd(39) ready
Comment 10 Thomas Backlund 2021-04-27 07:05:53 CEST
Interestingly, 
Intel just released new bluetooth firmware, so now the ones to test are:

iwlwifi-firmware-20210426-1
Comment 11 Thomas Bigot 2021-04-27 11:29:02 CEST
I use iwlwifi-firmware-20210426-1 since this morning, and no deconnection so far.
Comment 12 Thomas Bigot 2021-04-27 15:42:13 CEST
No disconnection today, very unusual since the beginning of the bug. I really think the bug is fixed. I’ll keep you up-to-date.
Comment 13 Thomas Backlund 2021-05-02 18:47:37 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2021-0102.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.