bluetooth vindt geen speaker / smartphone

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mark_v_p

bluetooth vindt geen speaker / smartphone

Post by mark_v_p »

hoi,
ik werk sinds kort met linux mint 18.3 kde, wat mij zeer goed bevalt maar ik krijg mijn bluetooth niet in orde. De installatie is wel gelukt... denk ik maar ik kan apparaten vinden. Na wat gegoogle is volgende info voor een oplossing te zoeken belangrijk denk ik... Kan er hier iemand mij verder helpen ?? ( ... van programmeren e.d. ken ik niets... :( :( :( )
mark@mark-HP-Pavilion-17-Notebook-PC ~ $ lsusb |grep Bluetooth
Bus 001 Device 005: ID 0a5c:216c Broadcom Corp. BCM43142A0 Bluetooth Device
mark@mark-HP-Pavilion-17-Notebook-PC ~ $ dmesg |grep -i Bluetooth
[ 7.303336] Bluetooth: Core ver 2.22
[ 7.303352] Bluetooth: HCI device and connection manager initialized
[ 7.303354] Bluetooth: HCI socket layer initialized
[ 7.303355] Bluetooth: L2CAP socket layer initialized
[ 7.303359] Bluetooth: SCO socket layer initialized
[ 7.422042] Bluetooth: hci0: BCM: chip id 70
[ 7.423025] Bluetooth: hci0: BCM: features 0x06
[ 7.439056] Bluetooth: hci0: mark-HP-Pavilion-17-Notebook-PC
[ 7.439060] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 7.442682] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[ 7.442685] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 8.305071] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 8.305072] Bluetooth: BNEP filters: protocol multicast
[ 8.305076] Bluetooth: BNEP socket layer initialized
[ 9.467983] Bluetooth: hci0 command 0x1003 tx timeout
[ 27.314441] Bluetooth: RFCOMM TTY layer initialized
[ 27.314449] Bluetooth: RFCOMM socket layer initialized
[ 27.314452] Bluetooth: RFCOMM ver 1.11
mark@mark-HP-Pavilion-17-Notebook-PC ~ $
merci.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
ClixTrix

Re: bluetooth vindt geen speaker / smartphone

Post by ClixTrix »

[ 7.442682] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2

You need the firmware for that Broadcom Bluetooth device. Here's a prior forum post with instructions. Use the terminal commands there and post back if you have any problems.

viewtopic.php?t=224099
mark_v_p

Re: bluetooth vindt geen speaker / smartphone

Post by mark_v_p »

hello,
still the same ...

i have this now :
mark@mark-HP-Pavilion-17-Notebook-PC ~ $ dmesg | grep firmware
[ 17.523772] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
mark@mark-HP-Pavilion-17-Notebook-PC ~ $ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
mark@mark-HP-Pavilion-17-Notebook-PC ~ $
ClixTrix

Re: bluetooth vindt geen speaker / smartphone

Post by ClixTrix »

Which version of Mint are you running?

Check the /lib/firmware/brcm folder and make sure the file is there.

Did you reboot the system after the download and copy of the file to /lib/firmware/brcm folder was completed as a test?

Also, try renaming the file to BCM.hcd in your home folder and redo the copy with the new file name and test.
mark_v_p

Re: bluetooth vindt geen speaker / smartphone

Post by mark_v_p »

hello,

