@j1nx Peter another thing I just remembered as well as the SCO fix you also need to do the MTU fix.
The broadcom use a MTU of 64 whilst in pulse is set to 48.
Improved bluetooth MTU configuration
The packet size (a.k.a. MTU, “maximum transmission unit”) that PulseAudio uses with the bluetooth HSP profile was previously always configured to be 48 bytes. That worked with most hardware, but some adapters require a different packet size. Now PulseAudio asks the kernel what packet size should be used, which fixes the problem.
However, a new problem appeared: some adapters that used to work with 48 byte packet size don’t any more work with the size that the kernel tells PulseAudio to use. If you find that HSP audio stopped working when upgrading to PulseAudio 11.0, you can revert to the old behaviour by passing option “autodetect_mtu=no” to module-bluetooth-discover in /etc/pulse/default.pa
So I presume
autodetect_mtu=yes as hopefully the kernel will report 64 on the Pi as presume its a config option.
But profile switching will work just playback will freeze and pop due to the MTU missmatch.
So it would be module-bluetooth-discover autodetect_mtu=yes headset=ofono.
So if you navigate to https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/#index1h3
Install ofono and ofono-phonesim and remember its ofono-phonesim on the cli and not phonesim.
sudo useradd -g bluetooth pulse
The D-Bus access policy also doesn’t allow pulseaudio to communicate with ofonod by default when running pulseaudio in the system mode. To grant the permission, add this to /etc/dbus-1/system.d/ofono.conf:
To set up phonesim, first create or edit the file phonesim.conf in /etc/ofono. It should contain the following lines:
If have forgot the dir for the raspbian ofono-phonesim install but you will find it and edit with.
For now just run from the cli but ofono-phone should be a service.
ofono-phonesim -p 12345 /usr/share/phonesim/default.xml&
With also being part of that service
dbus-send --print-reply --system --dest=org.ofono /phonesim org.ofono.Modem.SetProperty string:"Powered" variant:boolean:"true"
Once the modem is set up properly, you can connect your headset and the “Headset Head Unit (HSP/HFP)” profile should be available in pulseaudio.
But I find not.
As to ALSA vs pulseaudio isn’t really an argument as they are both unescapable and any interoperable by many tools and pulseaudio is just a server and abstration layer of ALSA and for a headless system could be considered bloat.
I don’t mind either and if bluealsa did work then I would use it because of an aversion to the massive bloatware ofono.