Hi, here a problem with bluez, i don't have idea why this happend, i try search but i can't get a solution, log: Nov 16 14:10:23 PaiQb0cwsS bluetoothd[1888]: Failed to obtain handles for "Service Changed" characteristic Nov 16 14:10:23 PaiQb0cwsS bluetoothd[1888]: Not enough free handles to register service Nov 16 14:10:23 PaiQb0cwsS bluetoothd[1888]: Error adding Link Loss service Nov 16 14:10:23 PaiQb0cwsS bluetoothd[1888]: Not enough free handles to register service Nov 16 14:10:23 PaiQb0cwsS bluetoothd[1888]: Not enough free handles to register service Nov 16 14:10:23 PaiQb0cwsS bluetoothd[1888]: Not enough free handles to register service Nov 16 14:10:23 PaiQb0cwsS bluetoothd[1888]: Current Time Service could not be registered Nov 16 14:10:23 PaiQb0cwsS bluetoothd[1888]: gatt-time-server: Input/output error (5) Nov 16 14:10:23 PaiQb0cwsS bluetoothd[1888]: Not enough free handles to register service Nov 16 14:10:23 PaiQb0cwsS bluetoothd[1888]: Not enough free handles to register service
Created attachment 417172 [details] emerge --info
I had the same problem, downgrade to 5.33 didn't help, but 5.25 seems OK. Nov 22 16:45:49 cylon bluetoothd[18424]: Bluetooth daemon 5.33 Nov 22 16:45:49 cylon bluetoothd[18424]: Starting SDP server Nov 22 16:45:49 cylon bluetoothd[18424]: kernel lacks bnep-protocol support Nov 22 16:45:49 cylon bluetoothd[18424]: System does not support network plugin Nov 22 16:45:49 cylon bluetoothd[18424]: Bluetooth management interface 1.8 initialized Nov 22 16:46:03 cylon bluetoothd[18424]: Failed to obtain handles for "Service Changed" characteristic Nov 22 16:46:03 cylon bluetoothd[18424]: Not enough free handles to register service Nov 22 16:46:03 cylon bluetoothd[18424]: Error adding Link Loss service Nov 22 16:46:03 cylon bluetoothd[18424]: Not enough free handles to register service Nov 22 16:46:03 cylon bluetoothd[18424]: Not enough free handles to register service Nov 22 16:46:03 cylon bluetoothd[18424]: Not enough free handles to register service Nov 22 16:46:03 cylon bluetoothd[18424]: Current Time Service could not be registered Nov 22 16:46:03 cylon bluetoothd[18424]: gatt-time-server: Input/output error (5) Nov 22 16:46:03 cylon bluetoothd[18424]: Not enough free handles to register service Nov 22 16:46:03 cylon bluetoothd[18424]: Not enough free handles to register service Nov 22 16:46:03 cylon bluetoothd[18424]: Sap driver initialization failed. Nov 22 16:46:03 cylon bluetoothd[18424]: sap-server: Operation not permitted (1) Nov 23 15:24:59 cylon bluetoothd[9005]: Bluetooth daemon 5.25 Nov 23 15:24:59 cylon bluetoothd[9005]: Starting SDP server Nov 23 15:24:59 cylon bluetoothd[9005]: kernel lacks bnep-protocol support Nov 23 15:24:59 cylon bluetoothd[9005]: System does not support network plugin Nov 23 15:24:59 cylon bluetoothd[9005]: Bluetooth management interface 1.8 initialized Nov 23 15:24:59 cylon bluetoothd[9005]: Sap driver initialization failed. Nov 23 15:24:59 cylon bluetoothd[9005]: sap-server: Operation not permitted (1)
Maybe this could help you: https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1490349 https://monotok.org/gnome-3-16-breaks-bluetooth-arch-linux/
Hi, thx for the links, sadly in my case both modules are loaded.
Maybe upstream will be able to help you more, either via their mailing list or via IRC :| http://www.bluez.org/contact/
I got the same error even though I don't use Pulseaudio (I use Bluetooth for cellphone connection sharing only), so I guess the cause of the bug is somewhere else...
Same here. # dmesg | grep 4-1.5 [ 475.204004] usb 4-1.5: New USB device found, idVendor=8086, idProduct=0189 [ 475.204014] usb 4-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0 # lsusb | grep 009 Bus 004 Device 009: ID 8086:0189 Intel Corp. # cat /var/log/everything/current | grep bluetoothd Jan 16 18:52:51 [bluetoothd] Bluetooth daemon 5.37 Jan 16 18:52:51 [bluetoothd] Starting SDP server Jan 16 18:52:51 [bluetoothd] Bluetooth management interface 1.9 initialized Jan 16 18:52:51 [bluetoothd] Failed to obtain handles for "Service Changed" characteristic Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service Jan 16 18:52:51 [bluetoothd] Error adding Link Loss service Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service Jan 16 18:52:51 [bluetoothd] Current Time Service could not be registered Jan 16 18:52:51 [bluetoothd] gatt-time-server: Input/output error (5) Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service Jan 16 18:52:51 [bluetoothd] Sap driver initialization failed. Jan 16 18:52:51 [bluetoothd] sap-server: Operation not permitted (1)
From upstream mailing list: > These are deprecated plugins, we will probably be reworking/removing them shortly. > At least sap-server plugin shouldn't be enabled at all (unless you run it on supported platform ie STE u8500, which you most likely don't). So this is a (quite common it seems) packaging bug. > Ahh, it looks like this is enabled by common 'experimental flag.
Strangely nobody actually said what the problem was, but I guess you didn’t just find those log messages by accident and thought “what does this mean?”. For me, bluetooth did not work anymore, i.e. bluedevil-monolithic could not enable it. I do not use it that often, but I assume it was broken after the update from bluez-5.25 to bluez-5.33 and then bluez-5.35. Fortunately after updating to 5.37 everything works fine again, even though I still get the same messages: Mar 3 19:39:24 nowhereland bluetoothd[5739]: Bluetooth daemon 5.37 Mar 3 19:39:24 nowhereland bluetoothd[5739]: Starting SDP server Mar 3 19:39:24 nowhereland bluetoothd[5739]: kernel lacks bnep-protocol support Mar 3 19:39:24 nowhereland bluetoothd[5739]: System does not support network plugin Mar 3 19:39:24 nowhereland bluetoothd[5739]: Failed to open RFKILL control device Mar 3 19:39:24 nowhereland bluetoothd[5739]: Bluetooth management interface 1.9 initialized Mar 3 19:39:24 nowhereland bluetoothd[5739]: Failed to obtain handles for "Service Changed" characteristic Mar 3 19:39:24 nowhereland bluetoothd[5739]: Not enough free handles to register service Mar 3 19:39:24 nowhereland bluetoothd[5739]: Error adding Link Loss service Mar 3 19:39:24 nowhereland bluetoothd[5739]: Not enough free handles to register service Mar 3 19:39:24 nowhereland bluetoothd[5739]: Not enough free handles to register service Mar 3 19:39:24 nowhereland bluetoothd[5739]: Not enough free handles to register service Mar 3 19:39:24 nowhereland bluetoothd[5739]: Current Time Service could not be registered Mar 3 19:39:24 nowhereland bluetoothd[5739]: gatt-time-server: Input/output error (5) Mar 3 19:39:24 nowhereland bluetoothd[5739]: Not enough free handles to register service Mar 3 19:39:24 nowhereland bluetoothd[5739]: Not enough free handles to register service Mar 3 19:39:24 nowhereland bluetoothd[5739]: Sap driver initialization failed. Mar 3 19:39:24 nowhereland bluetoothd[5739]: sap-server: Operation not permitted (1) So maybe this would work for you too. In that case I think 5.35 should be removed. Also why does the bug mention bluez-5.35-r1? I do not see that version in the tree.
updating things and more things... mar 03 14:25:45 1xb bluetoothd[2110]: Failed to obtain handles for "Service Changed" characteristic mar 03 14:25:45 1xb bluetoothd[2110]: Not enough free handles to register service mar 03 14:25:45 1xb bluetoothd[2110]: Error adding Link Loss service mar 03 14:25:45 1xb bluetoothd[2110]: Not enough free handles to register service mar 03 14:25:45 1xb bluetoothd[2110]: Not enough free handles to register service mar 03 14:25:45 1xb bluetoothd[2110]: Not enough free handles to register service mar 03 14:25:45 1xb bluetoothd[2110]: Current Time Service could not be registered mar 03 14:25:45 1xb bluetoothd[2110]: gatt-time-server: Input/output error (5) mar 03 14:25:45 1xb bluetoothd[2110]: Not enough free handles to register service mar 03 14:25:45 1xb bluetoothd[2110]: Not enough free handles to register service mar 03 14:25:45 1xb bluetoothd[2110]: Sap driver initialization failed. mar 03 14:25:45 1xb bluetoothd[2110]: sap-server: Operation not permitted (1)
BTW, https://wiki.gentoo.org/wiki/Bluetooth#Permissions I have done alternative (adding a user to the plugdev group). The error (Not enough free handles to register service) not disappeared. But all I need (exchange files between laptop and mobile phone) is working now.
[master dc22fe2] net-wireless/bluez: Version bump, make experimental plugins optional and disabled by default as wanted by upstream (#566004) 3 files changed, 233 insertions(+) create mode 100644 net-wireless/bluez/bluez-5.38.ebuild