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 / 问题 / 1177764
Accepted
José Marín
José Marín
Asked: 2019-10-01 12:58:32 +0800 CST2019-10-01 12:58:32 +0800 CST 2019-10-01 12:58:32 +0800 CST

如何在 Ubuntu 中修复我的蓝牙?

  • 772

双启动Acer Aspire E5-521笔记本电脑上的 Ubuntu 中的蓝牙失败并显示以下消息: 在此处输入图像描述

我在同一个磁盘上也有 Windows 10,但有另一个分区,并且蓝牙工作正常。

如何让蓝牙在 Ubuntu 中工作?

编辑 1

我尝试输入:sudo /etc/init.d/bluetooth start在终端中,我得到:sudo: /etc/init.d/bluetooth: command not found

编辑 2

lspci -knn | grep Net -A3; lsusb在终端中输入命令,我得到了下一个输出:

`02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
    Subsystem: Lite-On Communications Inc BCM43142 802.11b/g/n [11ad:6645]
    Kernel driver in use: wl
    Kernel modules: wl
Bus 002 Device 003: ID 06cb:2970 Synaptics, Inc. touchpad
Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 1bcf:2c6e Sunplus Innovation Technology Inc. 
Bus 001 Device 003: ID 04ca:2009 Lite-On Technology Corp. 
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub `

编辑 3

我正在关注以下解决方案:Bluetooth Broadcom 43142 is not working

在第 7 步中,使用命令检查文件名是否正确:dmesg | grep -i blue我收到下一条消息:

[ 23.906556] Bluetooth: Core ver 2.22 [ 23.906821] Bluetooth: HCI device and connection manager initialized [ 23.906827] Bluetooth: HCI socket layer initialized [ 23.906831] Bluetooth: L2CAP socket layer initialized [ 23.906854] Bluetooth: SCO socket layer initialized [ 24.034310] Bluetooth: hci0: BCM: chip id 70 [ 24.035305] Bluetooth: hci0: BCM: features 0x06 [ 24.051295] Bluetooth: hci0: BCM43142A [ 24.051301] Bluetooth: hci0: BCM (001.001.011) build 0000 [ 24.074628] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2 [ 24.074633] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found [ 26.321504] Bluetooth: hci0: command 0x1003 tx timeout [ 26.322983] Bluetooth: hci0: unexpected event for opcode 0x1003

编辑 4

对于我的内核 4.15.0-64-generic,.hcd 文件的正确名称似乎是 BCM.hcd。然后在我关闭并关闭计算机后,我得到以下dmesg | grep -i blue命令输出:

[ 23.041730] Bluetooth: Core ver 2.22 [ 23.041765] Bluetooth: HCI device and connection manager initialized [ 23.041772] Bluetooth: HCI socket layer initialized [ 23.041776] Bluetooth: L2CAP socket layer initialized [ 23.041798] Bluetooth: SCO socket layer initialized [ 23.170312] Bluetooth: hci0: BCM: chip id 70 [ 23.171306] Bluetooth: hci0: BCM: features 0x06 [ 23.187310] Bluetooth: hci0: marin-Aspire-E5-521 [ 23.187318] Bluetooth: hci0: BCM (001.001.011) build 0270 [ 23.945369] Bluetooth: hci0: BCM (001.001.011) build 0270 [ 23.962274] Bluetooth: hci0: Bluetooth USB module

这解决了蓝牙驱动程序的固件问题。谢谢@Pilot6

但是在这个问题的开头我仍然收到了同样的错误信息。所以我决定尝试通过终端使用我的蓝牙。一开始我发现了以下命令:

sudo service bluetooth start

这几乎解决了我的问题;现在我可以在 Ubuntu 中正确使用我的蓝牙了。但仍然存在一个小问题:每次重新启动计算机时,我都需要运行上述命令才能使蓝牙正常工作。

编辑 5 [和解决方案]

我运行命令: sudo systemctl enable bluetooth 这可以防止我必须运行:sudo service bluetooth start每次重新启动时。但是现在蓝牙总是打开的!(正如我所想的那样)所以我遇到了一种相反的情况,每次 Ubuntu 在我不需要它时开始节省电池能量时,我都必须关闭蓝牙。因此,我去了 Startup Applications Preferences 并取消选中蓝牙: 在此处输入图像描述

就是这样!这完全并最终在 Ubuntu 中修复了我的蓝牙。

bluetooth
  • 1 1 个回答
  • 8726 Views

1 个回答

  • Voted
  1. Best Answer
    Pilot6
    2019-10-02T14:16:46+08:002019-10-02T14:16:46+08:00

    跑

    sudo systemctl enable bluetooth
    

    这将在启动时启用服务。

    • 3

相关问题

  • 哪种蓝牙耳机效果最好?

  • ubuntu无法识别笔记本电脑的内部蓝牙:如何诊断问题?

  • 如何为我的蓝牙手机分配串口?

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

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

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