Page 1 of 1

[Solved] No sound from bluetooth speaker

Posted: 11 Jan 2015, 22:01
by anotherlurker
I got a bluetooth speaker, but there's no sound coming from it.

First I installed bluez and blueman packages. With these packages, I could find and connect with the buetooth speaker. I connected to the service "Audio Sink". That all seemed to work fine. I could hear from the speaker that something has connected and blueman also showed that it was connected.

However, when I play some music from youtube, the speaker remains quiet. How can the bluetooth speaker play music?

Is there a place where I can say what the default sound device is? Since I suspect I only need to redirect the sound to the correct device. I thought the bluetooth device would show up in the alsamixer, but there wasn't any change there. So it has to be somewhere else, but the question is where?

Re: No sound from bluetooth speaker

Posted: 11 Jan 2015, 23:45
by beny
hi, into the /etc/alsa directory you have a bluetooth.conf a part of this file you have to add at asound.state,i don't have bluetooth device, this is from the linuxquestion forum

Re: No sound from bluetooth speaker

Posted: 12 Jan 2015, 20:26
by anotherlurker
beny wrote:hi, into the /etc/alsa directory you have a bluetooth.conf a part of this file you have to add at asound.state,i don't have bluetooth device, this is from the linuxquestion forum
Thanks for responding!
I tried to copy that part from the bluetooth.conf to asound.state. Tried to add it as a new device with all kinds of variations. However it did not work.

After searching a little bit more, I found it was possible to redirect the sound to the bluetooth speaker. I found the answer in the Debian wiki. https://wiki.debian.org/Bluetooth/Alsa

What I was missing was the user configuration file ~/.asoundrc.

Code: Select all

cat ~/.asoundrc
pcm.bluetooth {
        type bluetooth
        device "XX:XX:XX:XX:XX:XX"
        profile "auto"
}
Only I made the sound go default to the bluetooth, so I changed the first line to

Code: Select all

pcm.!default {
Only setback right now, is that only 1 application can use the bluetooth speaker. Probably need to send it to some kind of mixer or something first, but that's not a problem right now.

Re: No sound from bluetooth speaker

Posted: 12 Jan 2015, 21:18
by beny
well, i suppose that bluetooth do the pairing with the device,the bluetooth daemon is started? in console sh /etc/rc.d/rc.bluetooth start you can see it in task manager if is started,i have see that most user have pulseaudio like audio server but try alsa first

Re: No sound from bluetooth speaker

Posted: 12 Jan 2015, 21:40
by anotherlurker
beny wrote:well, i suppose that bluetooth do the pairing with the device,the bluetooth daemon is started? in console sh /etc/rc.d/rc.bluetooth start you can see it in task manager if is started,i have see that most user have pulseaudio like audio server but try alsa first
Yes, the bluetooth daemon has started. However, I started it using bluetoothd. That way blueman also starts and from there I just used the GUI to pair and connect with the bluetooth speaker.

I also tried getting pulseaudio via usm, but there was only a slackbuild of it. The slackbuild stops building somewhere because the package json was not found. So I kind of stopped there as well.

Re: [Solved] No sound from bluetooth speaker

Posted: 12 Jan 2015, 21:47
by beny
via usm you can solve the json issue there are json packages ready to use

Re: [Solved] No sound from bluetooth speaker

Posted: 12 Jan 2015, 22:25
by anotherlurker
beny wrote:via usm you can solve the json issue there are json packages ready to use
I got one library with json in it. The build continued, but stopped somewhere. Apperently there's no space left on the device. That's also possible because it's building everything in /tmp and I'm running everything in RAM. So yeah, dead end.
Anyhow, thanks for the help, beny!