Bluetooth Not Detecting All Devices [SOLVED]

Questions about hardware, drivers and peripherals
Forum rules
Before you post please read how to get help
Locked
SyntheticShield
Level 1
Level 1
Posts: 44
Joined: Wed Dec 09, 2009 10:20 am

Bluetooth Not Detecting All Devices [SOLVED]

Post by SyntheticShield »

Hello all.

I recently installed Linux Mint 18 on my laptop. It had Windows 10 on it before that and never had any issues. Linux Mint is working perfectly except for Bluetooth. I have a Logitech T630 bluetooth mouse that simply is not detected at all, despite it working on the same bluetooth hardware in Windows. The weird thing is that it detects my Garmin Vivoactive HR or at least it sees that (I have not paired it because it is paired with my phone) but does not see my JBL Charge3 bluetooth speaker nor my bluetooth mouse, etc. Of all the things the mouse is most important to me as I use it a great deal because I hate most touchpads and the fact they always seem to be in the way when typing, LOL.

At any rate, I have included some information below. I have tried searching for solutions and saw that some of the commands below were used for informational/diagnostic purposes. I did not think to unpair the mouse before wiping the drive and installing Linux Mint, but then again, I did not think bluetooth devices retained such associations (like ZWave home automation devices do) and did not think it would be a big deal.

I would appreciate any help in running this down. I just have found nothing that has made any difference through google and forum searches and would love to have my mouse back :D

