Package: bluez Version: 5.54-1~bpo10+1 Severity: normal Dear Maintainer,
It is possible to connect Bluetooth earbud headphones however the high-fidelity A2DP audio playback sink is having problems. First problem: The headphones are paired but often they are not showing up in Pulseaudio. 'pacmd list cards' doesn't show them as an audio device. At other times they did show up but it was not possible to select the high-fidelity A2DP playback sink on them, only the low-fi sink that is used for communictions. At one point after completely purging: bluedevil blueman bluetooth bluez pulseaudio-module-bluetooth and reinstalling them the headphones connected and the A2DP sink worked. However after disconnecting them and reconnecting, it is not possible to get it to work again. Here's some info about the headphones: ---------------------------------------------------------------------- pacmd list-cards index: 1 name: <bluez_card.60_AB_D2_8C_57_6A> driver: <module-bluez5-device.c> owner module: 22 properties: device.description = "LE-Bose QC Earbuds" device.string = "60:AB:D2:8C:57:6A" device.api = "bluez" device.class = "sound" device.bus = "bluetooth" device.form_factor = "headphone" bluez.path = "/org/bluez/hci0/dev_60_AB_D2_8C_57_6A" bluez.class = "0x240418" bluez.alias = "LE-Bose QC Earbuds" device.icon_name = "audio-headphones-bluetooth" profiles: a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: no) a2dp_source: High Fidelity Capture (A2DP Source) (priority 20, available: no) headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: unknown) off: Off (priority 0, available: yes) active profile: <headset_head_unit> sinks: bluez_sink.60_AB_D2_8C_57_6A.headset_head_unit/#1: LE-Bose QC Earbuds sources: bluez_sink.60_AB_D2_8C_57_6A.headset_head_unit.monitor/#1: Monitor of LE-Bose QC Earbuds bluez_source.60_AB_D2_8C_57_6A.headset_head_unit/#2: LE-Bose QC Earbuds ports: headphone-output: Headphone (priority 0, latency offset 0 usec, available: unknown) properties: headphone-input: Bluetooth Input (priority 0, latency offset 0 usec, available: unknown) properties: ------------------------------------------------------------------------------------ from bluetoothctl: [LE-Bose QC Earbuds]# info 60:AB:D2:8C:57:6A Device 60:AB:D2:8C:57:6A (public) Name: LE-Bose QC Earbuds Alias: LE-Bose QC Earbuds Class: 0x00240418 Icon: audio-card Paired: yes Trusted: no Blocked: no Connected: yes LegacyPairing: no UUID: Vendor specific (00000000-deca-fade-deca-deafdecacaff) UUID: Serial Port (00001101-0000-1000-8000-00805f9b34fb) UUID: Headset (00001108-0000-1000-8000-00805f9b34fb) UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb) UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb) UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb) UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb) UUID: Vendor specific (0000eb03-d102-11e1-9b23-00025b00a5a5) UUID: Vendor specific (85dbf2f9-73e3-43f5-a129-971b91c72f1e) Modalias: bluetooth:v009Ep402Fd0127 ManufacturerData Key: 0x1c03 ManufacturerData Value: 72 10 3a 91 ea c2 37 17 ee cb c6 4e 56 55 r.:...7....NVU ---------------------------------------------------------------------------------- from syslog: May 17 14:52:55 orange bluetoothd[25172]: Connecting Headset Voice gateway failed: Input/output error May 17 14:52:56 orange obexd[4625]: CONNECT(0x0), <unknown>(0xff) May 17 14:52:56 orange obexd[4625]: CONNECT(0x0), <unknown>(0x0) May 17 14:52:56 orange obexd[4625]: SETPATH(0x5), <unknown>(0xff) May 17 14:52:56 orange obexd[4625]: stat(/home/felicia/phonebook/): No such file or directory (2) May 17 14:52:56 orange obexd[4625]: SETPATH(0x5), Not Found(0x44) May 17 14:52:56 orange kernel: [119555.834655] input: Bose QC Earbuds (AVRCP) as /devices/virtual/input/input77 May 17 14:52:59 orange bluetoothd[25172]: /org/bluez/hci0/dev_60_AB_D2_8C_57_6A/sep1/fd2: fd(43) ready May 17 14:52:59 orange kernel: [119558.683103] Bluetooth: hci0: SCO packet for unknown connection handle 71 May 17 14:52:59 orange kernel: [119558.683114] Bluetooth: hci0: SCO packet for unknown connection handle 71 May 17 14:52:59 orange kernel: [119558.683117] Bluetooth: hci0: SCO packet for unknown connection handle 71 May 17 14:53:09 orange pulseaudio[25334]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to a2dp_sink: Not connected ----------------------------------------------------------------------------------------- manually try to set the a2dp sink: $ pacmd set-card-profile bluez_card.60_AB_D2_8C_57_6A a2dp_sink Failed to set card profile to 'a2dp_sink'. ----------------------------------------------------------------------------- Not only this, but another Bluetooth audio device which previously worked fine with a2dp has occasionally been losing the Bluetooth connection. It seems like the Bluetooth stack in Buster is flaky. Here are some other bug reports that appear to be related and which indicate that these issues have been fixed in a more recent release of bluez: This appeared to be a similar bug but was related to permissions with GDM: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863603 Ubuntu: Bluetooth headphones default to low quality headset mode and fail to switch to A2DP when selected, https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1845046 This bug was listed at pulseaudio but was closed due to "This bug is closed because it was a BlueZ issue, fixed in release 5.51 by this commit [https://git.kernel.org/pub/scm/bluetooth/bluez.git/patch/?id=477ecca127c529611adbc53f08039cefaf86305d], https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/525 Finally, there's an section on an archlinux wiki page that deals with this issue: https://wiki.archlinux.org/title/Bluetooth_headset#A2DP_sink_profile_is_unavailable There is a link there to a utility fix-bt-a2dp [https://github.com/pastleo/fix-bt-a2dp] and on that Github page they state that the issue was fixed with a later release of bluez. -- System Information: Debian Release: 10.9 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-0.bpo.3-amd64 (SMP w/12 CPU cores) Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages bluez depends on: ii dbus 1.12.20-0+deb10u1 ii init-system-helpers 1.56+nmu1 ii kmod 26-1 ii libasound2 1.1.8-1 ii libc6 2.28-10 ii libdbus-1-3 1.12.20-0+deb10u1 ii libdw1 0.176-1.1 ii libglib2.0-0 2.58.3-2+deb10u2 ii libreadline7 7.0-5 ii libudev1 247.3-5~bpo10+1 ii lsb-base 10.2019051400 ii udev 247.3-5~bpo10+1 bluez recommends no packages. Versions of packages bluez suggests: ii pulseaudio-module-bluetooth 13.0-3~bpo10+1 -- no debconf information