Bug#993011: pulseaudio-module-bluetooth: no longer detects bluetooth headphones

Igor Kovalenko igor.v.kovalenko at gmail.com
Fri Sep 10 07:12:48 BST 2021


On Thu, 26 Aug 2021 17:37:46 +0200 Vincent Lefevre <vincent at vinc17.net> wrote:
> On 2021-08-26 09:07:55 -0400, Felipe Sateler wrote:
> > Could you attach verbose logs of both a succesful and an unsuccesful run?
> >
> > https://fedoraproject.org/wiki/How_to_debug_PulseAudio_problems
>
> I've attached an archive with:
>   * pa14.out: "pulseaudio -vvvvv" output with PulseAudio 14 (working).
>   * pa15.out: "pulseaudio -vvvvv" output with PulseAudio 15 (failing).
>   * pacmd-14: "pacmd ls" output with PulseAudio 14.
>   * pacmd-15: "pacmd ls" output with PulseAudio 15.
>
> I did the following (with output filenames for PulseAudio 14):
>   1. systemctl --user stop pulseaudio.socket
>   2. systemctl --user stop pulseaudio.service
>   3. pulseaudio -vvvvv >& pa14.out
>   4. Switch on my bluetooth headphones.
>   5. pacmd ls > pacmd-14
>   6. Ctrl-C on "pulseaudio -vvvvv".
>
> Please tell me whether this is sufficient or you need more information.

Hi Vincent,

If your headphones support both HSP (Headset) and HFP (Handsfree)
profiles, pulseaudio will now prefer HFP by default.
This usually works fine unless bluez does not want to connect
headphones with HFP profile for some reason.
Please attach 'bluetoothctl info' for your headset, and try unpairing
and pairing them again while pulseaudio 15.0 is running.

If pairing again does not help, there are two known workarounds:
1. Try disconnecting the headphones, then connecting them again from
the host side (e.g. using bluetoothctl or desktop applet)
   Seldom the connection attempt from headphones side could fail, this
looks like a problem with how bluez handles that.
2. Try disabling pulseaudio 15.0 HFP preference: change default.pa
module-bluetooth-discover line like this:
   load-module module-bluetooth-discover enable_native_hfp_hf=false

If that still does not work please file an issue on pulseaudio tracker
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/



More information about the pkg-pulseaudio-devel mailing list