[Solved] No sound from bluetooth speaker

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
anotherlurker
White ninja
White ninja
Posts: 4
Joined: 11 Jan 2015, 21:36
Distribution: porteus, puppy, linux mint
Location: Netherlands

[Solved] No sound from bluetooth speaker

Post#1 by anotherlurker » 11 Jan 2015, 22:01

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?
Last edited by anotherlurker on 12 Jan 2015, 21:12, edited 1 time in total.

beny
Full of knowledge
Full of knowledge
Posts: 720
Joined: 02 Jan 2011, 11:33
Location: italy

Re: No sound from bluetooth speaker

Post#2 by beny » 11 Jan 2015, 23:45

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

anotherlurker
White ninja
White ninja
Posts: 4
Joined: 11 Jan 2015, 21:36
Distribution: porteus, puppy, linux mint
Location: Netherlands

Re: No sound from bluetooth speaker

Post#3 by anotherlurker » 12 Jan 2015, 20:26

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.

beny
Full of knowledge
Full of knowledge
Posts: 720
Joined: 02 Jan 2011, 11:33
Location: italy

Re: No sound from bluetooth speaker

Post#4 by beny » 12 Jan 2015, 21:18

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

anotherlurker
White ninja
White ninja
Posts: 4
Joined: 11 Jan 2015, 21:36
Distribution: porteus, puppy, linux mint
Location: Netherlands

Re: No sound from bluetooth speaker

Post#5 by anotherlurker » 12 Jan 2015, 21:40

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.

beny
Full of knowledge
Full of knowledge
Posts: 720
Joined: 02 Jan 2011, 11:33
Location: italy

Re: [Solved] No sound from bluetooth speaker

Post#6 by beny » 12 Jan 2015, 21:47

via usm you can solve the json issue there are json packages ready to use

anotherlurker
White ninja
White ninja
Posts: 4
Joined: 11 Jan 2015, 21:36
Distribution: porteus, puppy, linux mint
Location: Netherlands

Re: [Solved] No sound from bluetooth speaker

Post#7 by anotherlurker » 12 Jan 2015, 22:25

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!

Post Reply