1. i'm using mint 18.3 KDE
2.
mark@mark-HP-Pavilion-17-Notebook-PC /lib/firmware/brcm $ dir
BCM43142A0-0a5c-216c.hcd BCM-final.hcd brcmfmac43241b4-sdio.bin brcmfmac43340-sdio.bin brcmfmac43430-sdio.bin brcmfmac43569.bin brcmfmac43602-pcie.ap.bin
BCM43142A0-0a5c-216d.hcd brcmfmac43143.bin brcmfmac43241b5-sdio.bin brcmfmac4334-sdio.bin brcmfmac43455-sdio.bin brcmfmac4356-pcie.bin brcmfmac43602-pcie.bin
bcm4329-fullmac-4.bin brcmfmac43143-sdio.bin brcmfmac43242a.bin brcmfmac4335-sdio.bin brcmfmac4350c2-pcie.bin brcmfmac4356-sdio.bin brcmfmac4366b-pcie.bin
bcm43xx-0.fw brcmfmac43236b.bin brcmfmac4329-sdio.bin brcmfmac43362-sdio.bin brcmfmac4350-pcie.bin brcmfmac43570-pcie.bin brcmfmac4371-pcie.bin
bcm43xx_hdr-0.fw brcmfmac43241b0-sdio.bin brcmfmac4330-sdio.bin brcmfmac4339-sdio.bin brcmfmac4354-sdio.bin brcmfmac4358-pcie.bin
mark@mark-HP-Pavilion-17-Notebook-PC /lib/firmware/brcm $
3.yes i did reboot
4. i renamed the file to bcm-final and did all the steps again. Did a reboot and have no working bluetooth.
Tis is wath i get now :
mark@mark-HP-Pavilion-17-Notebook-PC /lib/firmware/brcm $ lsusb |grep Bluetooth
Bus 001 Device 005: ID 0a5c:216c Broadcom Corp. BCM43142A0 Bluetooth Device
mark@mark-HP-Pavilion-17-Notebook-PC /lib/firmware/brcm $ dmesg |grep -i Bluetooth
[ 10.395027] Bluetooth: Core ver 2.22
[ 10.395062] Bluetooth: HCI device and connection manager initialized
[ 10.395065] Bluetooth: HCI socket layer initialized
[ 10.395068] Bluetooth: L2CAP socket layer initialized
[ 10.395074] Bluetooth: SCO socket layer initialized
[ 10.517869] Bluetooth: hci0: BCM: chip id 70
[ 10.518821] Bluetooth: hci0: BCM: features 0x06
[ 10.534803] Bluetooth: hci0: mark-HP-Pavilion-17-Notebook-PC
[ 10.534807] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 10.535155] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[ 10.535156] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 12.539993] Bluetooth: hci0 command 0x1003 tx timeout
[ 12.607905] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 12.607907] Bluetooth: BNEP filters: protocol multicast
[ 12.607909] Bluetooth: BNEP socket layer initialized
[ 65.112340] Bluetooth: RFCOMM TTY layer initialized
[ 65.112346] Bluetooth: RFCOMM socket layer initialized
[ 65.112351] Bluetooth: RFCOMM ver 1.11
[ 91.307917] Modules linked in: rfcomm bnep btusb btrtl btbcm btintel bluetooth ecdh_generic uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media bbswitch(OE) nvidia_uvm(POE) binfmt_misc hp_wmi sparse_keymap wmi_bmof nls_iso8859_1 intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi snd_hda_codec_realtek wl(POE) snd_hda_codec_generic coretemp hp_accel kvm nvidia_drm(POE) lis3lv02d hp_wireless snd_hda_intel irqbypass crct10dif_pclmul crc32_pclmul nvidia_modeset(POE) snd_hda_codec ghash_clmulni_intel pcbc nvidia(POE) aesni_intel aes_x86_64 joydev crypto_simd input_leds glue_helper cryptd intel_cstate intel_rapl_perf snd_hda_core snd_hwdep snd_pcm ip6t_REJECT snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer input_polldev mac_hid
mark@mark-HP-Pavilion-17-Notebook-PC /lib/firmware/brcm $
greetzz
Mark
ClixTrix

Re: bluetooth vindt geen speaker / smartphone

Post by ClixTrix »

Module name is case sensitive. BCM.hcd not bcm.hcd

Could that be the problem?
mark_v_p

Re: bluetooth vindt geen speaker / smartphone

Post by mark_v_p »

hello,

