蓝牙耳机:HSP/HFP 不工作

Dan*_*uck 10 fedora audio bluetooth pulseaudio bluez

我有一个蓝牙耳机 (Sony WH-1000XM3),只要我只将它用作输出设备,它就可以与 PulseAudio 完美配合。在 pavucontrol 中更改蓝牙配置文件适用于除 HSP/HFP 之外的所有内容(SBC、LDAC、aptX HD、aptX 和 AAC)。发生这种情况时,PulseAudio 会输出以下错误:

I: [pulseaudio] protocol-native.c: Application "PulseAudio-Lautstärkeregler" requests card profile change. card = bluez_card.38_18_4C_6D_C9_22, profile = headset_head_unit
I: [pulseaudio] core.c: default_sink: bluez_sink.38_18_4C_6D_C9_22.a2dp_sink -> alsa_output.usb-BEHRINGER_UMC204HD_192k-00.analog-surround-40
I: [pulseaudio] source-output.c: Freeing output 3 "Ausschlagsserkennung"
I: [bluetooth] bluez5-util.c: Transport /org/bluez/hci0/dev_38_18_4C_6D_C9_22/sep5/fd13 released
I: [pulseaudio] sink.c: Freeing sink 1 "bluez_sink.38_18_4C_6D_C9_22.a2dp_sink"
I: [pulseaudio] source.c: Freeing source 3 "bluez_sink.38_18_4C_6D_C9_22.a2dp_sink.monitor"
I: [pulseaudio] backend-native.c: doing connect
E: [pulseaudio] backend-native.c: connect(): Function not implemented
Run Code Online (Sandbox Code Playgroud)

开始时也

E: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Run Code Online (Sandbox Code Playgroud)

出现在日志中。

我在 Fedora 31 上有以下软件包版本

Installed Packages
NetworkManager-bluetooth.x86_64              1:1.20.10-1.fc31                    @updates               
bluecurve-cursor-theme.noarch                8.0.2-21.fc31                       @fedora                
bluecurve-icon-theme.noarch                  8.0.2-21.fc31                       @fedora                
blueman.x86_64                               1:2.1.2-1.fc31                      @updates               
bluez-cups.x86_64                            5.54-1.fc31                         @updates               
bluez-libs.x86_64                            5.54-1.fc31                         @updates               
bluez-obexd.x86_64                           5.54-1.fc31                         @updates               
bluez-tools.x86_64                           0.2.0-0.11.git20170912.7cb788c.fc31 @fedora                
bluez.x86_64                                 5.54-1.fc31                         @updates               
gnome-bluetooth-libs.x86_64                  1:3.34.1-1.fc31                     @updates               
gnome-bluetooth.x86_64                       1:3.34.1-1.fc31                     @updates               
pulseaudio-libs-devel.x86_64                 13.99.1-2.fc31 @updates               
pulseaudio-libs-glib2.x86_64                 13.99.1-2.fc31 @updates               
pulseaudio-libs.i686                         13.99.1-2.fc31 @updates               
pulseaudio-libs.x86_64                       13.99.1-2.fc31 @updates               
pulseaudio-module-bluetooth-freeworld.x86_64 1.3-4.fc31     @rpmfusion-free-updates
pulseaudio-module-gsettings.x86_64           13.99.1-2.fc31 @updates               
pulseaudio-module-jack.x86_64                13.99.1-2.fc31 @updates               
pulseaudio-module-x11.x86_64                 13.99.1-2.fc31 @updates               
pulseaudio-utils.x86_64                      13.99.1-2.fc31 @updates               
pulseaudio.x86_64                            13.99.1-2.fc31 @updates
Run Code Online (Sandbox Code Playgroud)

我的蓝牙设备

Bus 001 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Run Code Online (Sandbox Code Playgroud)

编辑:还没有消息(订购了一个新的加密狗,但那个具有完全相同的 ID 和名称),但是这个线程报告了 Ubuntu 相同。

Dan*_*uck 0

我通过使用 pipelinewire 解决了这个问题(无论如何,在较新的 Fedora 版本中默认使用它)。