为什么蓝牙无法连接?
在 Debian 测试 (9.0 Stretch) 上,蓝牙装置可以找到但无法连接到其他设备。蓝牙可以与不同的操作系统配合使用。 BIOS 设置允许无线。
安装了以下软件包:
- bluez 固件
- Broadcom-sta-common
- Broadcom-sta-dkms
- Broadcom-sta-源
- 固件-brcm80211
- 固件杂项非自由
$ sudo dmesg | grep -i blue
[ 18.086647] Bluetooth: Core ver 2.22
[ 18.086660] Bluetooth: HCI device and connection manager initialized
[ 18.086663] Bluetooth: HCI socket layer initialized
[ 18.086664] Bluetooth: L2CAP socket layer initialized
[ 18.086668] Bluetooth: SCO socket layer initialized
[ 18.149652] Bluetooth: hci0: BCM: chip id 63
[ 18.165659] Bluetooth: hci0: BCM20702A
[ 18.166653] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
[ 18.176624] bluetooth hci0: firmware: failed to load brcm/BCM20702A1-13d3-3404.hcd (-2)
[ 18.176665] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-13d3-3404.hcd failed with error -2
[ 18.176668] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-13d3-3404.hcd not found
[ 18.553154] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 18.553156] Bluetooth: BNEP filters: protocol multicast
[ 18.553160] Bluetooth: BNEP socket layer initialized
[ 18.574361] Bluetooth: RFCOMM TTY layer initialized
[ 18.574365] Bluetooth: RFCOMM socket layer initialized
[ 18.574368] Bluetooth: RFCOMM ver 1.11
$ lsmod | grep wl
wl 6443008 0
cfg80211 589824 1 wl
$ sudo modprobe -v broadcom-sta-dkms
modprobe: FATAL: Module broadcom-sta-dkms not found in directory /lib/modules/4.9.0-2-amd64
$ sudo dmesg | grep -i blu
[ 18.086647] Bluetooth: Core ver 2.22
[ 18.086660] Bluetooth: HCI device and connection manager initialized
[ 18.086663] Bluetooth: HCI socket layer initialized
[ 18.086664] Bluetooth: L2CAP socket layer initialized
[ 18.086668] Bluetooth: SCO socket layer initialized
[ 18.149652] Bluetooth: hci0: BCM: chip id 63
[ 18.165659] Bluetooth: hci0: BCM20702A
[ 18.166653] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
[ 18.176624] bluetooth hci0: firmware: failed to load brcm/BCM20702A1-13d3-3404.hcd (-2)
[ 18.176665] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-13d3-3404.hcd failed with error -2
[ 18.176668] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-13d3-3404.hcd not found
[ 18.553154] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 18.553156] Bluetooth: BNEP filters: protocol multicast
[ 18.553160] Bluetooth: BNEP socket layer initialized
[ 18.574361] Bluetooth: RFCOMM TTY layer initialized
[ 18.574365] Bluetooth: RFCOMM socket layer initialized
[ 18.574368] Bluetooth: RFCOMM ver 1.11
相关资源:
答案1
您缺少蓝牙固件。
cd /lib/firmware/brcm
sudo wget https://github.com/winterheart/broadcom-bt-firmware/raw/master/brcm/BCM20702A1-13d3-3404.hcd
sudo modprobe -r btusb
sudo modprobe btusb
看看是否有效