怀念夏天 发表于 2025-3-3 16:32:30

Linux博通(Broadcom)无线网卡蓝牙无法使用问题解决记录

旧条记本安装ArchLinux后发现蓝牙无法使用,记录一下解决办法。
解决方法记录

条记本的无线网卡和蓝牙是一起的,lspci命令查看网卡型号
08:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)
以上可以看到是博通(Broadcom) BCM43142这一个系列型号的网卡
使用dmesg查看蓝牙相关信息
$ sudo dmesg | grep -i bluetooth
...
[    6.688643] Bluetooth: hci0: BCM: chip id 70
[    6.690787] Bluetooth: hci0: BCM: features 0x06
[    6.706677] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
[    6.710354] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[    6.710938] Bluetooth: hci0: BCM: 'brcm/BCM43142A0-04ca-2009.hcd'
[    6.711451] Bluetooth: hci0: BCM: 'brcm/BCM-04ca-2009.hcd'
[    7.389596] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.389602] Bluetooth: BNEP filters: protocol multicast
[    7.389606] Bluetooth: BNEP socket layer initialized
[    8.910445] Bluetooth: hci0: command 0x1003 tx timeout
[    8.910448] Bluetooth: hci0: Opcode 0x1003 failed: -110
...发现一个Bluetooth: hci0: BCM: firmware Patch file not found的错误。
然后在网上一通探求,最终在github上找到一个堆栈:https://github.com/winterheart/broadcom-bt-firmware,里面形貌的错误类似。
按照堆栈里README说明的方法找到对应型号网卡的firmware补丁,我根据dmesg的错误提示找到了BCM43142A0-04ca-2009.hcd这个文件,将这个文件放入/lib/firmware/brcm目次中,重启。
https://img2024.cnblogs.com/blog/2169013/202503/2169013-20250303004756331-506650471.png
再次使用dmesg查看
[    6.709279] Bluetooth: hci0: BCM: chip id 70
[    6.710271] Bluetooth: hci0: BCM: features 0x06
[    6.726308] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
[    6.729887] Bluetooth: hci0: BCM43142A0 'brcm/BCM43142A0-04ca-2009.hcd' Patch
[    7.414959] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.414965] Bluetooth: BNEP filters: protocol multicast
[    7.414969] Bluetooth: BNEP socket layer initialized
[    7.422287] Bluetooth: hci0: BCM: features 0x06
[    7.438287] Bluetooth: hci0: Bluetooth USB module
[    7.438294] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0330原先的错误已不见,然后使用bluetoothctl连接蓝牙,蓝牙已可以正常使用。
其他说明

ArchLinux的话也可以去aur堆栈搜索broadcom-bt-firmware,安装aur包,这方法我还没试过如果上面步骤没用可以尝试下,看包里面的说明也是从https://github.com/winterheart/broadcom-bt-firmware这个堆栈获取的补丁。
https://img2024.cnblogs.com/blog/2169013/202503/2169013-20250303110156611-1375454199.png
https://img2024.cnblogs.com/blog/2169013/202503/2169013-20250303110750064-1769241183.png

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页: [1]
查看完整版本: Linux博通(Broadcom)无线网卡蓝牙无法使用问题解决记录