9.18.2016

Troubleshooting Bluetooth in Linux

Your Bluetooth not running? Can't detect others bluetooth devices? Can't send and receive file from Bluetooth? Usualy Wi-Fi or Bluetooth with Broadcom Chipset always getting problem in Linux. To solve this problem the first find the error and what is your chipset.

# modprobe -r btusb
# modprobe btusb
# dmesg | grep -i bluetooth


[   12.405199] Bluetooth: Core ver 2.21
[   12.405229] Bluetooth: HCI device and connection manager initialized
[   12.405235] Bluetooth: HCI socket layer initialized
[   12.405240] Bluetooth: L2CAP socket layer initialized
[   12.405258] Bluetooth: SCO socket layer initialized
[   12.469648] Bluetooth: hci0: BCM: chip id 70
[   12.486716] Bluetooth: hci0: elementary
[   12.486724] Bluetooth: hci0: BCM (001.001.011) build 0312
[   12.516460] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[   12.516469] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found

[   19.611578] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   19.611583] Bluetooth: BNEP filters: protocol multicast
[   19.611590] Bluetooth: BNEP socket layer initialized
[   43.825133] Bluetooth: RFCOMM TTY layer initialized
[   43.825155] Bluetooth: RFCOMM socket layer initialized
[   43.825166] Bluetooth: RFCOMM ver 1.11


Above you can find the problem. See the bold text. Then query the chipset of your bluetooth device.

# lsusb
Bus 001 Device 004: ID 105b:e065 Foxconn International, Inc. BCM43142A0 Bluetooth module

Now, you know your Blutooth chipset is BCM (Broadcom) with ID 105b:e065. To fix this problem find Firmware BCM.hcd that compatible with your ID, or you can download from this link. http://www.gnebehay.com/blog/lenovo-flexpad-bluetooth-debian/BCM43142A0-105b-e065.hcd

You can find right Bluetooth Firmware in Google using keyword "BCM.hd 105b:e065". Change 105b:065 with your Bluetooth ID.

After you get the firmware, copy it to folder brcm. Follow the instruction:

# cp BCM43142A0-105b-e065.hcd /lib/firmware/brcm
# cd /lib/firmware/brcm
# ln -s BCM43142A0-105b-e065.hcd BCM.hcd


Good luck...

No comments:

Post a Comment