LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-03-2016, 04:30 AM   #1
grzeslaw
Member
 
Registered: Nov 2008
Posts: 111

Rep: Reputation: 24
Ubuntu Mate and bluetooth speaker issue


Hi,

Some time ago, I bought a bluetooth speaker: JBL Charge 2+.
Sadly, I am unable to pair the device, it isn't even found when I search for speakers thru "blueman-manager"..

Some facts:
1. Blueman is used to make the connection.
2. Bluetooth is turned on.
3. Laptop: Lenovo E31-70:
Code:
root@e3170:~# lspci
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Broadcom Corporation BCM4352 802.11ac Wireless Network Adapter (rev 03)
Code:
root@e3170:~# uname -a
Linux e3170 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Code:
root@e3170:~# dmesg |grep -i blue
[    7.427863] Bluetooth: Core ver 2.20
[    7.427887] Bluetooth: HCI device and connection manager initialized
[    7.427892] Bluetooth: HCI socket layer initialized
[    7.427895] Bluetooth: L2CAP socket layer initialized
[    7.427902] Bluetooth: SCO socket layer initialized
[    7.446405] Bluetooth: hci0: BCM: chip id 63
[    7.447408] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
[    7.447700] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0489-e07a.hcd failed with error -2
[    7.447703] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0489-e07a.hcd not found
[    8.433952] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.433957] Bluetooth: BNEP filters: protocol multicast
[    8.433962] Bluetooth: BNEP socket layer initialized
[   18.683350] Bluetooth: RFCOMM TTY layer initialized
[   18.683361] Bluetooth: RFCOMM socket layer initialized
[   18.683368] Bluetooth: RFCOMM ver 1.11
[ 4768.097489] Bluetooth: hci0: BCM: chip id 63
[ 4768.098502] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
[ 4768.098528] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0489-e07a.hcd failed with error -2
[ 4768.098531] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0489-e07a.hcd not found
Code:
root@e3170:~# hciconfig
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 90:48:9A:FA:AC:68  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING
        RX bytes:964 acl:0 sco:0 events:74 errors:0
        TX bytes:3561 acl:0 sco:0 commands:71 errors:0
Looks, that there is some issue with bluetooth firmware.. Not sure what should I do..
 
Old 03-03-2016, 07:40 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,101
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
May help or not.

https://www.linuxliteos.com/forums/n...in-linux-lite/
 
Old 03-06-2016, 06:38 AM   #3
grzeslaw
Member
 
Registered: Nov 2008
Posts: 111

Original Poster
Rep: Reputation: 24
Thanks for your feedback!

Sadly this solution didn't work for me ;/

When trying to find new devices, I get the following message in the logs:
Code:
Mar  6 13:36:09 e3170 org.blueman.Mechanism[549]: Exception AttributeError: "'NoneType' object has no attribute 'stdout'" in <bound method Tee.__del__ of <__main__.Tee object at 0x7f6709acd750>> ignored
Code:
root@e3170:~# systemctl -i status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since So 2016-03-06 13:42:58 CET; 3min 28s ago
     Docs: man:bluetoothd(8)
 Main PID: 1019 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─1019 /usr/lib/bluetooth/bluetoothd

Mär 06 13:42:58 e3170 bluetoothd[1019]: Error adding Link Loss service
Mär 06 13:42:58 e3170 bluetoothd[1019]: Not enough free handles to register service
Mär 06 13:42:58 e3170 bluetoothd[1019]: Not enough free handles to register service
Mär 06 13:42:58 e3170 bluetoothd[1019]: Not enough free handles to register service
Mär 06 13:42:58 e3170 bluetoothd[1019]: Current Time Service could not be registered
Mär 06 13:42:58 e3170 bluetoothd[1019]: gatt-time-server: Input/output error (5)
Mär 06 13:42:58 e3170 bluetoothd[1019]: Not enough free handles to register service
Mär 06 13:42:58 e3170 bluetoothd[1019]: Not enough free handles to register service
Mär 06 13:42:58 e3170 bluetoothd[1019]: Sap driver initialization failed.
Mär 06 13:42:58 e3170 bluetoothd[1019]: sap-server: Operation not permitted (1)
root@e3170:~#
Code:
root@e3170:~# dmesg |grep -i blue |grep  error
[    3.879691] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0489-e07a.hcd failed with error -2

Last edited by grzeslaw; 03-06-2016 at 06:48 AM.
 
Old 03-06-2016, 10:25 AM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,101
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Ok, Those instructions worked on my Mint Mate 17 laptop. But I do not have a Broadcom bluetooth chip like you do. There are instructions for fixing the broadcom issue in Ubuntu 14.04/aka Mint 17 .

Quote:
c. For Broadcom Bluetooth adapters, downloading the firmware and copying it to the /lib/firmware folder.

1. Open your favorite terminal.

2. Run the following command to download the firmware file:
Then follow the rest of the steps. I can't tell what you did by by just saying it did not work and that you did not show the broadcom firmware is sitting in the folder they say it should sit in.

Code:
Direct firmware load for brcm/BCM20702A1-0489-e07a.hcd failed with error -2
Also, no readouts on updating blueman so I cannot see where you failed.

