华为 Freebuds 3 麦克风在 Ubuntu 18.04 上不起作用

Mar*_*ark 9 bluetooth huawei 18.04

我正在运行 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
Run Code Online (Sandbox Code Playgroud)

我曾尝试将 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即使设备已连接。

任何人都可以帮助我吗?

Kla*_*her 3

显然,这里的问题是华为 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

  • @sscarduzio 是的,不幸的是,这是你目前能得到的最好的。现代耳机支持宽带 HFP/HSP 音频编解码器,但在 Linux/Pulseaudio 中尚不可用。请参阅 https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/776 以供参考。 (2认同)