[Solved] Please help with Bluetooth

Questions about applications and software
Forum rules
Before you post please read how to get help
Locked
User avatar
CtrlAltDel
Level 5
Level 5
Posts: 522
Joined: Sun Jun 27, 2010 7:01 pm
Location: Birmingham, AL., USA

[Solved] Please help with Bluetooth

Post by CtrlAltDel » Thu Sep 01, 2016 2:30 am

I recently upgraded to Mint 18 Cinnamon and bluetooth stopped working. Does anyone know if there are different files I need to use to correspond with this version of Mint or have any suggestions on how to get it to work?

I ran these two commands:
sudo modprobe -r btusb
rfkill unblock bluetooth

and

rfkill list all shows Bluetooth as Soft Blocked: Yes Hard Blocked: No.

Code: Select all

Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
	Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1028:05b7]
	Kernel driver in use: r8169
	Kernel modules: r8169
04:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
	Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016]
	Kernel driver in use: wl
Bus 003 Device 006: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0
Last edited by CtrlAltDel on Fri Sep 02, 2016 8:31 pm, edited 1 time in total.
Intel i7-4790 Processor
Nvidia GeForce GT 720
8 GB Memory - 2x1 TB HD's
Mint 19.2 Cinnamon

vimsical
Level 1
Level 1
Posts: 8
Joined: Sat Jan 04, 2014 1:05 am

Re: PLease help with Bluetooth

Post by vimsical » Thu Sep 01, 2016 2:41 am

Are you sure that the firmware for that bluetooth device is loaded? Broadcom chip firmware are not shipped due to IP issue. Check your dmesg and see if there is relevant error message.

The issue I encountered and resolved is here: viewtopic.php?f=49&t=228805

User avatar
CtrlAltDel
Level 5
Level 5
Posts: 522
Joined: Sun Jun 27, 2010 7:01 pm
Location: Birmingham, AL., USA

Re: PLease help with Bluetooth

Post by CtrlAltDel » Thu Sep 01, 2016 2:51 am

vimsical wrote:Are you sure that the firmware for that bluetooth device is loaded? Broadcom chip firmware are not shipped due to IP issue. Check your dmesg and see if there is relevant error message.

The issue I encountered and resolved is here: viewtopic.php?f=49&t=228805
I'm not sure if that would work for me. I'm just getting the old "adapter not found" issue. I should have mentioned that. ABout the bluetooth device being loaded, I'm not sure. It was working with Mint 17, does that matter?

For firmware in Mint 17 I had these:

BCM43142A0-0a5c-21d7.hcd
fw-0a5c_21d7.hcd

in lib/firmware/brcm

I had to download these and install them to make Bluetooth work in 17. Did they change for Mint 18?
Intel i7-4790 Processor
Nvidia GeForce GT 720
8 GB Memory - 2x1 TB HD's
Mint 19.2 Cinnamon

User avatar
CtrlAltDel
Level 5
Level 5
Posts: 522
Joined: Sun Jun 27, 2010 7:01 pm
Location: Birmingham, AL., USA

Re: PLease help with Bluetooth

Post by CtrlAltDel » Thu Sep 01, 2016 11:30 am

Does anyone know which firmware I should be using? If I just had a couple of names, I could probably figure out how to do everything else myself.

This is my network controller.

Broadcom Corporation BCM43142 802.11b/g/n (rev 01)

I updated Mint online so, I'm not even entirely sure that I have the correct firmware files for Bluetooth in the new system. And honestly, I tried some procedure where I downloaded what I thought were updated firmware files but, they didn't work either. So, I may have altered something that I shouldn't have.

I'm not sure if I have the correct files in lib/firmware/brcm. I did d/l some other ones and they didn't work. I can't remember now if I deleted the right ones. Maybe I deleted the wrong two files.

These are the two files in question:

BCM43142A0-0a5c-21d7.hcd
fw-0a5c_21d7.hcd

Is that right for Mint 18 or were those the Mint 17 files?
Intel i7-4790 Processor
Nvidia GeForce GT 720
8 GB Memory - 2x1 TB HD's
Mint 19.2 Cinnamon

vimsical
Level 1
Level 1
Posts: 8
Joined: Sat Jan 04, 2014 1:05 am

Re: PLease help with Bluetooth

Post by vimsical » Thu Sep 01, 2016 3:00 pm

Post the result of

Code: Select all

lsusb
and

Code: Select all

dmesg
for hints of what might be going on.

User avatar
CtrlAltDel
Level 5
Level 5
Posts: 522
Joined: Sun Jun 27, 2010 7:01 pm
Location: Birmingham, AL., USA

Re: PLease help with Bluetooth

Post by CtrlAltDel » Thu Sep 01, 2016 7:46 pm

Great. First, I would like to say that I tried Bluetooth with a liveCD of Mint 18 and it didn't work either. Even with that being so, I copied all the files in lib/firmware/brcm from the liveCD and replaced all my Bluetooth files with them.

This didn't work either but, at least now I know I have all the exact files that came with the original setup.

Code: Select all

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 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 0bda:0182 Realtek Semiconductor Corp. 
Bus 003 Device 004: ID 0951:16a7 Kingston Technology 
Bus 003 Device 003: ID 413c:2107 Dell Computer Corp. 
Bus 003 Device 006: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I couldn't post the output of dmesg due to it being too many characters.

