首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >蓝牙耳机: HSP/HFP无法工作

蓝牙耳机: HSP/HFP无法工作
EN

Unix & Linux用户
提问于 2020-03-24 20:57:28
回答 2查看 11K关注 0票数 10

我有一个蓝牙耳机(索尼WH-1000XM3),它与PulseAudio完美地工作,只要我只使用它作为输出设备。除了HSP/HFP之外,任何东西(SBC、LDAC、aptX HD、aptX和AAC)都可以改变蓝牙配置文件。当发生这种情况时,PulseAudio输出以下错误:

代码语言:javascript
复制
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

也开始了

代码语言:javascript
复制
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

出现在日志中。

我在Fedora 31上,有下面的包版本

代码语言:javascript
复制
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

我的蓝牙设备

代码语言:javascript
复制
Bus 001 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

编辑:目前还没有消息(订购了一个新的dongle,但它的ID和名称完全相同),但是这条线对Ubuntu的报告也是一样的。

EN

回答 2

Unix & Linux用户

回答已采纳

发布于 2021-05-24 17:35:10

这个问题是通过使用管道(在新的Fedora版本中默认使用)来解决的。

票数 0
EN

Unix & Linux用户

发布于 2020-10-15 03:03:54

我有一个USB蓝牙软盘,使用相同的芯片组,并能够让它在Raspbian上工作。A2DP支持似乎是很好的开箱即用,但你需要的支持,如果你使用的耳机。下面的链接说明如下所示:

https://hackaday.io/project/165208-an-old-rotary-phone-as-bluetooth-set/log/162491-setting-up-the-bluetooth

此外,如果发现耳机支持HFP配置文件,则需要安装PulseAudio文档,如下所示:

https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/

我已经概括了我的脚本,并发布了一个指向GitHub回购的链接:

https://github.com/lmandres/RaspbianBluetoothScripts

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/574742

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档