I am running Ubuntu 18.04 and I am trying to use Huawei Freebuds 3 over Bluetooth.
I have no problem during pairing and with the output sound, but I cannot make the microphone works.
I have checked the pactl list
and this is the output:
Card #2
Name: bluez_card.FC_94_35_BA_C6_A4
Driver: module-bluez5-device.c
Owner Module: 29
Properties:
device.description = "FreeBuds 3"
device.string = "FC:94:35:BA:C6:A4"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headphone"
bluez.path = "/org/bluez/hci0/dev_FC_94_35_BA_C6_A4"
bluez.class = "0x240418"
bluez.alias = "FreeBuds 3"
device.icon_name = "audio-headphones-bluetooth"
Profiles:
a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 40, available: yes)
headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 30, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: a2dp_sink
Ports:
headphone-output: Headphone (priority: 0, latency offset: 0 usec)
Part of profile(s): a2dp_sink, headset_head_unit
headphone-input: Bluetooth Input (priority: 0, latency offset: 0 usec, not available)
Part of profile(s): headset_head_unit
I have tried to change the profile of the Freebuds (e.g. from Blueman GUI) to headset_head_unit
but I was unable to do so and from /var/log/syslog
the only related error that I can see is pulseaudio[3175]: [pulseaudio] module-bluez5-device.c: Refused to switch profile to headset_head_unit: Not connected
even if the device is connected.
Anyone can help me?
Apparently the problem here is that the Huawei FreeBuds 3 do not support Headset profile (HSP). They only support Handsfree profile (HFP) as can be seen in the bluetoothctl output. PulseAudio on the other hand does not support HFP out of the box, as is explained here: https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/
So the only options are to install and setup oFono or to patch and compile PulseAudio yourself. Patch is available here: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/94