[SOLVED] LM18.1 - Bluetooth on HP Notebook does not detect devices

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
linoleum
Level 1
Level 1
Posts: 14
Joined: Thu Apr 06, 2017 7:35 am

[SOLVED] LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by linoleum » Fri Jan 05, 2018 9:45 am

Hi all,

I'm still new to Linux and I have another problem. Checking out other posts it appears to be a common problem, from what I can see, but nothing I've read and tried so far has worked. It is, simply, that Bluetooth does not detect any devices; it just sits there searching.

Here's some background info: I have LM18.1 Cinnamon installed (dual booted with Win 10) on to a HP 17-y054na notebook (64bit AMD quad core). I did have a wireless issue that JeremyB solved for me a while ago but I've never needed bluetooth until now for my new headphones. I have tried to have it detect my phone but no joy there either. I have found a cmd from another post that outputs info about the wi-fi and bluetooth:

lspci -nnk | grep -iA3 net; lsusb; rfkill list; dmesg | egrep -i 'blue|firm'

The output is here: https://pastebin.com/Y9kRWT2e

Will someone please advise me what to do next?

Thanks
Last edited by linoleum on Sat Jan 27, 2018 1:29 pm, edited 1 time in total.

linoleum
Level 1
Level 1
Posts: 14
Joined: Thu Apr 06, 2017 7:35 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by linoleum » Mon Jan 08, 2018 8:16 am

Anyone?

JeremyB
Level 18
Level 18
Posts: 8827
Joined: Fri Feb 21, 2014 8:17 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by JeremyB » Mon Jan 08, 2018 8:36 am

try

Code: Select all

wget https://www.dropbox.com/s/olqnqevf698lddo/fw-0a5c_216d.hcd
sudo cp fw-0a5c_216d.hcd /lib/firmware/BCM.hcd
Reboot

User avatar
coffee412
Level 5
Level 5
Posts: 821
Joined: Mon Nov 12, 2012 7:38 pm
Location: Indiana, USA
Contact:

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by coffee412 » Mon Jan 08, 2018 8:49 am

I dont have any bluetooth devices really to play with but I did see this in your log that might be your problem:

Code: Select all

[   22.141289] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
Basically, It looks like your firmware for your bluetooth (hci0) did not load. Atleast its somewhere to start.

Then it reports this :

Code: Select all

[   22.141301] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
Which most likely is related to the first error.

Like I said, I do not have much experience with bluetooth but at least to me it looks like the firmware for your bluetooth never loaded.
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
IceWarp * Samba AD * Mint 18.1 * RAID 1/5 * OpenVPN * Linux since kernel 2.0.36

linoleum
Level 1
Level 1
Posts: 14
Joined: Thu Apr 06, 2017 7:35 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by linoleum » Wed Jan 10, 2018 7:00 am

Hi JeremyB. Ran your commands in a terminal window (cut and paste) but there's been no change, I'm afraid.

JeremyB
Level 18
Level 18
Posts: 8827
Joined: Fri Feb 21, 2014 8:17 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by JeremyB » Wed Jan 10, 2018 7:06 am

Please post results for

Code: Select all

dmesg | egrep -i 'blue|firm'; ls /lib/firmware/brcm | grep hcd

linoleum
Level 1
Level 1
Posts: 14
Joined: Thu Apr 06, 2017 7:35 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by linoleum » Wed Jan 10, 2018 8:25 am

[ 0.313489] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[ 0.339233] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[ 0.350918] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[ 1.608141] [drm] Found VCE firmware/feedback version 40.2.2 / 15!
[ 20.742349] Bluetooth: Core ver 2.21
[ 20.742388] Bluetooth: HCI device and connection manager initialized
[ 20.742394] Bluetooth: HCI socket layer initialized
[ 20.742399] Bluetooth: L2CAP socket layer initialized
[ 20.742408] Bluetooth: SCO socket layer initialized
[ 21.336695] Bluetooth: hci0: BCM: chip id 70
[ 21.352809] Bluetooth: hci0: BCM43142A
[ 21.352819] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 21.617325] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[ 21.617338] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 23.622972] Bluetooth: hci0 command 0x1003 tx timeout
[ 27.772039] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 27.772045] Bluetooth: BNEP filters: protocol multicast
[ 27.772052] Bluetooth: BNEP socket layer initialized
[ 71.385682] Bluetooth: RFCOMM TTY layer initialized
[ 71.385696] Bluetooth: RFCOMM socket layer initialized
[ 71.385708] Bluetooth: RFCOMM ver 1.11
BCM-0a5c-6410.hcd

