[0cf3:e301 Qualcomm Atheros]Cannot switch to A2DP profile w/o restarting bluetooth.service [pulseaudio: Refused to switch profile to a2dp_sink: Not connected]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When connecting to any Bluetooth device, PulseAudio fails to change its profile to A2DP (and leaves it in HSP/HFP).
The following is appended to /var/log/syslog when trying to change profile in pavucontrol:
Aug 14 14:59:02 k-laptop pulseaudio[18882]: Refused to switch profile to a2dp_sink: Not connected
I'm currently using patched pulseaudio-
The working workaround I found is:
sudo systemctl restart bluetooth.service
bluetoothctl
# list device MACs
devices
# use a MAC from the list above
connect <MAC>
After doing this, it is possible to switch to A2DP profile in pavucontrol. But such restart is required each time device is connected.
I'm using
Kubuntu 20.10 (development branch)
pulseaudio: 1:13.99.1-1ubuntu8
pulseaudio-
but also reproducible with 1:13.99.1-1ubuntu8
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: pulseaudio 1:13.99.1-1ubuntu8
ProcVersionSign
Uname: Linux 5.4.0-43-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu44
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0c: kyrboh 19544 F...m pulseaudio
/dev/snd/pcmC0D0p: kyrboh 19544 F...m pulseaudio
CasperMD5CheckR
CurrentDesktop: KDE
Date: Fri Aug 14 15:06:43 2020
InstallationDate: Installed on 2020-08-07 (6 days ago)
InstallationMedia: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: pulseaudio
UpgradeStatus: Upgraded to groovy on 2020-08-10 (3 days ago)
dmi.bios.date: 05/22/2020
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.19.2
dmi.board.name: 05FFDN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 15 9560
dmi.product.sku: 07BE
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu44
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0c: kyrboh 1062 F...m pulseaudio
/dev/snd/pcmC0D0p: kyrboh 1062 F...m pulseaudio
CasperMD5CheckR
CurrentDesktop: KDE
DistroRelease: Ubuntu 20.10
InstallationDate: Installed on 2020-08-07 (12 days ago)
InstallationMedia: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: Dell Inc. XPS 15 9560
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.189
Tags: wayland-session groovy
Uname: Linux 5.4.0-43-generic x86_64
UpgradeStatus: Upgraded to groovy on 2020-08-10 (9 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/22/2020
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.19.2
dmi.board.name: 05FFDN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 15 9560
dmi.product.sku: 07BE
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu44
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0c: kyrboh 984 F...m pulseaudio
/dev/snd/pcmC0D0p: kyrboh 984 F...m pulseaudio
CasperMD5CheckR
CurrentDesktop: KDE
CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
DistroRelease: Ubuntu 20.10
InstallationDate: Installed on 2020-08-07 (19 days ago)
InstallationMedia: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: Dell Inc. XPS 15 9560
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.190
Tags: wayland-session groovy
Uname: Linux 5.8.0-16-generic x86_64
UpgradeStatus: Upgraded to groovy on 2020-08-10 (16 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/22/2020
dmi.bios.release: 1.19
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.19.2
dmi.board.name: 05FFDN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 15 9560
dmi.product.sku: 07BE
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu44
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0c: kyrboh 980 F...m pulseaudio
/dev/snd/pcmC0D0p: kyrboh 980 F...m pulseaudio
CasperMD5CheckR
CurrentDesktop: KDE
CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
DistroRelease: Ubuntu 20.10
InstallationDate: Installed on 2020-08-07 (19 days ago)
InstallationMedia: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: Dell Inc. XPS 15 9560
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.190
Tags: wayland-session groovy
Uname: Linux 5.8.0-16-generic x86_64
UpgradeStatus: Upgraded to groovy on 2020-08-10 (16 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/22/2020
dmi.bios.release: 1.19
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.19.2
dmi.board.name: 05FFDN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 15 9560
dmi.product.sku: 07BE
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu45
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0c: kyrboh 1005 F...m pulseaudio
/dev/snd/pcmC0D0p: kyrboh 1005 F...m pulseaudio
CasperMD5CheckR
CurrentDesktop: KDE
CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
DistroRelease: Ubuntu 20.10
InstallationDate: Installed on 2020-08-07 (23 days ago)
InstallationMedia: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: Dell Inc. XPS 15 9560
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.190
Tags: wayland-session groovy
Uname: Linux 5.8.0-16-generic x86_64
UpgradeStatus: Upgraded to groovy on 2020-08-10 (20 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/22/2020
dmi.bios.release: 1.19
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.19.2
dmi.board.name: 05FFDN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 15 9560
dmi.product.sku: 07BE
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu45
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0c: kyrboh 994 F...m pulseaudio
/dev/snd/pcmC0D0p: kyrboh 994 F...m pulseaudio
CasperMD5CheckR
CurrentDesktop: KDE
CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
DistroRelease: Ubuntu 20.10
InstallationDate: Installed on 2020-08-07 (23 days ago)
InstallationMedia: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: Dell Inc. XPS 15 9560
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.190
Tags: wayland-session groovy
Uname: Linux 5.8.0-16-generic x86_64
UpgradeStatus: Upgraded to groovy on 2020-08-10 (20 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/22/2020
dmi.bios.release: 1.19
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.19.2
dmi.board.name: 05FFDN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 15 9560
dmi.product.sku: 07BE
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu45
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0c: kyrboh 994 F...m pulseaudio
/dev/snd/pcmC0D0p: kyrboh 994 F...m pulseaudio
CasperMD5CheckR
CurrentDesktop: KDE
CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
DistroRelease: Ubuntu 20.10
InstallationDate: Installed on 2020-08-07 (23 days ago)
InstallationMedia: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: Dell Inc. XPS 15 9560
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.190
Tags: wayland-session groovy
Uname: Linux 5.8.0-16-generic x86_64
UpgradeStatus: Upgraded to groovy on 2020-08-10 (20 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/22/2020
dmi.bios.release: 1.19
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.19.2
dmi.board.name: 05FFDN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 15 9560
dmi.product.sku: 07BE
dmi.sys.vendor: Dell Inc.
summary: |
Cannot switch to A2DP profile w/o restarting bluetooth.service + [pulseaudio: Refused to switch profile to a2dp_sink: Not connected] |
tags: | added: hwe-bluetooth |
summary: |
- Cannot switch to A2DP profile w/o restarting bluetooth.service - [pulseaudio: Refused to switch profile to a2dp_sink: Not connected] + [0cf3:e301 Qualcomm Atheros]Cannot switch to A2DP profile w/o restarting + bluetooth.service [pulseaudio: Refused to switch profile to a2dp_sink: + Not connected] |
description: | updated |
description: | updated |
Found this bug report on kernel's bugzilla: https:/ /bugzilla. kernel. org/show_ bug.cgi? id=204765
There are bluetooth-related entries from journalctl -x:
sie 18 21:14:25 k-laptop bluetoothd[11444]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98) HSPHSProfile/ 00001108- 0000-1000- 8000-00805f9b34 fb: rfcomm_bind: Address already in use (98) p.hostname1'
sie 18 21:14:25 k-laptop bluetoothd[11444]: RFCOMM server failed for :1.36/Profile/
sie 18 21:14:25 k-laptop dbus-daemon[655]: [system] Successfully activated service 'org.freedeskto
sie 18 21:14:25 k-laptop kernel: debugfs: File 'le_min_key_size' in directory 'hci0' already present!
sie 18 21:14:25 k-laptop kernel: debugfs: File 'le_max_key_size' in directory 'hci0' already present!
I do have similar symptoms, so it might be the bug. Since Groovy's kernel version is 5.4, has the fix been backported?