I want to listen to streaming audio from Ubuntu using headset (Bose Bluetooth Headset Series 2). Although Bluetooth connection is established, I haven't been able to hear anything via the headset. How can I work this around in general (I know this might sound brutal but I don't have much knowledge in audio setting on linux) ?
When I use my other Bluetooth headset BlueAnt Q2 (http://www.myblueant.com/products/headsets/q2/index.php) streaming is going. In "Hardware" tab on sound setting panel (not sure how it's officially called but see the image below) shows my headset.
However, Bose one never appears on the same window while it's connected via Bluetooth, except for a few seconds after I manually disconnect the headset (this moment is snapshotted as the image below. When it's connected the Bose BT2 thing is never shown. Btw, with Android phone this headset works just fine).
Bose' manual indicates that
Make sure the device supports A2DP audio streaming.
So I tried to figure out if A2DP is enabled on my Ubuntu (referring to Can I use my computer as an A2DP receiver / bluetooth speaker?), finding that it's probably available as the result below shows:
$ sdptool search --bdaddr local a2snk
Searching for a2snk on FF:FF:FF:00:00:00 ...
Service Name: Audio Sink
Service RecHandle: 0x10005
Service Class ID List:
"Audio Sink" (0x110b)
Protocol Descriptor List:
"L2CAP" (0x0100)
PSM: 25
"AVDTP" (0x0019)
uint16: 0x102
Profile Descriptor List:
"Advanced Audio" (0x110d)
Version: 0x0102
I made it work the following way :
Before going further :
pulseaudio-module-bluetooth
,pavucontrol
(Utility to set up pulseaudio) and make surebluez
is installed/etc/bluetooth/audio.conf
(edit withsudo
)Steps :
pactl list cards short" to get your device id (1,2,3..)
then dopactl set-card-profile X a2dp
where X is your device idavahi-daemon
/ bluetooth service and reset device throughhciconfig hci0 reset
. Check if scan is ok withhcitool scan
. Then do steps 3 and 4You can try
blueman
application. This app can help you to play audio through A2DP streaming. You just have to mark your device profile as "Audio destination".To install, use this command:
Open it by typing "blueman" in the dash.
I'll try to update the answer with necessary screenshot later
see if you have this package installed: pulseaudio-module-bluetooth although the fact that your other BT headset works would suggest so. It is a Mono device though, so it might be subject to different requirements. Also try referring to my question here, I just posted a solution that works for me. @Anwar Shah: Removing Blueman was also a part of that solution, just mentioning it.
Use Blueman with Alsa (packages are much leaner than pulse audio).
Pair and connect as "Audio sink", you'll hear a 'pop-b-b-b' on the headphones.
find
/etc/alsa.conf
or/usr/share/alsa/alsa.conf
and append this to it;The device ID you get from blueman once connected.
e.g
mplayer -ao alsa:device=btheadset mysong.mp3