Why does Blutooth not connect?

The Bluetooth unit can find, but not connect to other devices on Debian Testing (9.0 Stretch). Bluetooth works well with a different Operating System. BIOS settings permit wireless.

The following packages were installed:

  • bluez-firmware
  • broadcom-sta-common
  • broadcom-sta-dkms
  • broadcom-sta-source
  • firmware-brcm80211
  • firmware-misc-nonfree
$ 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

Related Resources:

up vote 4 down vote accepted

You are missing firmware for the bluetooth.

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

See if it works

  • Thanks very much. There was an improvement. For a few seconds, the button changed to disconnect. But now it is back to connect again. 1) The other files in that folder are .bin, not .hcd. 2) Maybe the speaker actually is connected, but the interface says it isn't. How could one check using the CLI? – user75798 Apr 22 '17 at 14:38
  • 1
    Check pactl list short | grep blue to see if module-bluetooth-discover is loaded, if not pactl load-module module-bluetooth-discover Then see if reconnecting works – Jeremy31 Apr 22 '17 at 17:37
  • Thanks again @Jeremy31 The first command run as root returned no message. The second command had the following error message: Failure: Module initialization failed – user75798 Apr 22 '17 at 18:52
  • As pulseaudio-module-bluetooth was absent, I installed it, but there seems to be no improvement. There is no file /usr/bin/start-pulseaudio-x11. Maybe a reboot or something is required. – user75798 Apr 22 '17 at 19:36

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.