Originally Posted by
UnknownDiety
After doing all those changes in that rundown post I still don't get any sound in my bluetooth headset.
Ahh... please read carefully! You probably don't need to make all of those changes. Particularly, I have redacted one after replying to your thread.
I don't know what you mean by bluetooth profiles. Like it may show up as multiple devices in blueman's device list? If that's what you mean it doesn't. It only shows up as a single device.
It should appear as a single device, but may have several profiles ("Input Service", "Headset Service", "Audio Sink", etc...) which determine how the computer will interact with the device (as a remote control, a telephone headset, a set of headphones, etc). These are the right-click selections you found in blueman.
Whenever I click the Blueman Icon > Devices > Right Click Headset and hit Connect to Input Service it tells me" Connection Failed: Operation is not supported "
"Input Service" is the bluetooth profile for remote control functions (buttons, not sound) and probably isn't what you want. I don't know if it even works.
The Right Click and Connect to Headset service connected and I can see the headset in the Output/Input tabs of the sound settings, but again there's no output through the headsets speaker or input from the microphone.
"Headset Service" is the profile for telephony function (low-fidelity audio, microphone input). I don't have any software to test this service with, but it probably won't be used for audio output automatically because it's not intended for general-purpose audio. If you want to use telephony software, you may need to configure the settings in that software to use the headset's speaker and microphone, rather than the default output and input. It's also possible to configure pulseaudio to use the microphone and speaker on the headset as the default input and output, but that's probably not what you want in the long run.
"Audio Sink" provides a general-purpose audio device (high-fidelity, stereo if available, no microphone input). Once activated, pulseaudio will switch to this device automatically when configured to do so (cut off the main speakers and activate the headset speaker(s)). If you want to use your headphones to listen to music, videos, or whatever, you need this profile.
Unfortunately, something is wrong with the bluetooth driver in Ubuntu (bluez). The driver should automatically provide both "Headset Service" and "Audio Sink" as audio devices for the sound subsystem (pulseaudio) to configure, but it does not. You will have to select one of the two, manually, in blueman.
My description of this in the other thread is perhaps overly technical. There's another, distinct, problem with pulseaudio: the default configuration does not include the settings to switch from the main speakers to your headset when you connect it. For this, you need to edit the settings file /etc/pulse/system.pa and add, at the end of the file:
Code:
### Automatically redirect to newly available sinks
load-module module-switch-on-connect
Keep in mind, even with pulseaudio configured and working correctly, Ubuntu will not automagically redirect audio to your headset because bluez is broken. When you connect the headset, you must click one of the audio profiles in blueman, and then pulseaudio will automatically switch over the sound.
The only audio profiles for my headset (or ones that show up) are off & Telephony Duplex (HSP/HFP)
I've got it set to Telephony Duplex.
Probably because bluez doesn't provide the other devices for pulseaudio to profile, but make sure to check your headset's manual/box for what it should be supporting.
I've tried without the Headset Emulation enabled in the Local Services of blueman and I've tried with it enabled. (Rebooting after changing the setting)
I don't think that is what you need...
___________________________________
So it goes like this:
0a. Pair your headset
0b. Configure pulseaudio to use module-switch-on-connect
1. Activate the headset.
2. Once connected, right-click to choose a profile in blueman.*
3a. For "Headset Service" you need to setup your telephony programs to use the headset's speaker and mic.
3b. For "Audio Sink" you need to do nothing, audio will be redirected to your headphones.
4. Deactivate the headset.
5. Audio should revert to the main speakers and microphone.
* This (2.) would not be necessary if bluez was working properly.
Bookmarks