JeremyB
Level 18
Level 18
Posts: 8827
Joined: Fri Feb 21, 2014 8:17 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by JeremyB » Wed Jan 10, 2018 11:10 am

Try the instructions from viewtopic.php?f=53&t=260933#p1410929 again as I see no BCM.hcd file

Also, what kernel are you using

Code: Select all

uname -a

linoleum
Level 1
Level 1
Posts: 14
Joined: Thu Apr 06, 2017 7:35 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by linoleum » Thu Jan 11, 2018 4:45 am

Hello JeremyB,

I ran those instructions again and rebooted and Bluetooth still doesn't find any devices. I've run the 'dmesg' command and the output now is:

[ 0.313474] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[ 0.342405] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[ 0.353075] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[ 1.604912] [drm] Found VCE firmware/feedback version 40.2.2 / 15!
[ 22.029781] Bluetooth: Core ver 2.21
[ 22.029807] Bluetooth: HCI device and connection manager initialized
[ 22.029814] Bluetooth: HCI socket layer initialized
[ 22.029819] Bluetooth: L2CAP socket layer initialized
[ 22.029827] Bluetooth: SCO socket layer initialized
[ 22.226412] Bluetooth: hci0: BCM: chip id 70
[ 22.242441] Bluetooth: hci0: BCM43142A
[ 22.242450] Bluetooth: hci0: BCM (001.001.011) build 0000
[ 22.679129] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[ 22.679141] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 24.683805] Bluetooth: hci0 command 0x1003 tx timeout
[ 29.159718] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 29.159725] Bluetooth: BNEP filters: protocol multicast
[ 29.159733] Bluetooth: BNEP socket layer initialized
[ 64.552543] Bluetooth: RFCOMM TTY layer initialized
[ 64.552561] Bluetooth: RFCOMM socket layer initialized
[ 64.552571] Bluetooth: RFCOMM ver 1.11
BCM-0a5c-6410.hcd

The output of 'uname -a' is: 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

JeremyB
Level 18
Level 18
Posts: 8827
Joined: Fri Feb 21, 2014 8:17 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by JeremyB » Thu Jan 11, 2018 6:00 am

Found the issue, a typo

Code: Select all

sudo cp fw-0a5c_216d.hcd /lib/firmware/brcm/BCM.hcd

linoleum
Level 1
Level 1
Posts: 14
Joined: Thu Apr 06, 2017 7:35 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by linoleum » Thu Jan 11, 2018 4:17 pm

Hi Jeremy,

I ran:

wget https://www.dropbox.com/s/olqnqevf698ld ... c_216d.hcd
sudo cp fw-0a5c_216d.hcd /lib/firmware/brcm/BCM.hcd

then rebooted and bluetooth is still not working. It has changed, however, in as much as it now claims my computer will be visible as 'Bastian's computer' and the 'searching for devices' graphic (the rotating arrow) no longer rotates.

linoleum
Level 1
Level 1
Posts: 14
Joined: Thu Apr 06, 2017 7:35 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by linoleum » Thu Jan 11, 2018 4:26 pm

Incidentally, the output to 'wget https://www.dropbox.com/s/olqnqevf698ld ... c_216d.hcd' is:

c_216d.hcd
--2018-01-11 20:18:22-- https://www.dropbox.com/s/olqnqevf698ld
Resolving www.dropbox.com (www.dropbox.com)... 162.125.64.1, 2620:100:6020:1::a27d:4001
Connecting to www.dropbox.com (www.dropbox.com)|162.125.64.1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘olqnqevf698ld’

olqnqevf698ld [ <=> ] 205.45K 427KB/s in 0.5s

2018-01-11 20:18:23 (427 KB/s) - ‘olqnqevf698ld’ saved [210385]

--2018-01-11 20:18:23-- http://.../
Resolving ... (...)... failed: Name or service not known.
wget: unable to resolve host address ‘...’
--2018-01-11 20:18:23-- http://c_216d.hcd/
Resolving c_216d.hcd (c_216d.hcd)... failed: Name or service not known.
wget: unable to resolve host address ‘c_216d.hcd’
FINISHED --2018-01-11 20:18:23--
Total wall clock time: 0.9s
Downloaded: 1 files, 205K in 0.5s (427 KB/s)

