LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Bluetooth (A2DP) headphones in KDE (http://www.linuxquestions.org/questions/slackware-14/bluetooth-a2dp-headphones-in-kde-4175445907/)

dlachausse 01-16-2013 12:32 PM

Bluetooth (A2DP) headphones in KDE
 
Is there an easy way to get Bluetooth A2DP headphones working in Slackware 14.0 under KDE?

My bluetooth adapter is Linux compatible and I've gotten it to work under Fedora, but I'd rather use Slackware.

guanx 01-17-2013 05:03 PM

Don't know any KDE specific way but taking a look at "/etc/alsa/bluetooth.conf" probably will solve your problem.

slacktroll 01-19-2013 06:03 AM

Quote:

Originally Posted by dlachausse (Post 4871564)
Is there an easy way to get Bluetooth A2DP headphones working in Slackware 14.0 under KDE?

My bluetooth adapter is Linux compatible and I've gotten it to work under Fedora, but I'd rather use Slackware.

I asked the question myself. Setting up these device with blueman is not hard at all. And they will exist in alsamixer as well.

Programs can often chose output device, and if it can it will work straight away.

But make sure your device actual works in GNU/Linux at all.

dlachausse 02-05-2013 06:56 PM

I finally figured this out. Use either Blueman or Bluedevil (KDE's bluetooth applet) to pair your headset.

Then you create a /etc/asound.conf file with the following contents (replace the X's in the device line with your headset's MAC address):

Quote:

pcm.!default{
type bluetooth
device "XX:XX:XX:XX:XX:XX"
}

guanx 02-06-2013 06:51 AM

Ok. I did not comprehend the word "work" very well. So the question was "How to set bluetooth as ALSA default output device" and not "How to get bluetooth headset usable by ALSA".

Quote:

Originally Posted by slacktroll (Post 4873401)
... Setting up these device with blueman is not hard at all. ...

Neither is it hard on the command line.
Code:

sh /etc/rc.d/rc.messagebus start
sh /etc/rc.d/rc.buetooth start
hcitool scan
hcitool inq
hcitool cc BTMAC
hcitool auth BTMAC

Tested to work with SonyEricsson MW600. Your milage may very. I remember I got it from Gentoo wiki or Arch wiki (not sure) with a simple search on the Internet.


All times are GMT -5. The time now is 06:06 PM.