无法将我的蓝牙耳机与笔记本电脑同步

无法将我的蓝牙耳机与笔记本电脑同步

我收到此错误

Connection Failed: blueman.bluez.errors.DBusFailedError: Protocol not available

我尝试了几种解决方案,例如重新安装 blueman

PulseAudio 无法加载蓝牙模块 15.10/16.04/16.10

但对我而言没什么用。以下是已安装的内容列表

 dpkg -l | grep bluetooth
ii  blueman                                    2.0.4-1ubuntu2                               amd64        Graphical bluetooth manager
ii  bluetooth                                  5.37-0ubuntu5.1                              all          Bluetooth support
ii  gnome-bluetooth                            3.18.2-1ubuntu2                              amd64        GNOME Bluetooth tools
ii  indicator-bluetooth                        0.0.6+16.04.20160526-0ubuntu1                amd64        System bluetooth indicator.
ii  libbluetooth3:amd64                        5.37-0ubuntu5.1                              amd64        Library to use the BlueZ Linux Bluetooth stack
ii  libgnome-bluetooth13:amd64                 3.18.2-1ubuntu2                              amd64        GNOME Bluetooth tools - support library
ii  pulseaudio-module-bluetooth                1:8.0-0ubuntu3.10                            amd64        Bluetooth module for PulseAudio sound server

dmesg | egrep -i 'blue|firm'; pactl list short | grep blue

[    0.026790] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.197041] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    5.599950] usb 2-4: Product: Bluetooth Radio 
[   15.219353] Bluetooth: Core ver 2.21
[   15.219366] Bluetooth: HCI device and connection manager initialized
[   15.219369] Bluetooth: HCI socket layer initialized
[   15.219372] Bluetooth: L2CAP socket layer initialized
[   15.219376] Bluetooth: SCO socket layer initialized
[   15.690338] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[   15.690341] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[   15.849210] rtl8723be: Using firmware rtlwifi/rtl8723befw.bin
[   15.946331] Bluetooth: hci0: rom_version status=0 version=1
[   29.075249] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   29.075253] Bluetooth: BNEP filters: protocol multicast
[   29.075257] Bluetooth: BNEP socket layer initialized
[   98.470379] Bluetooth: RFCOMM TTY layer initialized
[   98.470389] Bluetooth: RFCOMM socket layer initialized
[   98.470395] Bluetooth: RFCOMM ver 1.11

操作系统 - ubuntu 16.04 耳机 - Tagg inferno(https://www.amazon.in/Inferno-Wireless-Bluetooth-Earphone-Carry/dp/B01M9DROES

答案1

解决方案来自这篇文章对我有用:

  1. 确保已安装此包

    sudo apt-get install pulseaudio-module-bluetooth
    
  2. 运行命令

    pactl load-module module-bluetooth-discover
    

然后从蓝牙设备中删除该设备并重新配对。

如果有效,您可以考虑将第二个命令添加到启动设置中,这样您不必在每次重启后再次运行它。

答案2

对我有用的是这样的:(如上文其他答案所指出的)

$ sudo apt-get purge pulseaudio  
$ rm ~/.config/pulse && sudo killall pulseaudio  
$ sudo apt-get install pulseaudio  
$ pulseaudio --start

上面的命令首先确保脉冲正常工作。
然后,这个有点奇怪,pulseaudio 本身默认没有这个命令:

$ sudo apt-get install pulseaudio-module-bluetooth  
$ pactl load-module module-bluetooth-discover  

我知道这有点多余,但这些步骤 10 分钟前对我来说是有效的。
但好吧,至少现在有效了 :)

相关内容