我使用的是 Ubuntu 14.04,蓝牙可以正常工作,但我找不到任何蓝牙设备,但我认为是版本问题。昨天我升级到了 15.10,但没有任何变化。所以我搜索了网络并尝试了一些命令,当我重新启动时,我的蓝牙图标消失了,当我尝试启动它时,它显示“蓝牙已禁用”。错误 你能告诉我该怎么办吗?
lspci -knn | grep Net -A2
06:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016]
Kernel driver in use: wl
lsusb
Bus 003 Device 006: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 003 Device 005: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0
Bus 003 Device 004: ID 1bcf:2b8b Sunplus Innovation Technology Inc.
Bus 003 Device 003: ID 0e8f:00fb GreenAsia Inc.
Bus 003 Device 002: ID 8087:8001 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
我跑了
$dmesg | grep -i blue
它说没有文件 BCM.hcd 所以我复制了我的另一个 .hcd 并将其重命名为 BCM.hcd 现在我得到了
$dmesg | grep -i blue
[ 8.716681] Bluetooth: Core ver 2.20
[ 8.716698] Bluetooth: HCI device and connection manager initialized
[ 8.716702] Bluetooth: HCI socket layer initialized
[ 8.716704] Bluetooth: L2CAP socket layer initialized
[ 8.716709] Bluetooth: SCO socket layer initialized
[ 10.825455] Bluetooth: hci0 command 0x1001 tx timeout
[ 18.818540] Bluetooth: hci0: BCM: Reading local version info failed (-110)
[ 20.825861] Bluetooth: hci0 command 0x1001 tx timeout
[ 28.819011] Bluetooth: hci0: BCM: Reading local version info failed (-110)
[ 28.838168] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 28.838172] Bluetooth: BNEP filters: protocol multicast
[ 28.838176] Bluetooth: BNEP socket layer initialized
$ ls -l /lib/firmware/brcm
total 9740
-rw-rw-r-- 1 root root 28842 Oct 23 20:59 BCM43142A0-0a5c-21d7.hcd
-rw-r--r-- 1 root root 269595 Nov 24 2014 bcm4329-fullmac-4.bin
-rw-r--r-- 1 root root 96224 Dec 1 2014 bcm43xx-0.fw
-rw-r--r-- 1 root root 180 Dec 1 2014 bcm43xx_hdr-0.fw
-rw-rw-r-- 1 root root 28842 Oct 23 20:59 BCM.hcd
-rw-r--r-- 1 root root 397312 Dec 1 2014 brcmfmac43143.bin
-rw-r--r-- 1 root root 385067 Oct 5 19:15 brcmfmac43143-sdio.bin
-rw-r--r-- 1 root root 348160 Nov 24 2014 brcmfmac43236b.bin
-rw-r--r-- 1 root root 455745 Dec 1 2014 brcmfmac43241b0-sdio.bin
-rw-r--r-- 1 root root 403855 Dec 1 2014 brcmfmac43241b4-sdio.bin
-rw-r--r-- 1 root root 408682 Oct 5 19:15 brcmfmac43241b5-sdio.bin
-rw-r--r-- 1 root root 479232 Sep 24 16:20 brcmfmac43242a.bin
-rw-r--r-- 1 root root 253748 Dec 1 2014 brcmfmac4329-sdio.bin
-rw-r--r-- 1 root root 222126 Dec 1 2014 brcmfmac4330-sdio.bin
-rw-r--r-- 1 root root 397378 Oct 5 19:15 brcmfmac43340-sdio.bin
-rw-r--r-- 1 root root 451566 Dec 1 2014 brcmfmac4334-sdio.bin
-rw-r--r-- 1 root root 569291 Dec 1 2014 brcmfmac4335-sdio.bin
-rw-r--r-- 1 root root 219557 Dec 1 2014 brcmfmac43362-sdio.bin
-rw-r--r-- 1 root root 493599 Sep 24 16:20 brcmfmac4339-sdio.bin
-rw-r--r-- 1 root root 488193 Oct 5 19:15 brcmfmac43455-sdio.bin
-rw-r--r-- 1 root root 591837 Oct 5 19:15 brcmfmac4354-sdio.bin
-rw-r--r-- 1 root root 557056 Sep 24 16:20 brcmfmac43569.bin
-rw-r--r-- 1 root root 593956 Oct 5 19:15 brcmfmac4356-pcie.bin
-rw-r--r-- 1 root root 550333 Sep 24 16:20 brcmfmac43570-pcie.bin
-rw-r--r-- 1 root root 595472 Oct 5 19:24 brcmfmac43602-pcie.ap.bin
-rw-r--r-- 1 root root 634267 Oct 5 19:24 brcmfmac43602-pcie.bin
在我删除旧文件并粘贴新文件后,我得到了
$ dmesg | grep -i blue
[ 8.772021] Bluetooth: Core ver 2.20
[ 8.772038] Bluetooth: HCI device and connection manager initialized
[ 8.772042] Bluetooth: HCI socket layer initialized
[ 8.772044] Bluetooth: L2CAP socket layer initialized
[ 8.772052] Bluetooth: SCO socket layer initialized
[ 10.935401] Bluetooth: hci0 command 0x1001 tx timeout
[ 18.928513] Bluetooth: hci0: BCM: Reading local version info failed (-110)
[ 18.935776] Bluetooth: hci0: BCM: chip id 70
[ 18.935780] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 19.023124] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[ 19.023130] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 19.968603] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 19.968606] Bluetooth: BNEP filters: protocol multicast
[ 19.968611] Bluetooth: BNEP socket layer initialized
答案1
内核升级后,我遇到了同样的问题。对我有用的是:
sudo modprobe -r btusb && sudo modprobe btusb
它基本上卸载和加载驱动程序。