Author Topic: Bluetooth headset and Pulseaudio  (Read 2737 times)

Offline Dogabone

  • New Friend
  • *
  • Posts: 7
  • Tux in the rain
Bluetooth headset and Pulseaudio
« on: July 13, 2011, 02:40:49 AM »
Hello everybody,
Though there are some similar topics around here, none has an answer.
So, I've got the Nokia BH-505 headset, which I want to pair with PCLOS vi Bluetooth. So far I installed Blueman ('cause Bluedevil is not really good) and did the pairing. I also made an "audio sink" connection.
But somehow I can't see my headset among audio devices in Phonon settings. I tried to play with global pulseaudio switch in Control Center > Hardware > Sound Config, but it never helped for Phonon.
For example, in OpenSUSE there was no such problem for me, 'cause Phonon device list is mqade out of current Pulseaudio devices.
So, I just want to output sound to my headset. Any ideas?

P.S.
I also tried to fill in ~/.asoundrc file properly, but still, no effect.
The lyf so short, the craft so long to lerne...

Offline TerryH

  • Hero Member
  • *****
  • Posts: 557
Re: Bluetooth headset and Pulseaudio
« Reply #1 on: July 13, 2011, 06:52:21 AM »
If you have pavucontrol (Pulse Audio volume Control) installed you should be able to see the bluetooth headset under Output Devices.  When installed it is accessible from the Sound Application Menu.

I am using Bluedevil though, which works fine for me.
« Last Edit: July 13, 2011, 06:54:54 AM by TerryH »
https://linuxcounter.net/cert/542348.png

Aussie, Aussie, Aussie........Eh!,  Eh!,  Eh!

Offline Dogabone

  • New Friend
  • *
  • Posts: 7
  • Tux in the rain
Re: Bluetooth headset and Pulseaudio
« Reply #2 on: July 13, 2011, 10:27:09 PM »
So far, I installed pulseaudio-bluetooth package and I can now have an output to my headset.
But still, the problem is that there's only mono headset output, no stereo A2DP. To compare, in OpenSUSE when I connect to headset, 2 devices appear in Phonon device list: one for mono output (headset mode) and the other for stereo (A2DP, audio sink).
In PCLOS I can establish an audio sink connection, but the sound outputs only for mono.
I suspect something missing again...
The lyf so short, the craft so long to lerne...

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12657
Re: Bluetooth headset and Pulseaudio
« Reply #3 on: July 14, 2011, 02:01:18 AM »
What phonon backend is used in Opensuse? xine, gsteamer or vlc? Maybe that might have some kind of difference in the output?

Thanks to everyone who donates. You keep the servers running.
Follow me on Twitter for the latest development info.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11054
  • MLUs Forever!
Re: Bluetooth headset and Pulseaudio
« Reply #4 on: July 14, 2011, 02:20:54 AM »
So far, I installed pulseaudio-bluetooth package and I can now have an output to my headset.
But still, the problem is that there's only mono headset output, no stereo A2DP. To compare, in OpenSUSE when I connect to headset, 2 devices appear in Phonon device list: one for mono output (headset mode) and the other for stereo (A2DP, audio sink).
In PCLOS I can establish an audio sink connection, but the sound outputs only for mono.
I suspect something missing again...

The BT connection was mono only for a very long time ....  and I have never had the opportunity to test a stereo setup ........  but IIRC there are some packages which allow for stereo connection through BT so maybe it is those that are missing?

What options are available for the device in PA Vol Control?  Mono only?
MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Dogabone

  • New Friend
  • *
  • Posts: 7
  • Tux in the rain
Re: Bluetooth headset and Pulseaudio
« Reply #5 on: July 14, 2011, 04:42:47 AM »
There's Gstreamer backend for both OpenSUSE and PCLOS.
In PCLOS I see my BT device in both Bluedevil and Blueman and there are two separate options for "headset" and "audio sink". Whatever I choose, connection succesfully establishes only for mono mode (the headset mike is also activated) and KDE notification pops up saying that I have a new audio device. The pavucontrol also starts displaying BT headset device for mono mode.
When I try to configure services for my headset in Blueman there's an option to choose A2DP profile (also known as HFP - high fidelity profile) but after that I see "Connection terminated" message.
I want Pulseadio to behave exactly as it does in my opensuse installation: connection to audio sink creates TWO pulseaudio devices: one for mono, another for stereo. Thus I can set the right priority in Phonon settings then.
So, smth is wrong in Pulseaudio configuration in PCLOS...
At least for me.
The lyf so short, the craft so long to lerne...

Offline TerryH

  • Hero Member
  • *****
  • Posts: 557
Re: Bluetooth headset and Pulseaudio
« Reply #6 on: July 14, 2011, 07:01:30 AM »

What options are available for the device in PA Vol Control?  Mono only?

For my headset the default was Mono.  I changed it to Stereo by selecting the A2DP Profile from the Configuration Tab, where there are 2 options:
Telephony Duplex (HSP/HFP)             
High Fidelity Playback (A2DP)           
https://linuxcounter.net/cert/542348.png

Aussie, Aussie, Aussie........Eh!,  Eh!,  Eh!

Offline Dogabone

  • New Friend
  • *
  • Posts: 7
  • Tux in the rain
Re: Bluetooth headset and Pulseaudio
« Reply #7 on: July 14, 2011, 07:08:16 AM »
TerryH, did you change any pulseaudio configs before that? Or just plugged and configure via GUI?
The lyf so short, the craft so long to lerne...

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11054
  • MLUs Forever!
Re: Bluetooth headset and Pulseaudio
« Reply #8 on: July 14, 2011, 07:17:48 AM »

What options are available for the device in PA Vol Control?  Mono only?

For my headset the default was Mono.  I changed it to Stereo by selecting the A2DP Profile from the Configuration Tab, where there are 2 options:
Telephony Duplex (HSP/HFP)             
High Fidelity Playback (A2DP)           

That is what I expected if the device can connect in stereo mode.

Thanks you for the info  ;)
MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Dogabone

  • New Friend
  • *
  • Posts: 7
  • Tux in the rain
Re: Bluetooth headset and Pulseaudio
« Reply #9 on: July 14, 2011, 01:51:56 PM »
I finally got it working after playing with pactl.
The lyf so short, the craft so long to lerne...

Offline horusfalcon

  • Hero Member
  • *****
  • Posts: 998
  • Wayfarer of The Western Wastes
Re: Bluetooth headset and Pulseaudio
« Reply #10 on: July 22, 2011, 03:28:20 PM »
I finally got it working after playing with pactl.

If I might suggest it, write a quick summary of the steps to your solution to this issue, and mark the original post's subject with [SOLVED]?

Good to hear this issue is resolved for you.

Later On,
D
"The Way is not a matter of knowing or not knowing.  One word to a wise man; one lash to a bright horse."

Dell Latitude D620, PCLinuxOS 2012.08 KDE4/LXDE, 3.2.18.pclos.bfs, specs here.