LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-02-2012, 02:31 PM   #1
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
bluetooth speakers in Slackware


I purchased Creative Inspire S2 BT speakers a few days ago. I plugged it in, and the horror started - setting it up in Slackware. I started blueman-applet and 'successfully' connected with 'Inspire S2' device. I selected 'Audio Sink' and heard a short beep in my speakers and that was all, no sound from speakers at all. I read somewhere that I need PulseAudio to be able to stream music via BT. I installed it with sbopkg and started Blueman again. I received error that my PulseAudio version is too old: 'PulseAudio too old, required 0.9.15 or higher", but in fact I had PulseAudio 1.1 installed, and it was a Blueman bug reported here https://bugs.launchpad.net/ubuntu/+s...an/+bug/918334 (btw, Blumen site http://blueman-project.org expired, maybe this project has been abandoned). I fixed this error manually by editing PulseAudio.py. I started blueman-applet again and PulseAudio plugin has been loaded successfully this time, but still no sound in speakers. I thought that maybe the speakers are muted and I need to change it in PulseAudio mixer. I had to install pavucontrol from what I read. I found an appropriate slackbuild with sbopkg, but there was 2 dependencies apart from pulseaudio. One of them was libcanberra, and it was where the building queue failed because the site that sbopkg tried to download a package from, http://0pointer.de/, was down yesterday. Luckily I found a ready package for Slackware. I installed it successfully, but I couldn't start pavucontrol. It was saying that there is no such file or directory. As it turned out there was a problem with my x64 installation, I had to install packages for x64 systems. It surprised me because I installed some 32-compatibility packages a long time ago and was able to start application such as VirtualBox that claims not to be able to run on stock 32x systems. Anyway, I have finally started pavucontrol and saw that Inspire S2 was not muted. I didn't know what to do next. I found some crappy .asoundrc script that was supposed to activate PulseAudio before Alsa but the result was I had no sund in some applications and no sund in speakers. I spent half of the day trying to make it work. Do you know what need to be done to use BT enabled speakers in Slackware?
 
Old 02-03-2012, 07:13 AM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
See the comments in "/etc/alsa/bluetooth.conf".
 
Old 02-03-2012, 02:03 PM   #3
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Original Poster
Rep: Reputation: 220Reputation: 220Reputation: 220
Thank you, you put me on the right track. I forgot to mention I'm working on my laptop, so I have built-in speakers, but they're of poor quality, and when I say 'speakers' I refer to the Creative Inspire S2 standalone speakers.
Now my .asoundrc looks like this:
Code:
pcm.bluetooth {
type bluetooth
device 00:02:3C:20:1D:5E
}

pcm.!default {
type plug
slave.pcm "bluetooth"
}
I can play music on my speakers with xmms, but my fave player, mp3blaster, says 'Failed to open sound device'. Also, if xmms is running I have no sound when playing flash content in firefox, and when I open flash before I start xmms I can hear sound coming from flash on my speakers, but xmms says:
Quote:
Couldn't open audio
Please check that:
Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard
It seems like they're blocking each other. And mplayer doesn't play sound on speakers at all. It's an undeniable step forward but I don't know how to solve all the problems, could you help me with this?
 
Old 02-03-2012, 04:19 PM   #4
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Maybe you need a sound server.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
plugging in headphones or speakers doesn't disable my laptop's built in speakers moljac024 Linux - Software 14 07-13-2017 08:01 AM
No sound from external speakers in Fedora 8 (laptop speakers ok) openSauce Linux - Hardware 7 03-15-2009 03:48 PM
slackware cdrom to speakers volume very low!!! alexphyd Slackware 2 10-25-2002 05:01 AM
slackware 8.1 cdrom volume in speakers low!!! alexphyd Linux - Distributions 6 10-24-2002 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration