drivers - Bluetooth Broadcom 43142 isn't working - Ask Ubuntu


bluetooth on can't find or found other devices.

sudo service bluetooth status

● bluetooth.service - bluetooth service    loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)    active: active (running) since ხუთ 2015-06-04 22:33:18 get; 13min ago  main pid: 26678 (bluetoothd)    cgroup: /system.slice/bluetooth.service            └─26678 /usr/sbin/bluetoothd -n  ივნ 04 22:39:14 rangoo bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/hfpag ივნ 04 22:39:14 rangoo bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/hfphs ივნ 04 22:39:14 rangoo bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/a2dpsource ივნ 04 22:39:14 rangoo bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/a2dpsink ივნ 04 22:39:14 rangoo bluetoothd[26678]: bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/hfpag ივნ 04 22:39:14 rangoo bluetoothd[26678]: bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/hfphs ივნ 04 22:39:14 rangoo bluetoothd[26678]: bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/a2dpsource ივნ 04 22:39:14 rangoo bluetoothd[26678]: bluetoothd[26678]: endpoint registered: sender=:1.63 path=/mediaendpoint/bluez4/a2dpsink ივნ 04 22:39:14 rangoo bluetoothd[26678]: adapter /org/bluez/26678/hci0 has been enabled ივნ 04 22:39:14 rangoo bluetoothd[26678]: bluetoothd[26678]: adapter /org/bluez/26678/hci0 has been enabled 

lsusb

bus 003 device 005: id 0a5c:21d7 broadcom corp. bcm43142 bluetooth 4.0 

how can fix it?

you need install firmware.

distribution of broadcom firmware not allowed broadcom license. need yourself. bit complex, there no other legal way.

  1. download broadcom windows 8 driver or from here.

if device not listed in these drivers, you'll need find newer version of somewhere. broadcom removed latest drivers site make more difficult.

some laptop vendors have bluetooth drivers on sites, of them not unzippable. quest. download latest broadcom drivers site, not there more.

  1. open file archive manager , find there bcbtums-win8x86-brcm.inf file. name of file may differ in drivers. can bcbtums.inf located @ win32 or win64 directory. not matter 32 or 64 bit download.
  2. search file vid_0a5c&pid_21d7. these numbers lsusb output

    0a5c:21d7 broadcom corp. bcm43142 bluetooth 4.0.

comment: devices not recognized broadcom bt in lsusb. if unsure 1 bt device, run usb-devices command, give more detailed information. there can find product , vendor ids.

you see line ending ramusb21d7

search file ramusb21d7. find section there that:

    [ramusb21d7.copylist]     bcbtums.sys     btwampfl.sys     bcm43142a0_001.001.011.0122.0126.hex 

that's looking for. name of firmware file. bcm43142a0_001.001.011.0122.0126.hex

  1. now extract firmware same cab file.

    then need convert file hex hcd format.

  2. download tool that

    git clone git://github.com/jessesung/hex2hcd.git cd hex2hcd make 

    you hex2hcd folder in home directory.

  3. place firmware file home folder , run

    ~/hex2hcd/hex2hcd ~/bcm43142a0_001.001.011.0122.0126.hex ~/bcm43142a0-0a5c-21d7.hcd 

    you see 0a5c-21d7 id of adapter lsusb.

important: kernels 4.2+ call file bcm.hcd instead.

   ~/hex2hcd/hex2hcd ~/bcm43142a0_001.001.011.0122.0126.hex ~/bcm.hcd 

for kernels 4.8+ name of file should bcm-<vid>-<pid>.hcd, bcm-0a5c-21d7.

  1. now copy bcm43142a0-0a5c-21d7.hcd, or file according kernel version /lib/firmware/brcm directory by

    sudo cp ~/bcm43142a0-0a5c-21d7.hcd /lib/firmware/brcm 

for kernels 4.2+

    sudo cp ~/bcm.hcd /lib/firmware/brcm 

for kernels 4.8+

    sudo cp ~/bcm-0a5c-21d7.hcd  /lib/firmware/brcm 

you can check if file name correct running dmesg | grep -i blue. there error message if file not found.

  1. turn computer off , on again. not reboot!

    your adapter firmware , bluetooth should work.

all looks complicated, broadcom lawyers blame that. of other vendors allow re-distribute firmware under condition done acompanied license.

that allows linux maintainers include firmware in distributions.

but not in case of broadcom. that's why not done easy way.

many people convert hex files hcd , make them available. or add them linux-firmware package of ubuntu.

but not legal :-((


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User