web-dev-qa-db-ja.com

Huawei Freebuds 3マイクがUbuntu 18.04で機能しない

Ubuntu 18.04を実行していますが、Bluetooth経由でHuawei 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のみです。デバイスが接続されていても。

誰でも手伝ってくれる?

5
Mark

どうやらここでの問題は、Huawei FreeBuds 3がヘッドセットプロファイル(HSP)をサポートしていないことです。 bluetoothctl出力で確認できるように、これらはハンズフリープロファイル(HFP)のみをサポートします。一方、PulseAudioは、ここで説明するように、そのままではHFPをサポートしていません: https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/

したがって、唯一のオプションは、oFonoをインストールしてセットアップするか、PulseAudioを自分でパッチしてコンパイルすることです。パッチはここから入手できます: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/94

1