Page 1 of 1

Bluetooth not connecting with audio speakers

Posted: Sat Aug 18, 2018 6:24 am
by jeclark2006
I'm using an Oontz BT speaker, and see this message in the syslog file when trhing to 'connect' via bluetoothctl:

a2dp-sink profile connect failed for 84:16:F4:F8:C9:7C: Protocol not available

I've installed the Bluetooth package, the PulseAudio package, but have seen references that a2dp was part of ALSA, but no longer.

What package to install to support the A2DP protocol?

Thanks,
John Clark.

Re: Bluetooth not connecting with audio speakers

Posted: Sat Aug 18, 2018 2:43 pm
by Douglas6
PulseAudio is no longer used for Bluetooth streaming in Raspbian Stretch, and some posts on this forum suggest it will break things. BlueALSA is used to replace PulseAudio. I would uninstall PulseAudio, or better, start with a clean Raspbian Stretch image. Then follow the instructions on the raspberrypi website for connecting your speakers. Bluetoothctl cannot be used to make the connection.

Re: Bluetooth not connecting with audio speakers

Posted: Sat Aug 18, 2018 4:31 pm
by jeclark2006
Thanks for the hint. Where is the speaker setup URL on the raspberry pi site?

I did find one that seems to be oriented to the graphical interface, but my application is using a 'headless', aka using the command line, to set things up.

Thanks,
John.

Re: Bluetooth not connecting with audio speakers

Posted: Sat Aug 18, 2018 4:50 pm
by Douglas6
Ah. Then see if this post helps: https://www.raspberrypi.org/forums/view ... 0#p1344830

You'll still need to pair the devices with bluetoothctl.

Re: Bluetooth not connecting with audio speakers

Posted: Sun Aug 19, 2018 4:36 pm
by jeclark2006
I finally 'bit the bullet', downloaded the most recent full Raspian, set that up, and now have output from the bluetooth speaker.

While not exactly on this problem topic, my next step is to find a package that supports sound generation on the pi, and have that sent to the speaker.

I recall something I was setting up on the Zero W last year, but lost track of my memory card with the Zero's working image.

Any pointer to a URL on that topic, for the pi, would be appreciated.

John.

Re: Bluetooth not connecting with audio speakers

Posted: Sun Aug 19, 2018 6:11 pm
by Douglas6
I'm afraid I can't help with that.