AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1270193
Accepted
Falc
Falc
Asked: 2020-08-27 00:30:01 +0800 CST2020-08-27 00:30:01 +0800 CST 2020-08-27 00:30:01 +0800 CST

无法连接蓝牙耳机[包含大量终端输出以帮助调试]

  • 772

我有 Sennheiser pxc550-ii 蓝牙耳机,我想与我的 Ubuntu 20.04 桌面配对,并让 aptx-hd 和 aptx-ll 编解码器正常工作。值得注意的是,我已经安装了这个ppa。还值得注意的是,我可以很好地将 bt 与我的 bt 扬声器配对。

我试过使用默认的 bloothtooth 工具以及 blueman-manager。在两者中,我都可以在可用蓝牙设备列表中看到耳机,但两者都无法配对。

然后我转向遵循本指南,他们建议的命令的输出是:

第一个命令:

jam@jam-ncase:~$ lsmod | grep bluetooth
bluetooth             454656  49 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic           16384  2 bluetooth
rfkill                 28672  11 asus_wmi,bluetooth,cfg80211
crc16                  16384  2 bluetooth,ext4

第二条命令:

jam@jam-ncase:~$ dmesg | grep Bluetooth
[    2.285152] Bluetooth: Core ver 2.22
[    2.285162] Bluetooth: HCI device and connection manager initialized
[    2.285165] Bluetooth: HCI socket layer initialized
[    2.285166] Bluetooth: L2CAP socket layer initialized
[    2.285168] Bluetooth: SCO socket layer initialized
[    2.302897] Bluetooth: hci0: read Intel version: 3707100180012d0d2a
[    2.302898] Bluetooth: hci0: Intel device is already patched. patch num: 2a
[    2.354229] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.354230] Bluetooth: BNEP filters: protocol multicast
[    2.354232] Bluetooth: BNEP socket layer initialized
[    6.314639] Bluetooth: RFCOMM TTY layer initialized
[    6.314643] Bluetooth: RFCOMM socket layer initialized
[    6.314646] Bluetooth: RFCOMM ver 1.11

第三条命令:

● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2020-08-26 09:01:38 BST; 5min ago
       Docs: man:bluetoothd(8)
   Main PID: 6075 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 19076)
     Memory: 1.9M
     CGroup: /system.slice/bluetooth.service
             └─6075 /usr/lib/bluetooth/bluetoothd

Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Bluetooth management interface 1.16 initialized
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSource/VENDOR/LDAC
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSource/VENDOR/APTXHD
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSource/VENDOR/APTX
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSource/AAC
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSource/SBC
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSink/VENDOR/APTXHD
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSink/VENDOR/APTX
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSink/AAC
Aug 26 09:01:38 jam-ncase bluetoothd[6075]: Endpoint registered: sender=:1.47 path=/MediaEndpoint/A2DPSink/SBC

第四:

jam@jam-ncase:~$ rfkill list
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

我也注意到了这个错误信息:

jam@jam-ncase:~$ pactl load-module module-bluetooth-discover
Failure: Module initialisation failed

我尝试配对/连接时的终端输出可以在这里找到。从该文件中突出的一行是这一行:

> HCI Event: Disconnect Complete (0x05) plen 4             #56 [hci0] 25.099314
        Status: Success (0x00)
        Handle: 256
        Reason: Remote Device Terminated due to Power Off (0x15)

不过我的耳机肯定是开机的。有人可以建议我应该如何尝试解决这个问题吗?

pulseaudio bluetooth bluetooth-speaker
  • 1 1 个回答
  • 222 Views

1 个回答

  • Voted
  1. Best Answer
    Lakshmipathi
    2020-09-04T07:49:00+08:002020-09-04T07:49:00+08:00

    我发现这工作得很好为什么我会收到“与 PulseAudio 的连接失败”的错误?.看看它一次(:

    速记:

    1. sudo apt-get --purge --reinstall install pulseaudio

    2. sudo nano /etc/pulse/client.conf [将变量 autospawn = now/yes 更改为 autospawn = no]

    3. 重启

    4. 帕武控制

    现在您可以选择可用的蓝牙设备进行声音输出

    • 1

相关问题

  • 我可以将我的计算机用作 A2DP 接收器/蓝牙扬声器吗?

  • 如何解决联想笔记本电脑上恢复/电源问题时禁用的蓝牙?

  • 如何将音乐流式传输到我的 AirTunes?

  • 声音小程序消失了

  • 声音,在多个程序之间停止

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve