Public bug reported:

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-modules-bt from here:
https://github.com/EHfive/pulseaudio-modules-bt. But the problem
persists with both packages.

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-modules-bluetooth: 1:13.99.1-1ubuntu8-9git+20200812~dfeee4f
  but also reproducible with 1:13.99.1-1ubuntu8

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: pulseaudio 1:13.99.1-1ubuntu8
ProcVersionSignature: Ubuntu 5.4.0-43.47-generic 5.4.55
Uname: Linux 5.4.0-43-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu44
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  kyrboh    19544 F.... pulseaudio
 /dev/snd/pcmC0D0c:   kyrboh    19544 F...m pulseaudio
 /dev/snd/pcmC0D0p:   kyrboh    19544 F...m pulseaudio
CasperMD5CheckResult: skip
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.:bvr1.19.2:bd05/22/2020:svnDellInc.:pnXPS159560:pvr:rvnDellInc.:rn05FFDN:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 15 9560
dmi.product.sku: 07BE
dmi.sys.vendor: Dell Inc.

** Affects: pulseaudio (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug groovy wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891648

Title:
  Cannot switch to A2DP profile w/o restarting bluetooth.service

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1891648/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to