[opensuse-support] Unable to use microphone of Bluetooth headset
Hi, I am trying to get my headphones to work for audio calls. I am at the second pair, I thought the first one was buggy, but apparently a different model fails as well. I am doing my testing in Gnome. When I connect my headphones they are set in A2DP Sink (high fidelity playback). The input is set to the laptop's internal mic. If I switch the input to the bluetooth headsets, then sound no longer works. When testing audio I get a dialog with a single channel, and no reaction to the test button. The same happens if I change the configuration to HSP/HFP. Some technical data: Headset model: Bose NC 700 Headset firmware version: 1.3.1.2028.de73ce1 Laptop: P52, Intel Wireless-AC 9560 card OS data: $ rpm -q bluez pulseaudio bluez-5.52-2.1.x86_64 pulseaudio-13.0-3.1.x86_64 $ uname -r 5.3.12-2-default I have found a lot of confusing and/or outdated information searching the internet. Is this a bug/known issue? Or is there anything I can do to troubleshoot/fix? Thanks, Robert -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Am 06.01.20 um 14:55 schrieb Robert Munteanu:
When I connect my headphones they are set in A2DP Sink (high fidelity playback). The input is set to the laptop's internal mic. If I switch the input to the bluetooth headsets, then sound no longer works. When testing audio I get a dialog with a single channel, and no reaction to the test button. The same happens if I change the configuration to HSP/HFP.
Some technical data:
Headset model: Bose NC 700 Headset firmware version: 1.3.1.2028.de73ce1
Laptop: P52, Intel Wireless-AC 9560 card
OS data: $ rpm -q bluez pulseaudio bluez-5.52-2.1.x86_64 pulseaudio-13.0-3.1.x86_64 $ uname -r 5.3.12-2-default
I have found a lot of confusing and/or outdated information searching the internet. Is this a bug/known issue? Or is there anything I can do to troubleshoot/fix?
Is it possible that your headset only supports HFP (as opposed to HSP) for making phone calls? Check with 'bluetoothctl' and then 'info <addr>'. If you see this UUID Headset (00001108-0000-1000-8000-00805f9b34fb), then it should support HSP. pulseaudio has native support for HSP and A2DP only. In order to get HFP to work you need Ofono (also see https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Blue...) and probably Phonesim. The former comes with openSUSE. I built the latter https://software.opensuse.org/package/phonesim?search_term=phonesim Switching between profiles does not happen automatically, IIUC. So for my purposes I usually get away with PA_CARDNAME=bluez_card.0X_XX_XX_XX_XX_XX pactl set-card-profile ${PA_CARDNAME} a2dp_sink pactl set-card-profile ${PA_CARDNAME} headset_head_unit Alternatively you can use pavucontrol. For me this working most of the time on openSUSE Leap 15.1. But sometimes there are random (connection?) issues and I have to restart/reconnect some/alle of the components involved (reconnet headset, restart/reload bluetooth stack, ofono, ...) HTH -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de PRESENSE Technologies GmbH Nagelsweg 41, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Hi Till, On Tue, 2020-01-07 at 09:07 +0100, Till Dörges wrote:
Am 06.01.20 um 14:55 schrieb Robert Munteanu:
When I connect my headphones they are set in A2DP Sink (high fidelity playback). The input is set to the laptop's internal mic. If I switch the input to the bluetooth headsets, then sound no longer works. When testing audio I get a dialog with a single channel, and no reaction to the test button. The same happens if I change the configuration to HSP/HFP.
Some technical data:
Headset model: Bose NC 700 Headset firmware version: 1.3.1.2028.de73ce1
Laptop: P52, Intel Wireless-AC 9560 card
OS data: $ rpm -q bluez pulseaudio bluez-5.52-2.1.x86_64 pulseaudio-13.0-3.1.x86_64 $ uname -r 5.3.12-2-default
I have found a lot of confusing and/or outdated information searching the internet. Is this a bug/known issue? Or is there anything I can do to troubleshoot/fix?
Is it possible that your headset only supports HFP (as opposed to HSP) for making phone calls?
Check with 'bluetoothctl' and then 'info <addr>'. If you see this UUID Headset (00001108-0000-1000-8000-00805f9b34fb), then it should support HSP.
pulseaudio has native support for HSP and A2DP only.
My headset supports the HSP profile UUID: Vendor specific (00000000-deca-fade-deca-deafdecacaff) UUID: Serial Port (00001101-0000-1000-8000-00805f9b34fb) UUID: Headset (00001108-0000-1000-8000-00805f9b34fb) UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb) UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb) UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb) UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb) UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb) UUID: Vendor specific (81c2e72a-0591-443e-a1ff-05f988593351) UUID: Vendor specific (931c7e8a-540f-4686-b798-e8df0a2ad9f7) UUID: Vendor specific (f8d1fbe4-7966-4334-8024-ff96c9330e15) Do you think ofono would help? Setting this up seems a bit complicated (see below).
In order to get HFP to work you need Ofono (also see https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Blue...) and probably Phonesim.
The former comes with openSUSE. I built the latter https://software.opensuse.org/package/phonesim?search_term=phonesim
Thanks for those pointers! I see phonesim does not build for TW due to the qt4 dependencies. I'll probably try and build locally. I _think_ that the problem is that on Linux the HSP protocol does not support wide-band support, see https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1838151 There seems to be some activity for support in bluez, as per https://linuxlists.cc/l/15/linux-bluetooth/t/3394957/(patch_v6_2_2)_bluetoot... But that again seems to be tied to ofono, as per https://www.mail-archive.com/pulseaudio-discuss@lists.freedesktop.org/msg206... Right now I probably need to sit and wait, which is a shame... Thanks, Robert
Switching between profiles does not happen automatically, IIUC. So for my purposes I usually get away with
PA_CARDNAME=bluez_card.0X_XX_XX_XX_XX_XX pactl set-card-profile ${PA_CARDNAME} a2dp_sink pactl set-card-profile ${PA_CARDNAME} headset_head_unit
Alternatively you can use pavucontrol.
For me this working most of the time on openSUSE Leap 15.1. But sometimes there are random (connection?) issues and I have to restart/reconnect some/alle of the components involved (reconnet headset, restart/reload bluetooth stack, ofono, ...)
HTH -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de PRESENSE Technologies GmbH Nagelsweg 41, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Am 08.01.20 um 16:30 schrieb Robert Munteanu:
My headset supports the HSP profile [...] Do you think ofono would help? Setting this up seems a bit complicated (see below).
I don't know then. The reason I bothered to install ofono etc. was that my BT headset *only* supported HFP for using the microphone.
I _think_ that the problem is that on Linux the HSP protocol does not support wide-band support, see
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1838151
If I listen to music/audio via HFP it doesn't sound good at all. It's good enough for voice, though. Quality with A2DP it's fine. For me switching profiles between HFP (=telephony) and A2DP (=music/audio) is good enough. I'm using ofono-1.23. Not sure whether later versions have better audio quality with HFP. Regards -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de PRESENSE Technologies GmbH Nagelsweg 41, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Wed, 2020-01-08 at 22:36 +0100, Till Dörges wrote:
Am 08.01.20 um 16:30 schrieb Robert Munteanu:
My headset supports the HSP profile [...] Do you think ofono would help? Setting this up seems a bit complicated (see below).
I don't know then. The reason I bothered to install ofono etc. was that my BT headset *only* supported HFP for using the microphone.
(snip) Fair enough. I guess I'll wait until mSBC support lands in ofono and then make the work of setting up my headset with HFP. There is even discussion of making ofono easier to setup without an actual model ( see [1] ) so waiting has the potential of making things easier :-) Thank you for your help, Robert [1]: https://lists.ofono.org/hyperkitty/list/ofono@ofono.org/thread/WFFBJ2E4RLMJK... -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (2)
-
Robert Munteanu
-
Till Dörges