Page 1 of 1

Bluetooth & Anker A7908 Speaker

Posted: Sat Nov 12, 2016 6:34 pm
by Wolf_22
I recently purchased a Raspberry Pi 3 alongside an Anker A7908 Bluetooth speaker. When I initially loaded up Raspbian from the fresh SD card I have, the Bluetooth pairing was pretty straightforward. However, I would occasionally see disconnections from the speaker without any rhyme or reason. I assumed it was due to some sort of "sleep mode" from either the Pi or the speaker itself. Thinking I could fix this, I decided to explore other Bluetooth apps by installing a few, etc. and trying things out. As you can imagine, this didn't go over well...

So I tried to uninstall everything I installed and start over. I now have the following software installed as per the Pi "Add / Remove" screen:

1.) bluetooth-5.23-2+rpi2
2.) bluez-5.23-2+rpi2
3.) bluez-firmware-1.2-3+rpi1
4.) libbluetooth3-5.23-2+rpi2
5.) pi-bluetooth-0.1.1
6.) rfkill-0.5-1

(Using 4.4.26-v7.)

When I try to use the common Bluetooth panel icon to connect to the speaker, it indicates that I should use the speaker icon to connect to the speaker. But when I try to do that, I get presented with the following error:
Failed to connect to device -
GDBus.Error.org.bluez.Error.Failed: No such file or directory. Try to connect again.
Clearly I've screwed something up here and I'm betting it has something to do with versions but I wouldn't know.

What I'd like is to have a simple connection to the Bluetooth speaker where I can leave my Pi alone and the speaker continue to play (stream) music without any interruption.

Any help here would be appreciated. Let me know if I can supply more details to help shine some light on this.

Thanks in advance.

Re: Bluetooth & Anker A7908 Speaker

Posted: Sat Nov 12, 2016 7:36 pm
by recklessfb
I have an Aukey speaker and have the same issue.
Unfortunately I do not have good news, I still haven't been able to solve it neither has this guy. See link below:
viewtopic.php?f=28&t=163870

The only way around it is to reboot and reconnect. Then the issue happens again.

Re: Bluetooth & Anker A7908 Speaker

Posted: Sun Nov 13, 2016 3:53 pm
by Wolf_22
recklessfb wrote:I have an Aukey speaker and have the same issue.
Unfortunately I do not have good news, I still haven't been able to solve it neither has this guy. See link below:
viewtopic.php?f=28&t=163870

The only way around it is to reboot and reconnect. Then the issue happens again.
Whenever I listen to music, I use VLC. With that, I've found that I can usually get the sound back with a restart of just the application but right now, I'm just trying to get my Bluetooth to be back to normal because in my efforts of trying to diagnose the original issue, I've gone through a bunch of installs and uninstalls of various Bluetooth apps and doing this has led me to have to reinstall Bluetooth in general.

This is a mess.

Re: Bluetooth & Anker A7908 Speaker

Posted: Mon Nov 21, 2016 4:38 am
by Wolf_22
Okay, I think I solved my issue (and hopefully, others):

After uninstalling everything associated with both Bluetooth and Bluez (in an effort to start over with a clean slate), I rebooted then went into the "Add / Remove" to install the following:

1.) Raspberry Pi 3 Bluetooth (pi-bluetooth-0.1.1)
- Bluetooth tools and daemons (bluez-5.23-2+rpi2)
- Firmware for Bluetooth devices (bluez-firmware-1.2-3+rpi1)
2.) Bluetooth support (bluetooth-5.23-2+rpi2)
3.) Bluetooth module for PulseAudio sound server (pulseaudio-module-bluetooth-5.0-13)

I was able to suss all this out via doing a "tail -f /var/log/syslog" where I came across the error being generated when trying to connect to the Bluetooth speaker (after already being paired, that is):
bluetoothhd[758]: a2dp-sink profile connect failed for <MAC ADDRESS>: Protocol not available
Long story short, after doing some research into the above error entry, I found that the solution was the Pulse Audio install. Once I had that installed (with the other noted installs above), everything FINALLY worked.

Re: Bluetooth & Anker A7908 Speaker

Posted: Fri Dec 16, 2016 10:47 am
by youness
If you are using BlueZ 5 you have to use also PulseAudio, there is no more built-in support of Bluetooth for ALSA.