There is no text output to 'sudo cp fw-0a5c_216d.hcd /lib/firmware/brcm/BCM.hcd' except for it asking for my password.

JeremyB
Level 18
Level 18
Posts: 8827
Joined: Fri Feb 21, 2014 8:17 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by JeremyB » Thu Jan 11, 2018 6:07 pm

Check

Code: Select all

ls /lib/firmware/brcm | grep hcd; rfkill list; hciconfig -a

linoleum
Level 1
Level 1
Posts: 14
Joined: Thu Apr 06, 2017 7:35 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by linoleum » Fri Jan 12, 2018 5:03 am

'ls /lib/firmware/brcm | grep hcd; rfkill list; hciconfig -a' outputs:

BCM-0a5c-6410.hcd
BCM.hcd
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: brcmwl-0: Wireless LAN
Soft blocked: yes
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
hci0: Type: BR/EDR Bus: USB
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:292 acl:0 sco:0 events:5 errors:0
TX bytes:92 acl:0 sco:0 commands:8 errors:0
Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT

JeremyB
Level 18
Level 18
Posts: 8827
Joined: Fri Feb 21, 2014 8:17 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by JeremyB » Fri Jan 12, 2018 6:16 am

See if it functions after

Code: Select all

echo -e "power on\n scan on\n quit" |bluetoothctl

skomo
Level 1
Level 1
Posts: 7
Joined: Mon Dec 18, 2017 2:59 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by skomo » Fri Jan 12, 2018 12:26 pm

Subbed, i'm on the same situation. Same adapter on an HP notebook. Followed the same steps and have similar results. ....i hope we can solve this issue

I'm running Mint 18.3 Mate

linoleum
Level 1
Level 1
Posts: 14
Joined: Thu Apr 06, 2017 7:35 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by linoleum » Fri Jan 12, 2018 12:28 pm

Still the same. Not detecting devices, 'Bastien's Computer'(!!!???) and the rotating arrow graphic is stalled.

Output of 'echo -e "power on\n scan on\n quit" |bluetoothctl' is:

[bluetooth]# power on
No default controller available
[bluetooth]# scan on
No default controller available
[bluetooth]# quit

skomo
Level 1
Level 1
Posts: 7
Joined: Mon Dec 18, 2017 2:59 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by skomo » Fri Jan 12, 2018 12:45 pm

echo -e "power on\n scan on\n quit" |bluetoothctl

Code: Select all

[bluetooth]# power on
No default controller available
[bluetooth]#  scan on
No default controller available
[bluetooth]#  quit

skomo
Level 1
Level 1
Posts: 7
Joined: Mon Dec 18, 2017 2:59 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by skomo » Fri Jan 12, 2018 2:29 pm

Problem SOLVED for me. In this thread we are working with the WRONG firmware.

I followed this guide: https://askubuntu.com/questions/632336/ ... nt-working. Now my laptop has a fully working bluetooth!

Reading forum rules, i think i'm allowed to link to external forums...
I can't directly share the firmware due to "legal limitations". but...

JeremyB
Level 18
Level 18
Posts: 8827
Joined: Fri Feb 21, 2014 8:17 am

Re: LM18.1 - Bluetooth on HP Notebook does not detect devices

Post by JeremyB » Fri Jan 12, 2018 6:02 pm

linoleum wrote:Still the same. Not detecting devices, 'Bastien's Computer'(!!!???) and the rotating arrow graphic is stalled.

Output of 'echo -e "power on\n scan on\n quit" |bluetoothctl' is:

[bluetooth]# power on
No default controller available
[bluetooth]# scan on
No default controller available
[bluetooth]# quit
Lets try another source for the firmware

Code: Select all

wget https://github.com/winterheart/broadcom-bt-firmware/blob/master/brcm/BCM43142A0-0a5c-216d.hcd
sudo cp BCM43142A0-0a5c-216d.hcd /lib/firmware/brcm/BCM.hcd
Reboot, if it doesn't work, feel free to try to make your own firmware using the askubuntu link provided by skomo
I do think that some kernel changes may have broken the firmware upload on some Broadcom bluetooth chipsets as my own Bluetooth dongle refuses to work at all when the firmware file is present but the firmware is only needed to use the HFP/HSP for low quality audio

Post Reply

Return to “Wireless”