Code: Select all

 ~ $ cat /etc/*release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.1
DISTRIB_CODENAME=serena
DISTRIB_DESCRIPTION="Linux Mint 18.1 Serena"
NAME="Linux Mint"
VERSION="18.1 (Serena)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 18.1"
VERSION_ID="18.1"
HOME_URL="http://www.linuxmint.com/"
SUPPORT_URL="http://forums.linuxmint.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/linuxmint/"
VERSION_CODENAME=serena
UBUNTU_CODENAME=xenial
cat: /etc/upstream-release: Is a directory

Code: Select all

~ $ lspci
00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H LPSS I2C Controller #0 (rev 31)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-H LPSS I2C Controller #1 (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.1 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #2 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1d.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #13 (rev f1)
00:1d.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #15 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
02:00.0 Network controller: Broadcom Corporation BCM43602 802.11ac Wireless LAN SoC (rev 01)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller (rev 01)

Code: Select all

~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0a5c:6410 Broadcom Corp. 
Bus 001 Device 003: ID 0c45:6713 Microdia 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
scotty@XPS15 ~ $ lsmod | grep blue
bluetooth             520192  31 bnep,btbcm,btqca,btrtl,btusb,hci_uart,rfcomm,btintel

Code: Select all

scotty@XPS15 ~ $ lsmod | grep blue
bluetooth             520192  31 bnep,btbcm,btqca,btrtl,btusb,hci_uart,rfcomm,btintel

Code: Select all

 ~ $ dmesg | grep -i bluetooth
[    4.714090] Bluetooth: Core ver 2.21
[    4.714099] Bluetooth: HCI device and connection manager initialized
[    4.714101] Bluetooth: HCI socket layer initialized
[    4.714103] Bluetooth: L2CAP socket layer initialized
[    4.714106] Bluetooth: SCO socket layer initialized
[    4.721283] Bluetooth: HCI UART driver ver 2.3
[    4.721286] Bluetooth: HCI UART protocol H4 registered
[    4.721287] Bluetooth: HCI UART protocol BCSP registered
[    4.721288] Bluetooth: HCI UART protocol LL registered
[    4.721289] Bluetooth: HCI UART protocol ATH3K registered
[    4.721290] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    4.721321] Bluetooth: HCI UART protocol Intel registered
[    4.721334] Bluetooth: HCI UART protocol BCM registered
[    4.721335] Bluetooth: HCI UART protocol QCA registered
[    4.773318] Bluetooth: hci0: BCM: chip id 102
[    4.789320] Bluetooth: hci0: XPS15
[    4.790312] Bluetooth: hci0: BCM (001.001.005) build 0000
[    4.796618] bluetooth hci0: Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
[    4.796622] Bluetooth: hci0: BCM: Patch brcm/BCM-0a5c-6410.hcd not found
[    5.786041] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.786043] Bluetooth: BNEP filters: protocol multicast
[    5.786064] Bluetooth: BNEP socket layer initialized
[   14.364601] Bluetooth: RFCOMM TTY layer initialized
[   14.364606] Bluetooth: RFCOMM socket layer initialized
[   14.364609] Bluetooth: RFCOMM ver 1.11

Code: Select all

~ $ rfkill list
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Code: Select all

~ $ bluetoothctl
[NEW] Controller 48:E2:44:F6:7A:62 XPS15 [default]
[bluetooth]# list
Controller 48:E2:44:F6:7A:62 XPS15 [default]
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Controller 48:E2:44:F6:7A:62 Discovering: yes
[bluetooth]# agent on
Agent registered
[NEW] Device CB:BD:69:B6:80:BB vívoactive HR
[CHG] Device CB:BD:69:B6:80:BB RSSI: -81
[bluetooth]# 

Last edited by SMG on Sat Oct 22, 2022 9:40 pm, edited 2 times in total.
Reason: Locking old topic.
SyntheticShield
Level 1
Level 1
Posts: 44
Joined: Wed Dec 09, 2009 10:20 am

Re: Bluetooth Not Detecting All Devices

Post by SyntheticShield »

When doing further searches here I ran across a command that I ran and it spit out some interesting information. Not sure if it is helpful or not but just in case.

Code: Select all

~ $ systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: active (running) since Wed 2017-02-22 00:49:00 CST; 10h ago
     Docs: man:bluetoothd(8)
 Main PID: 1196 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─1196 /usr/lib/bluetooth/bluetoothd

Feb 22 00:49:00 XPS15 bluetoothd[1196]: Not enough free handles to register serv
Feb 22 00:49:00 XPS15 bluetoothd[1196]: Not enough free handles to register serv
Feb 22 00:49:00 XPS15 bluetoothd[1196]: Current Time Service could not be regist
Feb 22 00:49:00 XPS15 bluetoothd[1196]: gatt-time-server: Input/output error (5)
Feb 22 00:49:00 XPS15 bluetoothd[1196]: Not enough free handles to register serv
Feb 22 00:49:00 XPS15 bluetoothd[1196]: Not enough free handles to register serv
Feb 22 00:49:00 XPS15 bluetoothd[1196]: Sap driver initialization failed.
Feb 22 00:49:00 XPS15 bluetoothd[1196]: sap-server: Operation not permitted (1)
Feb 22 00:49:09 XPS15 bluetoothd[1196]: Endpoint registered: sender=:1.36 path=/
Feb 22 00:49:09 XPS15 bluetoothd[1196]: Endpoint registered: sender=:1.36 path=/
lines 1-19/19 (END)...skipping...
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2017-02-22 00:49:00 CST; 10h ago
     Docs: man:bluetoothd(8)
 Main PID: 1196 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─1196 /usr/lib/bluetooth/bluetoothd

Feb 22 00:49:00 XPS15 bluetoothd[1196]: Not enough free handles to register service
Feb 22 00:49:00 XPS15 bluetoothd[1196]: Not enough free handles to register service
Feb 22 00:49:00 XPS15 bluetoothd[1196]: Current Time Service could not be registered
Feb 22 00:49:00 XPS15 bluetoothd[1196]: gatt-time-server: Input/output error (5)
Feb 22 00:49:00 XPS15 bluetoothd[1196]: Not enough free handles to register service
Feb 22 00:49:00 XPS15 bluetoothd[1196]: Not enough free handles to register service
Feb 22 00:49:00 XPS15 bluetoothd[1196]: Sap driver initialization failed.
Feb 22 00:49:00 XPS15 bluetoothd[1196]: sap-server: Operation not permitted (1)
Feb 22 00:49:09 XPS15 bluetoothd[1196]: Endpoint registered: sender=:1.36 path=/MediaEndpoint/A2DPSource
Feb 22 00:49:09 XPS15 bluetoothd[1196]: Endpoint registered: sender=:1.36 path=/MediaEndpoint/A2DPSink
SyntheticShield
Level 1
Level 1
Posts: 44
Joined: Wed Dec 09, 2009 10:20 am

Re: Bluetooth Not Detecting All Devices

Post by SyntheticShield »

Code: Select all

~ $ hciconfig -a
hci0:	Type: BR/EDR  Bus: USB
	BD Address: 48:E2:44:F6:7A:62  ACL MTU: 1021:8  SCO MTU: 64:1
	UP RUNNING PSCAN ISCAN 
	RX bytes:3261 acl:0 sco:0 events:227 errors:0
	TX bytes:5196 acl:0 sco:0 commands:207 errors:0
	Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH SNIFF 
	Link mode: SLAVE ACCEPT 
	Name: 'XPS15'
	Class: 0x0c010c
	Service Classes: Rendering, Capturing
	Device Class: Computer, Laptop
	HCI Version: 4.1 (0x7)  Revision: 0x1000
	LMP Version: 4.1 (0x7)  Subversion: 0x2105
	Manufacturer: Broadcom Corporation (15)
JeremyB
Level 21
Level 21
Posts: 12561
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth Not Detecting All Devices

Post by JeremyB »

It seems that firmware is missing for the bluetooth. In terminal do

Code: Select all

cd /lib/firmware/brcm

Code: Select all

sudo wget https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1589889/+attachment/4683974/+files/BCM-0a5c-6410.hcd
Then either reboot or

Code: Select all

sudo modprobe -r btusb && sleep 20 && sudo modprobe btusb
See if it functions as expected
SyntheticShield
Level 1
Level 1
Posts: 44
Joined: Wed Dec 09, 2009 10:20 am

Re: Bluetooth Not Detecting All Devices

Post by SyntheticShield »

JeremyB wrote:It seems that firmware is missing for the bluetooth. In terminal do

Code: Select all

cd /lib/firmware/brcm

Code: Select all

sudo wget https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1589889/+attachment/4683974/+files/BCM-0a5c-6410.hcd
Then either reboot or

Code: Select all

sudo modprobe -r btusb && sleep 20 && sudo modprobe btusb
See if it functions as expected

I. FREAKIN'. LOVE YOU DUDE!!!

Seriously, that worked perfectly. Thank you so much. I have my mouse back. Yaaaay!!!

Is this a result of some kind of bug? This is a fresh install on the laptop and all I have done after installing the OS was just install some programs for Python studies.
JeremyB
Level 21
Level 21
Posts: 12561
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth Not Detecting All Devices

Post by JeremyB »

It is not so much of a bug, it is more of an issue with Broadcom's licensing of their firmware and they don't allow it to be distributed in most cases. Many Broadcom bluetooth chipsets need firmware, some need firmware just to function at all in linux and other chipsets just need it to enable some capabilities

Please edit the Subject of your original post to add SOLVED
SyntheticShield
Level 1
Level 1
Posts: 44
Joined: Wed Dec 09, 2009 10:20 am

Re: Bluetooth Not Detecting All Devices [SOLVED]

Post by SyntheticShield »

Okay, well that is good to know. I have saved the commands so if I see this again I can fix it, and hopefully if someone else is having a similar issue, help them out. I first tried Xubuntu just to use something lightweight and had a similar issue there. I have run Linux Mint for a long time on one machine or another and figured I was getting punished a lack of loyalty when I tried Xubuntu, LOL.

Anyway, thanks again for the help.
User avatar
phd21
Level 20
Level 20
Posts: 10110
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Bluetooth Not Detecting All Devices

Post by phd21 »

Hi "JeremyB", & Everyone Else,

I was experimenting with learning about Linux "services" when I encountered the same messages with my Bluetooth device in my Linux Mint KDE 18.2 and 17.3 systems. My Bluetooth devices are working.

While doing research on this, I came across this post and many others. Some say if your Bluetooth is working you, you can just ignore these messages. Some say this occurs only with the "Bluez" Bluetooth manager? I wonder if the new "Blueberry" Bluetooth manager will work with KDE, or if there is an updated KDE Bluetooth Manager?

Others said you can enable the "Experimental" feature to overcome the message which I did and the messages are still there, and my Bluetooth still works. Enabling the Experimental feature removed the SAP initialization error or message, but not the "free handles" messages?

Jeremy, or anyone else, what does bluez “Not enough free handles to register service” really mean? Years ago when using Ms Windows and DOS, this meant that there was a memory allocation problem and adjusting the file control blocks (fcbs=128,64) and increasing access to extended memory in "config.sys" and or "autoexec.bat" would resolve it, but I never heard of this in Linux?


Reference posts...
#813949 - bluetooth: error causing service to be unusable: Not enough free handles to register service - Debian Bug report logs
https://bugs.debian.org/cgi-bin/bugrepo ... bug=813949

linux - bluez 5.30: "Not enough free handles to register service" error in starting bluetoothd - Stack Overflow
https://stackoverflow.com/questions/298 ... rting-blue

Bluetooth is dead (Page 2) / Kernel & Hardware / Arch Linux Forums
https://bbs.archlinux.org/viewtopic.php?id=195886&p=2

...
Phd21: Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
Zynks
Level 1
Level 1
Posts: 3
Joined: Thu Apr 20, 2017 8:34 am

Re: Bluetooth Not Detecting All Devices

Post by Zynks »

In case it may be helpful to anyone, I tried this solution on Mint 20.2 and it still works.
JeremyB wrote:
Wed Feb 22, 2017 6:13 pm
It seems that firmware is missing for the bluetooth. In terminal do

Code: Select all

cd /lib/firmware/brcm

Code: Select all

sudo wget https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1589889/+attachment/4683974/+files/BCM-0a5c-6410.hcd
Then either reboot or

Code: Select all

sudo modprobe -r btusb && sleep 20 && sudo modprobe btusb
See if it functions as expected
steve-in-colorado
Level 1
Level 1
Posts: 1
Joined: Sun Nov 21, 2021 2:29 pm

Re: Bluetooth Not Detecting All Devices [SOLVED]

Post by steve-in-colorado »

My Mint 20.2 installation was failing to detect my Sabrent Bluetooth 4.0 USB wireless adapter.

Jeremy's firmware fix solved solved problem, even though it was very different from the problem faced by the original poster.

The original post was for a logitech mouse, whereas I use the Sabrent adapter to connect to my Samsung S10e.

Thank you for posting this solution!
arqweryon
Level 1
Level 1
Posts: 1
Joined: Sat Oct 22, 2022 9:28 pm

Re: Bluetooth Not Detecting All Devices [SOLVED]

Post by arqweryon »

To whom it may concern,

I made a clean install of Mint 21 Cinnamon on my Microsoft Surface Book 2. Bluetooth with my MX Master 2S Logitech mouse was working normally.

After I did apt update and apt upgrade and rebooted the mouse stopped working. I executed the steps posted by JeremyB above and this fixed my problem and my mouse is now working once again.

Thank you!
Locked

Return to “Hardware Support”