我正在运行 Ubuntu 18.04,并尝试通过蓝牙使用华为 Freebuds 3。
配对和输出声音时我没有遇到任何问题,但我无法使麦克风工作。
我已经检查过pactl list
并且这是输出:
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
我曾尝试更改 Freebuds 的配置文件(例如从 Blueman GUI),headset_head_unit
但无法这样做,而且/var/log/syslog
我能看到的唯一相关错误是pulseaudio[3175]: [pulseaudio] module-bluez5-device.c: Refused to switch profile to headset_head_unit: Not connected
即使设备已连接。
有人能帮助我吗?
答案1
显然,这里的问题是华为 FreeBuds 3 不支持耳机配置文件 (HSP)。它们仅支持免提配置文件 (HFP),如在 bluetoothctl 输出中所示。另一方面,PulseAudio 不支持开箱即用的 HFP,如下所述:https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/
因此,唯一的选择是安装和设置 oFono 或自己修补和编译 PulseAudio。补丁可在此处获取:https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/94