where do i find that file ? Or wich file i have to rename ?
mark@mark-HP-Pavilion-17-Notebook-PC /lib/firmware/brcm $ dir
BCM43142A0-0a5c-216c.hcd BCM-final.hcd brcmfmac43241b4-sdio.bin brcmfmac43340-sdio.bin brcmfmac43430-sdio.bin brcmfmac43569.bin brcmfmac43602-pcie.ap.bin
BCM43142A0-0a5c-216d.hcd brcmfmac43143.bin brcmfmac43241b5-sdio.bin brcmfmac4334-sdio.bin brcmfmac43455-sdio.bin brcmfmac4356-pcie.bin brcmfmac43602-pcie.bin
bcm4329-fullmac-4.bin brcmfmac43143-sdio.bin brcmfmac43242a.bin brcmfmac4335-sdio.bin brcmfmac4350c2-pcie.bin brcmfmac4356-sdio.bin brcmfmac4366b-pcie.bin
bcm43xx-0.fw brcmfmac43236b.bin brcmfmac4329-sdio.bin brcmfmac43362-sdio.bin brcmfmac4350-pcie.bin brcmfmac43570-pcie.bin brcmfmac4371-pcie.bin
bcm43xx_hdr-0.fw brcmfmac43241b0-sdio.bin brcmfmac4330-sdio.bin brcmfmac4339-sdio.bin brcmfmac4354-sdio.bin brcmfmac4358-pcie.bin
mark@mark-HP-Pavilion-17-Notebook-PC /lib/firmware/brcm $
Mark
ClixTrix

Re: bluetooth vindt geen speaker / smartphone

Post by ClixTrix »

If you run the following command from Terminal and copy-paste back the results, it should show if the broadcom firmware file was copied to the folder.

Code: Select all

ls -a /lib/firmware/brcm
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: bluetooth vindt geen speaker / smartphone

Post by JeremyB »

Code: Select all

wget https://www.dropbox.com/s/r6q9zt59darq80n/BCM43142A0-0a5c-216c.hcd
sudo cp BCM43142A0-0a5c-216c.hcd /lib/firmware/brcm/BCM.hcd
sudo modprobe -r btusb
sudo modprobe btusb
You may have to power off the computer and boot
mark_v_p

Re: bluetooth vindt geen speaker / smartphone

Post by mark_v_p »

hello,
i try this :
CODE: SELECT ALL

wget https://www.dropbox.com/s/r6q9zt59darq8 ... c-216c.hcd
sudo cp BCM43142A0-0a5c-216c.hcd /lib/firmware/brcm/BCM.hcd
sudo modprobe -r btusb
sudo modprobe btusb
and now i don't see my BT adapter anymore ... :? :?

if i do all the previus codes again , i have this :
ark@mark-HP-Pavilion-17-Notebook-PC ~ $ ls -a /lib/firmware/brcm
. bcm43xx_hdr-0.fw brcmfmac43241b0-sdio.bin brcmfmac43340-sdio.bin brcmfmac43455-sdio.bin brcmfmac4356-sdio.bin brcmfmac4371-pcie.bin
.. BCM-final.hcd brcmfmac43241b4-sdio.bin brcmfmac4334-sdio.bin brcmfmac4350c2-pcie.bin brcmfmac43570-pcie.bin
BCM43142A0-0a5c-216c.hcd BCM.hcd brcmfmac43241b5-sdio.bin brcmfmac4335-sdio.bin brcmfmac4350-pcie.bin brcmfmac4358-pcie.bin
BCM43142A0-0a5c-216d.hcd brcmfmac43143.bin brcmfmac43242a.bin brcmfmac43362-sdio.bin brcmfmac4354-sdio.bin brcmfmac43602-pcie.ap.bin
bcm4329-fullmac-4.bin brcmfmac43143-sdio.bin brcmfmac4329-sdio.bin brcmfmac4339-sdio.bin brcmfmac43569.bin brcmfmac43602-pcie.bin
bcm43xx-0.fw brcmfmac43236b.bin brcmfmac4330-sdio.bin brcmfmac43430-sdio.bin brcmfmac4356-pcie.bin brcmfmac4366b-pcie.bin
mark@mark-HP-Pavilion-17-Notebook-PC ~ $ lsusb |grep Bluetooth
mark@mark-HP-Pavilion-17-Notebook-PC ~ $ dmesg |grep -i Bluetooth
mark@mark-HP-Pavilion-17-Notebook-PC ~ $ dmesg | grep firmware
mark@mark-HP-Pavilion-17-Notebook-PC ~ $ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: no
mark@mark-HP-Pavilion-17-Notebook-PC ~
mvg
Mark
ClixTrix