So sorry. I cannot help further. Good luck with it.

Last edited by rokytnji; 03-06-2016 at 10:27 AM.
 
Old 03-07-2016, 03:43 PM   #5
grzeslaw
Member
 
Registered: Nov 2008
Posts: 111

Original Poster
Rep: Reputation: 24
OK, so what I did:
1. Open file: "/etc/bluetooth/audio.conf" (which doesn't exist) and put the following content there:
Code:
[General]

Enable = Source,Sink,Headset,Gateway,Control,Media
Disable = Socket

HFP=false

[A2DP]
SBCSources=1
MPEG12Sources=0

2. Add repo + install packages:
Code:
add-apt-repository ppa:cschramm/blueman
apt-get update && sudo apt-get install blueman pavucontrol pulseaudio-module-bluetooth -y
3. Download firmware and move it to libs:
Code:
wget https://s3.amazonaws.com/plugable/bin/fw-0a5c_21e8.hcd
cp fw-0a5c_21e8.hcd /lib/firmware /lib/firmware/brcm//BCM20702A1-0489-e07a.hcd
4. Reboot.


After all, I do not see errors in dmesg:
Code:
root@e3170:~# dmesg |grep -i blue
[    3.847319] Bluetooth: Core ver 2.20
[    3.847355] Bluetooth: HCI device and connection manager initialized
[    3.847360] Bluetooth: HCI socket layer initialized
[    3.847364] Bluetooth: L2CAP socket layer initialized
[    3.847372] Bluetooth: SCO socket layer initialized
[    3.863824] Bluetooth: hci0: BCM: chip id 63
[    3.864819] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1453
[    4.475649] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1453
[    4.869863] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.869867] Bluetooth: BNEP filters: protocol multicast
[    4.869870] Bluetooth: BNEP socket layer initialized
[    8.704989] Bluetooth: RFCOMM TTY layer initialized
[    8.704999] Bluetooth: RFCOMM socket layer initialized
[    8.705005] Bluetooth: RFCOMM ver 1.11
root@e3170:~#
But bluetooth status still inform about "Not enough free handles to register service" and "gatt-time-server: Input/output error (5)":
Code:
root@e3170:~# systemctl -i status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Mo 2016-03-07 22:40:44 CET; 24s ago
     Docs: man:bluetoothd(8)
 Main PID: 1035 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─1035 /usr/lib/bluetooth/bluetoothd

Mär 07 22:40:44 e3170 bluetoothd[1035]: Not enough free handles to register service
Mär 07 22:40:44 e3170 bluetoothd[1035]: Not enough free handles to register service
Mär 07 22:40:44 e3170 bluetoothd[1035]: Current Time Service could not be registered
Mär 07 22:40:44 e3170 bluetoothd[1035]: gatt-time-server: Input/output error (5)
Mär 07 22:40:44 e3170 bluetoothd[1035]: Not enough free handles to register service
Mär 07 22:40:44 e3170 bluetoothd[1035]: Not enough free handles to register service
Mär 07 22:40:44 e3170 bluetoothd[1035]: Sap driver initialization failed.
Mär 07 22:40:44 e3170 bluetoothd[1035]: sap-server: Operation not permitted (1)
Mär 07 22:40:48 e3170 bluetoothd[1035]: Endpoint registered: sender=:1.37 path=/MediaEndpoint/A2DPSource
Mär 07 22:40:48 e3170 bluetoothd[1035]: Endpoint registered: sender=:1.37 path=/MediaEndpoint/A2DPSink
root@e3170:~#
And my bluetooth speaker is not found..
 
Old 03-07-2016, 07:56 PM   #6
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,101
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Good Luck.

link

link
 
Old 03-08-2016, 03:04 PM   #7
grzeslaw
Member
 
Registered: Nov 2008
Posts: 111

Original Poster
Rep: Reputation: 24
I tried installing the .hex firmware from windows package without success,
I tried reinstalling all bluetooth packages from official and ppa:cschramm/blueman repo, without success,
I tried reinstalling the OS.. without success..

It seems to be some kind of bug which is unsolved permanently yet. It looks that I've no luck with that.. As I have many different linux issues on production servers, which are more worth to take care about, I need to stop wasting my time on investigation of this issue ;/ I will try gentoo and opensuse, maybe those distros have better drivers for bluetooth

If anyone have some solution for that, please post it here, I'm curious what could be the reason..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth will not enable On Mate 17.3 even after going into bluetooth start manager. kissedbyfire Programming 3 02-03-2016 01:53 AM
Ubuntu Mate 15.10 in VMWare Player 6.06 - display sizing issue taylorkh Linux - Virtualization and Cloud 6 11-17-2015 05:31 PM
x11vnc on Ubuntu Mate - issue when not logged on to remote PC taylorkh Linux - Software 2 07-06-2015 10:57 AM
LXer: Ubuntu MATE 15.04 Arrives With MATE Desktop 1.8.2 and MATE Tweak LXer Syndicated Linux News 0 05-15-2015 09:30 AM
Left speaker does not speak - not speaker issue. Hardware or software issue? Svip Linux - Hardware 3 05-03-2006 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration