Fix dell bluetooth on ubuntu 14.04

Finally Today in iThePro we will see how we can fix dell bluetooth on ubuntu 14.04 which is Broadcom Corp. BCM43142 Bluetooth 4.0 .


So my Dell’s laptop Inspiron 17 3721, comes with a Mini PCI-e Broadcom BCM43142 adapter for Wifi and Bluetooth. Any way bluetooth is work great after installing the driver of Broadcom BCM43142 .


but the bleutooth sill not working !!! . So now let’s how we can fix it :

1- Open Terminal and type “lsusb” .

amriunix@dell:~$ lsusb
 Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 005: ID 0bda:58c2 Realtek Semiconductor Corp.
 Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
 Bus 001 Device 003: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0
 Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 003 Device 002: ID 0e8f:00fb GreenAsia Inc.
 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Or the resulat may be like this :
 
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 05e3:0747 Genesys Logic, Inc. 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 105b:e065  
Bus 003 Device 007: ID 1532:0033 Razer USA, Ltd 
Bus 003 Device 006: ID 041e:30df Creative Technology, Ltd 
Bus 003 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 003 Device 002: ID 174f:1474 Syntek 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Note that 105b:e065 and 0a5c:21b7 can be different then you machine but they referrer to BCM43142 . So you need to memorize them because we will need it later on.
So let’s keep going !! to fix this issue on my Dell laptop Inspiron 17 3721 this steps i did to get it work :
2 – Obtain the .hex driver’s file from my windows partition which the BCM43142’s Driver install and bleutooth work great, to get the file you can check the “C:\windows\system32\drivers” folder and look for it, it may like this : “BCM43xxxxxxx.hex” . Don’t worrry if you didn’t find it, just go head and check the device manager .


3- The .hex file need to be converted to a .hcd file, after that don’t forget to Replace the 105b_e065 with your device id. Now let’s see how we can Get the tool, convert, and place the hcd file to the firmware directory by performing  .
Download the Hex file (BCM43142A0_001.001.011.0161.0172.hex) .


$ cd /home/ikhsan/bt
$ git clone git://github.com/jessesung/hex2hcd.git
$ cd hex2hcd
$ make
$./hex2hcd ../BCM43142A0_001.001.011.0161.0172.hex fw-0a5c_21d7.hcd 
$ sudo cp fw-0a5c_21d7.hcd /lib/firmware

Note : Don’t Forget to Replace the 0a5c_21d7 with your device id.
if you want to download the .hcd file (fw-0a5c_21d7.hcd)
4 – Reload btusb module by performing :

$ sudo modprobe -r btusb
$ sudo modprobe btusb

If that doesn’t work, reboot the machine.
You should now have a working bluetooth adapter.


Update - 01/03/2015 - Fix dell bluetooth on ubuntu 14.04.02

Insted of fw-xxxx_yyyy.hcd you should use BCM43142A0-0a5c-21d7.hcd.
Then copy the generated hcd file to /lib/firmware/ and restart.

References :
http://outhereinthefield.wordpress.com
http://askubuntu.com/questions/547552/bluetooth-not-working-on-14-10-with-bcm43142 

Update - 17/07/2016 - Fix dell bluetooth on ubuntu 16.04

This will work 100%

http://askubuntu.com/questions/632336/bluetooth-broadcom-43142-isnt-working-on-ubuntu


Author

OUSSAMA AMRI

Oussama Amri 21 years, security professional from Tunisia. Lover of computer science especially programming and secuirty. Follow me On :

Popular Posts

iThePro.com. Powered by Blogger.