Re: bluetooth vindt geen speaker / smartphone

Post by ClixTrix »

ark@mark-HP-Pavilion-17-Notebook-PC ~ $ ls -a /lib/firmware/brcm
. bcm43xx_hdr-0.fw brcmfmac43241b0-sdio.bin brcmfmac43340-sdio.bin brcmfmac43455-sdio.bin brcmfmac4356-sdio.bin brcmfmac4371-pcie.bin
.. BCM-final.hcd brcmfmac43241b4-sdio.bin brcmfmac4334-sdio.bin brcmfmac4350c2-pcie.bin brcmfmac43570-pcie.bin
BCM43142A0-0a5c-216c.hcd BCM.hcd brcmfmac43241b5-sdio.bin brcmfmac4335-sdio.bin brcmfmac4350-pcie.bin brcmfmac4358-pcie.bin
BCM43142A0-0a5c-216d.hcd brcmfmac43143.bin brcmfmac43242a.bin brcmfmac43362-sdio.bin brcmfmac4354-sdio.bin brcmfmac43602-pcie.ap.bin
bcm4329-fullmac-4.bin brcmfmac43143-sdio.bin brcmfmac4329-sdio.bin brcmfmac4339-sdio.bin brcmfmac43569.bin brcmfmac43602-pcie.bin
bcm43xx-0.fw brcmfmac43236b.bin brcmfmac4330-sdio.bin brcmfmac43430-sdio.bin brcmfmac4356-pcie.bin brcmfmac4366b-pcie.bin
OK, file is there and I marked it with color Blue. I see where prior attempt was wrong file name and marked it with color Red.

Have you tried a reboot of system?
mark_v_p

Re: bluetooth vindt geen speaker / smartphone

Post by mark_v_p »

yes i did reboot the system.
But after that i even don't find a bluetooth adapter...

mvg
Mark
ClixTrix

Re: bluetooth vindt geen speaker / smartphone

Post by ClixTrix »

Need to ask you which kernel you are running, as I've been checking on file name issues.

If you run the following command from terminal, it will provide the kernel version.

Code: Select all

uname -r
The reason I'm asking is due to file naming requirement may operate differently with different kernel versions. This article at ubuntu explains.

https://askubuntu.com/questions/632336/ ... nt-working

I've been assuming that the error message showing missing file BCM.hcd was correct for name. The article helps explain why Broadcom Bluetooth is a complicated problem.
mark_v_p

Re: bluetooth vindt geen speaker / smartphone

Post by mark_v_p »

it's this :
mark@mark-HP-Pavilion-17-Notebook-PC ~ $ uname -r
4.13.0-26-generic
mark@mark-HP-Pavilion-17-Notebook-PC ~ $
must i follow this link ?? https://askubuntu.com/questions/632336/ ... nt-working

greetzz
Mark
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: bluetooth vindt geen speaker / smartphone

Post by JeremyB »

Post new results for

Code: Select all

dmesg | egrep -i 'blue|firm'
mark_v_p

Re: bluetooth vindt geen speaker / smartphone

Post by mark_v_p »

i have this :
mark@mark-HP-Pavilion-17-Notebook-PC ~ $ dmesg | egrep -i 'blue|firm'
[ 0.099461] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 1.514466] [Firmware Bug]: Invalid critical threshold (0)
[ 1.750181] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
mark@mark-HP-Pavilion-17-Notebook-PC ~ $
mark_v_p

Re: bluetooth vindt geen speaker / smartphone

Post by mark_v_p »

and this :
[sudo] wachtwoord voor mark:
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Condition: start condition failed at vr 2018-01-19 20:29:57 CET; 9min ago
ConditionPathIsDirectory=/sys/class/bluetooth was not met
Docs: man:bluetoothd(8)
mark@mark-HP-Pavilion-17-Notebook-PC ~ $
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: bluetooth vindt geen speaker / smartphone

