首页 > 解决方案 > 蓝牙和 Wi-Fi 在 Ubuntu 16.04 上不起作用

问题描述

我正在使用 Ubuntu 16.04 机器,我想使用我的蓝牙耳机。该卡是Realtek RTL8821CE 802.11ac PCIe 无线网络适配器,找不到合适的驱动程序来安装以使其工作。

这是的输出inxi -Fxz

Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
           driver: rtl8821ce port: c000 bus-ID: 04:00.0
           IF: wlp4s0 state: down mac: <filter>

这是的输出rfkill list

0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

这是dmesg我认为与所有这些相关的输出:

[    2.482158] usb 1-13: Product: Bluetooth Radio 
[    7.740358] Bluetooth: Core ver 2.21
[    7.740365] Bluetooth: HCI device and connection manager initialized
[    7.740367] Bluetooth: HCI socket layer initialized
[    7.740368] Bluetooth: L2CAP socket layer initialized
[    7.740373] Bluetooth: SCO socket layer initialized
[    8.350597] Bluetooth: hci0: rtl: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821
[    8.350599] Bluetooth: hci0: rtl: loading rtl_bt/rtl8821a_fw.bin
[    8.805573] Bluetooth: hci0: rom_version status=0 version=1
[   10.876381] Bluetooth: hci0 command 0xfc20 tx timeout
[   18.872613] Bluetooth: hci0: download fw command failed (-110)
[   19.018324] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   19.018326] Bluetooth: BNEP filters: protocol multicast
[   19.018328] Bluetooth: BNEP socket layer initialized

我不知道如何解决这个问题,我已经尝试安装与这个问题相关的新闻中建议的几个驱动程序,但都没有奏效。有什么建议吗?

标签: bluetoothdriverubuntu-16.04

解决方案


就我而言,当我安装 blueman - 图形蓝牙管理器时,蓝牙工作。

我发现我的无线网络适配器与您的不同,但 blueman 可以解决您的蓝牙问题。我有Qualcomm Atheros QCA6174,我使用的是 Ubuntu 16.04。

blueman 是 Ubuntu 存储库的一部分,因此您可以使用此命令。

sudo apt-get update
sudo apt-get install blueman

安装 blueman 时,还会安装一些依赖项。请参阅官方 blueman 包页面上的依赖项列表。

关于我的Qualcomm Atheros QCA6174的其他信息。用作驱动程序的固件是 ath10k_pci,运行以下命令后可以在输出中看到:

sudo lspci -knn | grep Net -A2; lsusb

输出:

03:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
    Subsystem: Dell QCA6174 802.11ac Wireless Network Adapter [1028:0310]
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0cf3:e007 Atheros Communications, Inc. 
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 0bda:5689 Realtek Semiconductor Corp. 
Bus 001 Device 003: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 001 Device 002: ID 275d:0ba6  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

推荐阅读