zaterdag 8 november 2014

Activating A2DP bluetooth stereo headphones in Ubuntu Trusty (14.04.1 LTS)

For future explorers who might struggle with this, and possibly for myself :-)

1) Install recommended software:

sudo apt-get install pulseaudio pulseaudio-module-bluetooth bluez-audio pavucontrol bluez-firmware bluez-tools blueman

2) Add the below line to the [General] section of /etc/bluetooth/audio.conf:

Enable=Socket

3) Ensure module-bluetooth-discover is loaded (can't hurt):

pactl load-module module-bluetooth-discover

Note: you can also disable unloading the module-bluetooth-discover this patch.

4) Restart all affected services to take the new configuration into account:

sudo service bluetooth restart; sudo killall pulseaudio

5) Pair your A2DP bluetooth headset and add the trust attribute. You can do this in the graphical manager, blueman-manager. 6) Activate the bluetooth audio sink in a graphical manager (blueman-manager) or on the command line:

bt-audio -c 0C:E0:E4:49:8D:FD

7) Now, in your favorite volume manager, pavucontrol, you can redirect any audio stream to your bluetooth stereo headphones. Enjoy!

Sources:

  • https://wiki.debian.org/BluetoothUser/a2dp
  • http://ubuntuforums.org/showthread.php?t=2144841&page=2

2 opmerkingen:

  1. Not all devices have the same blue tooth. The one in question here is A2DP. This allows the blue tooth connection to send 2 channels to a device. Of course the device also needs to meet these specs. Standard ear pierces do not have A2DP because no one anticipated a person wanting to listen with one ear. To my knowledge these is no phone that can send music to a regular headset. The phone itself would have to process the A2DP into HSP ( headset profile ) and then send it.
    http://www.latestone.com/headsets

    BeantwoordenVerwijderen
  2. I just read your article and found it very informative for those who are looking to use their bluetooth headphones with Ubuntu. Well, it is not easy to connect your wireless headphones with Ubuntu but you have made this easy with this wonderful guide. It isn't easy to find the perfect one for your needs. Well, if you are looking to buy the best one then you should take a look at this list of bluetooth headsets.

    BeantwoordenVerwijderen