Post by JeremyB »

Some of these bluetooth devices have had issues loading firmware recently, I would just remove the fiirmware wit

Code: Select all

sudo rm /lib/firmware/brcm/BCM.hcd
You might be able to find a different hex file from the Windows driver to convert so it can be used in Linux by seeing https://askubuntu.com/questions/632336/ ... nt-working
mark_v_p

Re: bluetooth vindt geen speaker / smartphone

Post by mark_v_p »

hello,

my bluetooth is working BUT... my wifi is very very bad now...
suggestions ??



mvg
Mark
mark_v_p

Re: bluetooth vindt geen speaker / smartphone

Post by mark_v_p »

mark@mark-HP-Pavilion-17-Notebook-PC ~ $ dmesg | grep -i blue
[ 13.841882] Bluetooth: Core ver 2.22
[ 13.841901] Bluetooth: HCI device and connection manager initialized
[ 13.841904] Bluetooth: HCI socket layer initialized
[ 13.841905] Bluetooth: L2CAP socket layer initialized
[ 13.841910] Bluetooth: SCO socket layer initialized
[ 13.958038] Bluetooth: hci0: BCM: chip id 70
[ 13.958993] Bluetooth: hci0: BCM: features 0x06
[ 13.974980] Bluetooth: hci0: mark-HP-Pavilion-17-Notebook-PC
[ 13.974984] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 14.701104] Bluetooth: hci0: BCM (001.001.011) build 0231
[ 14.717130] Bluetooth: hci0: Broadcom 43142 Bluetooth 4.0 Adapter
[ 14.902651] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 14.902652] Bluetooth: BNEP filters: protocol multicast
[ 14.902655] Bluetooth: BNEP socket layer initialized
[ 27.733280] Bluetooth: RFCOMM TTY layer initialized
[ 27.733286] Bluetooth: RFCOMM socket layer initialized
[ 27.733291] Bluetooth: RFCOMM ver 1.11
[ 871.079332] Modules linked in: rfcomm bnep btusb btrtl btbcm btintel bluetooth ecdh_generic uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media bbswitch(OE) binfmt_misc nls_iso8859_1 wl(POE) nvidia_uvm(POE) nvidia_drm(POE) nvidia_modeset(POE) hp_wmi sparse_keymap wmi_bmof snd_hda_codec_realtek snd_hda_codec_generic nvidia(POE) snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep intel_rapl snd_pcm x86_pkg_temp_thermal intel_powerclamp snd_seq_midi snd_seq_midi_event coretemp snd_rawmidi snd_seq kvm snd_seq_device snd_timer ip6t_REJECT irqbypass nf_reject_ipv6 crct10dif_pclmul crc32_pclmul input_leds joydev ghash_clmulni_intel nf_log_ipv6 pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd hp_accel intel_cstate hp_wireless lis3lv02d input_polldev
[ 879.889434] Modules linked in: rfcomm bnep btusb btrtl btbcm btintel bluetooth ecdh_generic uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media bbswitch(OE) binfmt_misc nls_iso8859_1 wl(POE) nvidia_uvm(POE) nvidia_drm(POE) nvidia_modeset(POE) hp_wmi sparse_keymap wmi_bmof snd_hda_codec_realtek snd_hda_codec_generic nvidia(POE) snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep intel_rapl snd_pcm x86_pkg_temp_thermal intel_powerclamp snd_seq_midi snd_seq_midi_event coretemp snd_rawmidi snd_seq kvm snd_seq_device snd_timer ip6t_REJECT irqbypass nf_reject_ipv6 crct10dif_pclmul crc32_pclmul input_leds joydev ghash_clmulni_intel nf_log_ipv6 pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd hp_accel intel_cstate hp_wireless lis3lv02d input_polldev
mark@mark-HP-Pavilion-17-Notebook-PC ~ $
Locked

Return to “Hardware Support”