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 / 问题 / 1346426
Accepted
Shubhang Kakkar
Shubhang Kakkar
Asked: 2021-06-18 00:56:02 +0800 CST2021-06-18 00:56:02 +0800 CST 2021-06-18 00:56:02 +0800 CST

安装 BCM43142 驱动蓝牙后停止工作 ubuntu 21.04

  • 772

我最近双启动 windows 10 pro 和 ubuntu 21.04,在安装 ubuntu 21.04 后,当我启动到 ubuntu 时,一切正常,除了当时我的蓝牙工作正常,但没有 wifi,所以从突触包管理器安装 BCM43142 驱动程序并安装后驱动程序当我重新启动系统时,我的 wifi 开始工作,但我的蓝牙停止工作并停止检测其他设备并停止连接已经配对的设备我已经尝试了很多事情,比如安装 pulseaudio、重新启动蓝牙服务、rfkill、重新安装蓝牙驱动程序。我的蓝牙在Windows 10 上不起作用,但在 ubuntu 中不起作用,请帮助。

lspci输出:

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
06:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)

lsusb输出:

Bus 001 Device 006: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 005: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0
Bus 001 Device 004: ID 1bcf:2b8b Sunplus Innovation Technology Inc. 
Bus 001 Device 003: ID c0f4:04e0  
Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 1ea7:0064 SHARKOON Technologies GmbH 2.4G Mouse
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

systemctl | grep -i blue输出:

sys-devices-pci0000:00-0000:00:1d.0-usb1-1\x2d1-1\x2d1.6-1\x2d1.6:1.0-bluetooth-hci0.device loaded active     plugged   /sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.6/1-1.6:1.0/bluetooth/hci0
  sys-subsystem-bluetooth-devices-hci0.device                                                 loaded active     plugged   /sys/subsystem/bluetooth/devices/hci0                                       
  bluetooth.service                                                                           loaded active     running   Bluetooth service                                                           
  bluetooth.target                                                                            loaded active     active    Bluetooth           

dmesg | gerp -i blue输出:

[   13.604256] Bluetooth: Core ver 2.22
[   13.604289] Bluetooth: HCI device and connection manager initialized
[   13.604296] Bluetooth: HCI socket layer initialized
[   13.604299] Bluetooth: L2CAP socket layer initialized
[   13.604304] Bluetooth: SCO socket layer initialized
[   15.782083] Bluetooth: hci0: BCM: chip id 70
[   15.783095] Bluetooth: hci0: BCM: features 0x06
[   15.799205] Bluetooth: hci0: shubhang
[   15.799210] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
[   16.221057] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[   16.221061] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-0a5c-21d7.hcd'
[   16.221063] Bluetooth: hci0: BCM: 'brcm/BCM-0a5c-21d7.hcd'
[   18.227516] Bluetooth: hci0: command 0x1003 tx timeout
[   18.229200] Bluetooth: hci0: unexpected event for opcode 0x1003
[   35.453929] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   35.453931] Bluetooth: BNEP filters: protocol multicast
[   35.453935] Bluetooth: BNEP socket layer initialized
[   38.227471] Bluetooth: hci0: command 0x1003 tx timeout
[   38.229183] Bluetooth: hci0: unexpected event for opcode 0x1003
[   74.818324] Bluetooth: RFCOMM TTY layer initialized
[   74.818333] Bluetooth: RFCOMM socket layer initialized
[   74.818343] Bluetooth: RFCOMM ver 1.11

bluetoothctl输出:

Agent registered
[CHG] Controller AC:D1:B8:DB:69:38 Pairable: yes

rfkill输出:

ID TYPE      DEVICE         SOFT      HARD
 0 wlan      dell-rbtn unblocked unblocked
 1 wlan      phy0      unblocked unblocked
 2 wlan      brcmwl-0  unblocked unblocked
 3 bluetooth hci0      unblocked unblocked

rfkill list all输出:

0: dell-rbtn: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: brcmwl-0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
3: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
drivers
  • 2 2 个回答
  • 489 Views

2 个回答

  • Voted
  1. user1362425
    2021-07-10T13:04:19+08:002021-07-10T13:04:19+08:00

    也许你有这些问题之一

    这是来自https://help.ubuntu.com/stable/ubuntu-help/bluetooth-problem-connecting.html.en

    我无法连接我的蓝牙设备 无法连接到蓝牙设备(例如电话或耳机)的原因有很多。

    连接被阻止或不受信任 某些蓝牙设备默认阻止连接,或要求您更改设置以允许建立连接。确保您的设备设置为允许连接。

    蓝牙硬件无法识别 您的蓝牙适配器或加密狗可能未被计算机识别。这可能是因为未安装适配器的驱动程序。Linux 不支持某些蓝牙适配器,因此您可能无法为它们获取正确的驱动程序。在这种情况下,您可能需要使用不同的蓝牙适配器。

    适配器未打开 确保您的蓝牙适配器已打开。打开蓝牙面板并检查它是否未被禁用。

    设备蓝牙连接已关闭 检查您尝试连接的设备上的蓝牙是否已打开,并且它是可发现的或可见的。例如,如果您尝试连接手机,请确保它未处于飞行模式。

    您的计算机中没有蓝牙适配器 许多计算机没有蓝牙适配器。如果您想使用蓝牙,您可以购买适配器。

    • 0
  2. Best Answer
    Shubhang Kakkar
    2021-07-11T05:04:16+08:002021-07-11T05:04:16+08:00

    从蓝牙 Broadcom 43142 不工作

    这就是您所需要的:https ://github.com/winterheart/broadcom-bt-firmware

    在此存储库中,您可以找到更多信息和所需的所有 Broadcom 无线网卡驱动程序。


    更具体地说,我给你我为自己写的说明:

    本教程旨在使无线/蓝牙网卡 Broadcom Corporation BCM43142 802.11b/g/n (rev 01) (Device ID: 0a5c:216d) 在 Linux 系统上工作(我在 Elementary OS 0.4.1 Loki 上尝试过,基于在 Ubuntu 16.04.3 LTS 上)。

    它不适用于其他设备,但与其他 Broadcom 设备的此过程不应有太大差异。所需的 Broadcom 驱动程序位于此GitHub 的.hcd 格式的 repository 文件夹中。

    1. 输入以下命令以发现内核在引导时加载驱动器时要查找的驱动程序名称:

      dmesg | grep -i 'firmware load'
      

      如果它没有找到任何东西,试试这个:

      dmesg | grep -i 'bluetooth'
      

      结果应该是这样的:

      bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
      

    解释:在我的例子中,内核正在寻找Broadcom 驱动程序所在BCM.hcd目录下的文件。/lib/firmware/brcm如果内核正在寻找另一个驱动程序名称,您必须将驱动程序文件(BCM43142A0-0a5c-216c.hcd在我的情况下为 BCM43142 (0a5c:216d))重命名为内核所需的名称。

    1. 将重命名的驱动程序 (BCM.hcd) 移动到您的主目录 (/home/YourUsername/) 并运行以下命令,以便将其移动到引导时内核正在查看的文件夹中:

      sudo mv ~/BCM.hcd /lib/firmware/brcm
      

    您必须根据您的设备使用相应的驱动程序,并在内核请求时将其重命名。

    1. 重新启动计算机,它应该可以工作了!*(您可以dmesg | grep -i 'bluetooth'再次输入以查看驱动程序是否已加载)
    • 0

相关问题

  • Ubuntu 中的科胜讯调制解调器

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

  • 如何为 LG X130 上网本安装 relink 无线驱动程序

  • 类似于 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