You are not logged in.

#1 2015-07-02 12:33:05

myrlin
Member
Registered: 2010-06-11
Posts: 300

[SOLVED] Intel NUC5i5RYH - Bluetooth

I have recently installed Arch on a new Intel NUC5i5RYH. All has gone remarkably smoothly, EXCEPT Bluetooth.

I have carefully followed the Arch Wiki, but with no success. I can pair with devices successfully, but attempts at connect fail  with the message

 Failed to connect: org.bluez.Error.Failed 

The boot log shows a bunch of error messages from Bluetooth as follows:

Jul 02 12:19:04 intel bluetoothd[3519]: Failed to obtain handles for "Service Changed" characteristic
Jul 02 12:19:04 intel bluetoothd[3519]: Not enough free handles to register service
Jul 02 12:19:04 intel bluetoothd[3519]: Error adding Link Loss service
Jul 02 12:19:04 intel bluetoothd[3519]: Not enough free handles to register service
Jul 02 12:19:04 intel bluetoothd[3519]: Not enough free handles to register service
Jul 02 12:19:04 intel bluetoothd[3519]: Not enough free handles to register service
Jul 02 12:19:04 intel bluetoothd[3519]: Current Time Service could not be registered
Jul 02 12:19:04 intel bluetoothd[3519]: gatt-time-server: Input/output error (5)
Jul 02 12:19:04 intel bluetoothd[3519]: Not enough free handles to register service
Jul 02 12:19:04 intel bluetoothd[3519]: Not enough free handles to register service
Jul 02 12:19:04 intel bluetoothd[3519]: Sap driver initialization failed.
Jul 02 12:19:04 intel bluetoothd[3519]: sap-server: Operation not permitted (1)

Much googling has failed to give me any clues as to what is wrong, or how to fix it, so I would be very grateful for some advice on how to start to troubleshooting.

Many thanks in advance

Last edited by myrlin (2015-07-10 18:22:15)

Offline

#2 2015-07-02 14:20:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,659

Re: [SOLVED] Intel NUC5i5RYH - Bluetooth

What kind of device is it?   If it is an audio device, you might need pulseaudio-bluetooth


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2015-07-02 15:08:10

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: [SOLVED] Intel NUC5i5RYH - Bluetooth

myrlin wrote:

I have recently installed Arch on a new Intel NUC5i5RYH. All has gone remarkably smoothly, EXCEPT Bluetooth.

I have carefully followed the Arch Wiki, but with no success. I can pair with devices successfully, but attempts at connect fail  with the message

 Failed to connect: org.bluez.Error.Failed 

The boot log shows a bunch of error messages from Bluetooth as follows:

Jul 02 12:19:04 intel bluetoothd[3519]: Failed to obtain handles for "Service Changed" characteristic
Jul 02 12:19:04 intel bluetoothd[3519]: Not enough free handles to register service
Jul 02 12:19:04 intel bluetoothd[3519]: Error adding Link Loss service
Jul 02 12:19:04 intel bluetoothd[3519]: Not enough free handles to register service
Jul 02 12:19:04 intel bluetoothd[3519]: Not enough free handles to register service
Jul 02 12:19:04 intel bluetoothd[3519]: Not enough free handles to register service
Jul 02 12:19:04 intel bluetoothd[3519]: Current Time Service could not be registered
Jul 02 12:19:04 intel bluetoothd[3519]: gatt-time-server: Input/output error (5)
Jul 02 12:19:04 intel bluetoothd[3519]: Not enough free handles to register service
Jul 02 12:19:04 intel bluetoothd[3519]: Not enough free handles to register service
Jul 02 12:19:04 intel bluetoothd[3519]: Sap driver initialization failed.
Jul 02 12:19:04 intel bluetoothd[3519]: sap-server: Operation not permitted (1)

Much googling has failed to give me any clues as to what is wrong, or how to fix it, so I would be very grateful for some advice on how to start to troubleshooting.

Many thanks in advance


Mine worked just fine in Arch on mine NUC5i3RYH, NUC5i5RYH and NUC5i7RYH. But now i run Gentoo on the remaining one. Works there to. So what kernel are you using?


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#4 2015-07-02 15:34:36

myrlin
Member
Registered: 2010-06-11
Posts: 300

Re: [SOLVED] Intel NUC5i5RYH - Bluetooth

Thank you for your fast replies.

I am trying to connect to a Samsung smartphone (Tab4, model SM-T230).

I'm just using the default kernel (I think!).  The output of uname -a is:

Linux intel 4.0.7-2-ARCH #1 SMP PREEMPT Tue Jun 30 07:50:21 UTC 2015 x86_64 GNU/Linux

I am using "connman" as my connection manager.

I hope this information is what you need.

BTW, I fixed the "SAP" error by adding "--noplugin=sap" to the end of  ExecStart line in bluetooth.service (and placing the modified version in /etc/systemd/system)

Offline

#5 2015-07-02 15:42:10

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: [SOLVED] Intel NUC5i5RYH - Bluetooth

myrlin wrote:

Thank you for your fast replies.

I am trying to connect to a Samsung smartphone (Tab4, model SM-T230).

I'm just using the default kernel (I think!).  The output of uname -a is:

Linux intel 4.0.7-2-ARCH #1 SMP PREEMPT Tue Jun 30 07:50:21 UTC 2015 x86_64 GNU/Linux

I am using "connman" as my connection manager.

I hope this information is what you need.

BTW, I fixed the "SAP" error by adding "--noplugin=sap" to the end of  ExecStart line in bluetooth.service (and placing the modified version in /etc/systemd/system)


Output of bluetoothctl?


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#6 2015-07-02 15:52:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,659

Re: [SOLVED] Intel NUC5i5RYH - Bluetooth

Just as a sanity check, you did start the bluetooth service with systemctl, right?

You might check the output of systemctl and verify that it is started and did not fail


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2015-07-02 16:06:32

myrlin
Member
Registered: 2010-06-11
Posts: 300

Re: [SOLVED] Intel NUC5i5RYH - Bluetooth

Systemctl status bluetooth.service says that it is running, but then gives the block of errors listed in my first post (even before attempting to pair/connect etc.)

Bluetoothctl gives:

 [NEW] Controller xx:xx:xx:xx:xx:xx intel [default]
[NEW] Device xx:xx:xx:xx:xx:xx SM-T230

Offline

#8 2015-07-06 19:48:12

myrlin
Member
Registered: 2010-06-11
Posts: 300

Re: [SOLVED] Intel NUC5i5RYH - Bluetooth

I have now tried to connect to a tablet, smartphone and a laptop running Arch with the same software. In every case, I get the same result. The devices pair, but when I try to connect, I just get

bluetoothctl# connect XX:XX:XX:XX:XX:XX 
Attempting to connect to XX:XX:XX:XX:XX:XX
Failed to connect: org.bluez.Error.Failed
[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
[CHG] Device XX:XX:XX:XX:XX:XX Connected: no

It seems that a connection is made very briefly, then dropped.

I  just do not know where to start with solving this. All help will be most welcome.

Many thanks in advance

Offline

#9 2015-07-10 18:21:38

myrlin
Member
Registered: 2010-06-11
Posts: 300

Re: [SOLVED] Intel NUC5i5RYH - Bluetooth

Numerous attempts to connect using the command line failed, probably due to my lack of knowledge.

I then installed "Blueberry", which enabled me to send files via bluetooth, but I could not receive them.

Finally, I uninstalled Blueberry, and installed Blueman.

Everything is now working!

Offline

Board footer

Powered by FluxBB