Does this help?

Code: Select all

lspci -nnk | grep -iA2 net
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
	Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1028:05b7]
	Kernel driver in use: r8169
	Kernel modules: r8169
04:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
	Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016]
	Kernel driver in use: wl
rfkill list all
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

The kernel I'm using with Mint 18 is 4.4.0-21
Intel i7-4790 Processor
Nvidia GeForce GT 720
8 GB Memory - 2x1 TB HD's
Mint 19.2 Cinnamon

JeremyB
Level 20
Level 20
Posts: 10890
Joined: Fri Feb 21, 2014 8:17 am

Re: PLease help with Bluetooth

Post by JeremyB » Thu Sep 01, 2016 8:16 pm

You likely need to check

Code: Select all

dmesg | egrep -i 'blue|firm'
To see what the firmware needs to be named, in some kernels now it needs to be /lib/firmware/brcm/BCM.hcd

User avatar
CtrlAltDel
Level 5
Level 5
Posts: 522
Joined: Sun Jun 27, 2010 7:01 pm
Location: Birmingham, AL., USA

Re: PLease help with Bluetooth

Post by CtrlAltDel » Thu Sep 01, 2016 9:26 pm

JeremyB wrote:You likely need to check

Code: Select all

dmesg | egrep -i 'blue|firm'
To see what the firmware needs to be named, in some kernels now it needs to be /lib/firmware/brcm/BCM.hcd
How is this:

Code: Select all

dmesg | egrep -i 'blue|firm'
[    0.136396] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[   14.965277] Bluetooth: Core ver 2.21
[   14.965287] Bluetooth: HCI device and connection manager initialized
[   14.965290] Bluetooth: HCI socket layer initialized
[   14.965292] Bluetooth: L2CAP socket layer initialized
[   14.965296] Bluetooth: SCO socket layer initialized
[   17.337137] Bluetooth: hci0 command 0x1001 tx timeout
[   25.333133] Bluetooth: hci0: BCM: Reading local version info failed (-110)
[   25.337211] Bluetooth: hci0: BCM: chip id 70
[   25.353237] Bluetooth: hci0: mint
[   25.353240] Bluetooth: hci0: BCM (001.001.011) build 0000
[   26.277585] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[   26.277589] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[   26.446564] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   26.446566] Bluetooth: BNEP filters: protocol multicast
[   26.446568] Bluetooth: BNEP socket layer initialized
Intel i7-4790 Processor
Nvidia GeForce GT 720
8 GB Memory - 2x1 TB HD's
Mint 19.2 Cinnamon

User avatar
CtrlAltDel
Level 5
Level 5
Posts: 522
Joined: Sun Jun 27, 2010 7:01 pm
Location: Birmingham, AL., USA

Re: PLease help with Bluetooth

Post by CtrlAltDel » Thu Sep 01, 2016 9:51 pm

I performed these:

Code: Select all

wget https://www.dropbox.com/s/9ryy3ir1tby6wrf/fw-0a5c_21d7.hcd

sudo cp fw-0a5c_21d7.hcd  /lib/firmware/brcm/BCM43142A0-0a5c-21d7.hcd

sudo modprobe -r btusb
rfkill unblock bluetooth
actions and had no luck with making Bluetooth work, unfortunately. This was the same technique used to make Bluetooth work in Mint 17.
Intel i7-4790 Processor
Nvidia GeForce GT 720
8 GB Memory - 2x1 TB HD's
Mint 19.2 Cinnamon

vimsical
Level 1
Level 1
Posts: 8
Joined: Sat Jan 04, 2014 1:05 am

Re: PLease help with Bluetooth

Post by vimsical » Fri Sep 02, 2016 2:01 am

For the firmware to be reloaded, the system has to be power off (not just rebooted) and back on. Just killing the radio doesn't reload the firmware.

Also, if you look at the error:

Code: Select all

[   26.277585] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
Linux is expecting the file /lib/firmware/brcm/BCM.hcd. So you have to rename your file.

JeremyB
Level 20
Level 20
Posts: 10890
Joined: Fri Feb 21, 2014 8:17 am

Re: PLease help with Bluetooth

Post by JeremyB » Fri Sep 02, 2016 7:07 pm

vimsical wrote:For the firmware to be reloaded, the system has to be power off (not just rebooted) and back on. Just killing the radio doesn't reload the firmware.

Also, if you look at the error:

Code: Select all

[   26.277585] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
Linux is expecting the file /lib/firmware/brcm/BCM.hcd. So you have to rename your file.
It is and a simple

Code: Select all

sudo mv /lib/firmware/brcm/BCM43142A0-0a5c-21d7.hcd /lib/firmware/brcm/BCM.hcd
should work after a reload of btusb or a reboot

User avatar
CtrlAltDel
Level 5
Level 5
Posts: 522
Joined: Sun Jun 27, 2010 7:01 pm
Location: Birmingham, AL., USA

Re: PLease help with Bluetooth

Post by CtrlAltDel » Fri Sep 02, 2016 8:30 pm

Thank you, Vimsical.

Thank you, JeremyB.

Works great now.
Intel i7-4790 Processor
Nvidia GeForce GT 720
8 GB Memory - 2x1 TB HD's
Mint 19.2 Cinnamon

Locked

Return to “Software & Applications”