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 / 问题 / 1200706
Accepted
bonafernando
bonafernando
Asked: 2020-01-05 11:54:56 +0800 CST2020-01-05 11:54:56 +0800 CST 2020-01-05 11:54:56 +0800 CST

Ubuntu 18.04.3 蓝牙连接失败:org.bluez.Error.Failed (INTEL® DUAL BAND WIRELESS-AC 9560 + BLUETOOTH)

  • 772

我无法连接我的蓝牙耳机 Sony MDR-XB950N1。以下是一些可能有帮助的信息:

  1. 这是一个从头开始的 Ubuntu 18.04.3(我第一次做了一些更改,所以这次完好无损)

  2. 输出:rfkill list

    0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
    1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
    
  3. 输出:dmesg | grep Blue

    [    3.779924] Bluetooth: Core ver 2.22
    [    3.779933] Bluetooth: HCI device and connection manager initialized
    [    3.779936] Bluetooth: HCI socket layer initialized
    [    3.779937] Bluetooth: L2CAP socket layer initialized
    [    3.779939] Bluetooth: SCO socket layer initialized
    [    3.927905] Bluetooth: hci0: Firmware revision 0.1 build 184 week 15 2019
    [    4.085989] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    4.085990] Bluetooth: BNEP filters: protocol multicast
    [    4.085992] Bluetooth: BNEP socket layer initialized
    [   51.943002] Bluetooth: RFCOMM TTY layer initialized
    [   51.943005] Bluetooth: RFCOMM socket layer initialized
    [   51.943008] Bluetooth: RFCOMM ver 1.11
    [ 3337.300487] audit: type=1107 audit(1578332620.663:53): pid=714 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=5801 label="snap.teams-for-linux.teams-for-linux" peer_pid=847 peer_label="unconfined"
    
  4. 输出:lspci -knn | grep Net -A2; lsusb

    00:14.3 Network controller [0280]: Intel Corporation Wireless-AC 9560 [Jefferson Peak] [8086:a370] (rev 10)
        Subsystem: Intel Corporation Device [8086:0034]
        Kernel driver in use: iwlwifi
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 004: ID 048d:ce00 Integrated Technology Express, Inc. 
    Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
    Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
    Bus 001 Device 006: ID 8087:0aaa Intel Corp. 
    Bus 001 Device 005: ID 04f2:b65a Chicony Electronics Co., Ltd 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    
  5. 试了一遍bluetoothctl:

    [NEW] Controller 38:00:25:A1:F0:85 bonavel [default]
    Agent registered
    [bluetooth]# list
    Controller 38:00:25:A1:F0:85 bonavel [default]
    [NEW] Device 04:5D:4B:96:D5:65 MDR-XB950N1
    [bluetooth]# devices
    Device 04:5D:4B:96:D5:65 MDR-XB950N1
    [bluetooth]# scan on
    Discovery started
    [bluetooth]# devices
    Device 04:5D:4B:96:D5:65 MDR-XB950N1
    [bluetooth]# pair 04:5D:4B:96:D5:65
    Attempting to pair with 04:5D:4B:96:D5:65
    [CHG] Device 04:5D:4B:96:D5:65 Connected: yes
    [CHG] Device 04:5D:4B:96:D5:65 Connected: no
    [CHG] Device 04:5D:4B:96:D5:65 Paired: yes
    Pairing successful
    [CHG] Controller 38:00:25:A1:F0:85 Discoverable: no
    [bluetooth]# trust 04:5D:4B:96:D5:65
    [CHG] Device 04:5D:4B:96:D5:65 Trusted: yes
    Changing 04:5D:4B:96:D5:65 trust succeeded
    [bluetooth]# connect 04:5D:4B:96:D5:65
    Attempting to connect to 04:5D:4B:96:D5:65
    Failed to connect: org.bluez.Error.Failed
    [bluetooth]# 
    [CHG] Controller 38:00:25:A1:F0:85 DiscoverableTimeout: 0x00000000
    [CHG] Controller 38:00:25:A1:F0:85 DiscoverableTimeout: 0x00000000
    [CHG] Controller 38:00:25:A1:F0:85 Discoverable: yes
    [bluetooth]# devices
    Device 04:5D:4B:96:D5:65 MDR-XB950N1
    [bluetooth]# connect 04:5D:4B:96:D5:65
    Attempting to connect to 04:5D:4B:96:D5:65
    Failed to connect: org.bluez.Error.Failed
    
  6. 我的蓝牙 Logitech M585 工作正常:

    Device E1:B5:43:77:D0:97 M585/M590
    
  7. tail -f /var/log/syslog尝试再次连接时的输出bluetoothctl:

    Jan  4 16:46:43 bonavel bluetoothd[887]: 04:5D:4B:96:D5:65: error updating services: Host is down (112)
    
  8. 的输出pactl list | grep -i bluetooth

    Name: module-bluetooth-policy
        module.description = "Policy module to make using bluetooth devices out-of-the-box easier"
    Name: module-bluetooth-discover
        module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
        module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
    
  9. 应用了这个解决方案,它仍然无法正常工作。

  10. 应用了这个解决方案,现在我能够配对和连接,但它虽然很快断开连接,但无法再现声音。

  11. 第 10 项之后的输出bluetoothctl。

    [bluetooth]# info 04:5D:4B:96:D5:65
    Device 04:5D:4B:96:D5:65 (public)
        Name: MDR-XB950N1
        Alias: MDR-XB950N1
        Class: 0x00240404
        Icon: audio-card
        Paired: yes
        Trusted: no
        Blocked: no
        Connected: no
        LegacyPairing: no
        UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
        UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: Headset HS                (00001131-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Cont.. (0000110f-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (00000000-deca-fade-deca-deafdecacaff)
        Modalias: usb:v054Cp0BEAd0102
    [bluetooth]# connect 04:5D:4B:96:D5:65
    Attempting to connect to 04:5D:4B:96:D5:65
    [CHG] Device 04:5D:4B:96:D5:65 Connected: yes
    [CHG] Device 04:5D:4B:96:D5:65 UUIDs: 00000000-deca-fade-deca-deafdecacaff
    [CHG] Device 04:5D:4B:96:D5:65 UUIDs: 00001108-0000-1000-8000-00805f9b34fb
    [CHG] Device 04:5D:4B:96:D5:65 UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
    [CHG] Device 04:5D:4B:96:D5:65 UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
    [CHG] Device 04:5D:4B:96:D5:65 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
    [CHG] Device 04:5D:4B:96:D5:65 UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
    [CHG] Device 04:5D:4B:96:D5:65 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
    [CHG] Device 04:5D:4B:96:D5:65 UUIDs: 7b265b0e-2232-4d45-bef4-bb8ae62f813d
    [CHG] Device 04:5D:4B:96:D5:65 UUIDs: 96cc203e-5068-46ad-b32d-e316f5e069ba
    [CHG] Device 04:5D:4B:96:D5:65 UUIDs: b9b213ce-eeab-49e4-8fd9-aa478ed1b26b
    [CHG] Device 04:5D:4B:96:D5:65 ServicesResolved: yes
    Connection successful
    [CHG] Controller 38:00:25:A1:F0:85 Discovering: yes
    [CHG] Controller 38:00:25:A1:F0:85 DiscoverableTimeout: 0x00000000
    [CHG] Controller 38:00:25:A1:F0:85 DiscoverableTimeout: 0x00000000
    [CHG] Controller 38:00:25:A1:F0:85 Discoverable: yes
    [CHG] Device 04:5D:4B:96:D5:65 ServicesResolved: no
    [CHG] Device 04:5D:4B:96:D5:65 Connected: no
    [CHG] Device 04:5D:4B:96:D5:65 Connected: yes
    [CHG] Controller 38:00:25:A1:F0:85 Discoverable: no
    [MDR-XB950N1]# connect 04:5D:4B:96:D5:65
    Attempting to connect to 04:5D:4B:96:D5:65
    Failed to connect: org.bluez.Error.InProgress
  1. 我按照此说明在工厂恢复了耳机。然后我能够配对并连接到它。但是当我通过它播放一些音频时,感觉就像有很多干扰,只有一些随机的非常切割的噪音,我什至无法与正在播放的内容联系起来。然后我能够断开连接并再次连接,但现在根本没有声音播放。然后在 1 分钟左右后,耳机失去了连接。

  2. 在软件更新设置中,如下所示: 软件更新设置

我已经搜索了 2 个多小时并应用了我找到的所有可能的解决方案,但没有一个解决了我的问题,所以我从头开始重新安装了 Ubuntu 18.04.3。

sound headphones drivers bluetooth 18.04
  • 1 1 个回答
  • 9800 Views

1 个回答

  • Voted
  1. Best Answer
    bonafernando
    2021-08-10T16:41:18+08:002021-08-10T16:41:18+08:00

    问题是其中一根天线Intel Corporation Wireless-AC 9560断开了。我打开了电脑,连接了天线,我有一个完美的工作蓝牙和更好的 Wifi 信号。

    • 0

相关问题

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

  • 类似于 Eyefinity 的东西?

  • 在哪里可以找到 Brother HL-2170W 64 位打印机驱动程序?

  • 即使插入耳机,我的扬声器也会发出声音[关闭]

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