Bluetooth stuck in searching

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
Stealps
Level 1
Level 1
Posts: 15
Joined: Wed Dec 20, 2017 7:07 pm

Bluetooth stuck in searching

Post by Stealps » Wed Dec 20, 2017 7:25 pm

When I open bluetooth app, it always showing lable "devices" with progress bar and "searching for devices" text, but never find any devices.
And CPU is heavily used during that time.
cinnamon --replace - 75%
xorg - 30%
blueberry.py - 30%
When I disable bluetooth, CPU usage going back to normal.

Code: Select all

hciconfig -a
hci0:	Type: BR/EDR  Bus: USB
	BD Address: 18:4F:32:F9:0B:DE  ACL MTU: 1021:8  SCO MTU: 64:1
	UP RUNNING PSCAN ISCAN INQUIRY 
	RX bytes:5224 acl:0 sco:0 events:570 errors:0
	TX bytes:9192 acl:0 sco:0 commands:510 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: 'xps'
	Class: 0x1c010c
	Service Classes: Rendering, Capturing, Object Transfer
	Device Class: Computer, Laptop
	HCI Version: 4.1 (0x7)  Revision: 0x1000
	LMP Version: 4.1 (0x7)  Subversion: 0x2105
	Manufacturer: Broadcom Corporation (15)

Code: Select all

 inxi
CPU~Quad core Intel Core i7-6700HQ (-HT-MCP-) speed/max~3120/3500 MHz Kernel~4.10.0-42-generic x86_64 Up~15:20 Mem~2812.1/15906.5MB HDD~NA(-) Procs~272 Client~Shell inxi~2.2.35  
it's cinnamon 18.3 fresh installation.

JeremyB
Level 19
Level 19
Posts: 9043
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth stuck in searching

Post by JeremyB » Thu Dec 21, 2017 7:24 am

Post results for lsusb; dmesg | egrep -i 'blue|firm'
Many of the Broadcom bluetooth chipsets require firmware that can't be distributed but it can be acquired from Windows drivers and converted

Stealps
Level 1
Level 1
Posts: 15
Joined: Wed Dec 20, 2017 7:07 pm

Re: Bluetooth stuck in searching

Post by Stealps » Thu Dec 21, 2017 2:28 pm

Code: Select all

lsusb; dmesg | egrep -i 'blue|firm'
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 1bcf:2b95 Sunplus Innovation Technology Inc. 
Bus 001 Device 004: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[    0.184721] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    1.825666] [drm] GuC firmware load skipped
[    4.244330] Bluetooth: Core ver 2.22
[    4.244342] Bluetooth: HCI device and connection manager initialized
[    4.244344] Bluetooth: HCI socket layer initialized
[    4.244346] Bluetooth: L2CAP socket layer initialized
[    4.244349] Bluetooth: SCO socket layer initialized
[    4.251093] Bluetooth: HCI UART driver ver 2.3
[    4.251094] Bluetooth: HCI UART protocol H4 registered
[    4.251095] Bluetooth: HCI UART protocol BCSP registered
[    4.251095] Bluetooth: HCI UART protocol LL registered
[    4.251095] Bluetooth: HCI UART protocol ATH3K registered
[    4.251096] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    4.251124] Bluetooth: HCI UART protocol Intel registered
[    4.251135] Bluetooth: HCI UART protocol Broadcom registered
[    4.251135] Bluetooth: HCI UART protocol QCA registered
[    4.251135] Bluetooth: HCI UART protocol AG6XX registered
[    4.251136] Bluetooth: HCI UART protocol Marvell registered
[    4.419823] brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
[    4.463462] Bluetooth: hci0: BCM: chip id 102
[    4.479480] Bluetooth: hci0: xps
[    4.480452] Bluetooth: hci0: BCM (001.001.005) build 0000
[    4.480524] bluetooth hci0: Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
[    4.480525] Bluetooth: hci0: BCM: Patch brcm/BCM-0a5c-6410.hcd not found
[    4.932376] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c
[    5.343492] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.343493] Bluetooth: BNEP filters: protocol multicast
[    5.343495] Bluetooth: BNEP socket layer initialized
[   23.576330] Bluetooth: RFCOMM TTY layer initialized
[   23.576333] Bluetooth: RFCOMM socket layer initialized
[   23.576335] Bluetooth: RFCOMM ver 1.11
[15813.175074] [drm] GuC firmware load skipped
[15813.931396] brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
[15814.062183] Bluetooth: hci0: BCM: chip id 102
[15814.078173] Bluetooth: hci0: BCM20703A1
[15814.079175] Bluetooth: hci0: BCM (001.001.005) build 0000
[15814.079228] bluetooth hci0: Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
[15814.079229] Bluetooth: hci0: BCM: Patch brcm/BCM-0a5c-6410.hcd not found
[15814.435324] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c
[31656.542543] [drm] GuC firmware load skipped
[31657.292396] brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
[31657.803383] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c
[31658.015097] Bluetooth: hci0: BCM: chip id 102
[31658.031118] Bluetooth: hci0: BCM20703A1
[31658.032090] Bluetooth: hci0: BCM (001.001.005) build 0000
[31658.032108] bluetooth hci0: Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
[31658.032109] Bluetooth: hci0: BCM: Patch brcm/BCM-0a5c-6410.hcd not found
[34680.714649] [drm] GuC firmware load skipped
[34681.667973] brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
[34682.199391] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c

JeremyB
Level 19
Level 19
Posts: 9043
Joined: Fri Feb 21, 2014 8:17 am

Re: Bluetooth stuck in searching

Post by JeremyB » Thu Dec 21, 2017 5:50 pm

See https://askubuntu.com/a/632348/300665 to see how to get the hex file from the Windows driver and convert it to the hcd file needed by Linux

Stealps
Level 1
Level 1
Posts: 15
Joined: Wed Dec 20, 2017 7:07 pm

Re: Bluetooth stuck in searching

Post by Stealps » Sat Dec 23, 2017 9:40 am

I just took a driver from this repository https://github.com/winterheart/broadcom-bt-firmware - it's much easier, than looking for windows drivers and unpacking it.

BT is working now, but when I open bluetooth window (probably it's blueberry app) I get the same high CPU load with blueberry.py and "cinnammon --replace"
For me it's strange, that just looking for BT devices consuming more than 100% of i7-6700HQ core

Stealps
Level 1
Level 1
Posts: 15
Joined: Wed Dec 20, 2017 7:07 pm

Re: Bluetooth stuck in searching

Post by Stealps » Sun Dec 24, 2017 2:51 pm

Now I have a problems with bluetooth after a sleep mode. It starting work scratchy, like speaker is far away and signal strengh is not enouph. After some time system disconnects speaker (it doesn't find it out). After reboot I can connect to speaker and it work fine. Untill next sleep.

Post Reply

Return to “Other networking topics”