Debian Bug report logs - #757292
[bluetooth] Error in Sap

version graph

Package: bluetooth; Maintainer for bluetooth is Debian Bluetooth Maintainers <[email protected]>; Source for bluetooth is src:bluez (PTS, buildd, popcon).

Reported by: Marco Righi <[email protected]>

Date: Wed, 6 Aug 2014 23:18:01 UTC

Severity: normal

Merged with 763368

Found in version bluez/5.21-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Bluetooth Maintainers <[email protected]>:
Bug#757292; Package bluetooth. (Wed, 06 Aug 2014 23:18:06 GMT) (full text, mbox, link).


Acknowledgement sent to Marco Righi <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Bluetooth Maintainers <[email protected]>. (Wed, 06 Aug 2014 23:18:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Marco Righi <[email protected]>
To: [email protected]
Subject: [bluetooth] Error in Sap
Date: Thu, 07 Aug 2014 01:14:05 +0200
Package: bluetooth
Version: 5.21-2
Severity: normal

--- Please enter the report below this line. ---
Hi,
if I digit

/etc/init.d/bluetooth status

I got some errors (gaia is the name of the computer):

bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
   Active: active (running) since gio 2014-08-07 01:01:33 CEST; 2min 47s ago
     Docs: man:bluetoothd(8)

 Main PID: 770 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─770 /usr/lib/bluetooth/bluetoothd

ago 07 01:01:24 gaia systemd[1]: Starting Bluetooth service...
ago 07 01:01:26 gaia bluetoothd[770]: Bluetooth daemon 5.21
ago 07 01:01:33 gaia systemd[1]: Started Bluetooth service.
ago 07 01:01:34 gaia bluetoothd[770]: Starting SDP server
ago 07 01:01:35 gaia bluetoothd[770]: Bluetooth management interface 1.4
initialized
ago 07 01:01:35 gaia bluetoothd[770]: Sap driver initialization failed.
ago 07 01:01:35 gaia bluetoothd[770]: sap-server: Operation not
permitted (1)

Please write me if I can provide you information. This problem is
blocking my jpilot syncing.

Thanxs
Marco

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.14-2-amd64

Debian Release: jessie/sid
  500 testing-updates ftp.it.debian.org
  500 testing         www.deb-multimedia.org
  500 testing         security.debian.org
  500 testing         ftp.it.debian.org
  500 testing         apt.jenslody.de
  500 stable          repo.wuala.com
  500 stable          apt.spideroak.com
  500 sid             linux.dropbox.com
  500 debian          packages.linuxmint.com
  100 jessie-backports ftp.it.debian.org

--- Package information. ---
Depends      (Version) | Installed
======================-+-===========
bluez                  | 5.21-2


Package's Recommends field is empty.

Suggests         (Version) | Installed
==========================-+-===========
bluez-cups                 | 5.21-2
bluez-obexd                | 5.21-2






Merged 757292 763368 Request was from Tomasz Nitecki <[email protected]> to [email protected]. (Mon, 29 Sep 2014 23:48:14 GMT) (full text, mbox, link).


Information forwarded to [email protected], Debian Bluetooth Maintainers <[email protected]>:
Bug#757292; Package bluetooth. (Sun, 18 Jan 2015 12:45:15 GMT) (full text, mbox, link).


Acknowledgement sent to Ronoaldo José de Lana Pereira <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Bluetooth Maintainers <[email protected]>. (Sun, 18 Jan 2015 12:45:15 GMT) (full text, mbox, link).


Message #12 received at [email protected] (full text, mbox, reply):

From: Ronoaldo José de Lana Pereira <[email protected]>
To: [email protected]
Subject: I am having the same issue with my system
Date: Sun, 18 Jan 2015 10:39:39 -0200
[Message part 1 (text/plain, inline)]
# systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
   Active: active (running) since Dom 2015-01-18 10:24:28 BRST; 13min ago
     Docs: man:bluetoothd(8)
 Main PID: 13301 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─13301 /usr/lib/bluetooth/bluetoothd

Jan 18 10:24:28 ronoaldo-lenovo bluetoothd[13301]: Bluetooth daemon 5.23
Jan 18 10:24:28 ronoaldo-lenovo bluetoothd[13301]: Starting SDP server
Jan 18 10:24:28 ronoaldo-lenovo bluetoothd[13301]: Bluetooth management
interface 1.6 initialized
Jan 18 10:24:28 ronoaldo-lenovo bluetoothd[13301]: Sap driver
initialization failed.
Jan 18 10:24:28 ronoaldo-lenovo bluetoothd[13301]: sap-server: Operation
not permitted (1)
Jan 18 10:24:28 ronoaldo-lenovo bluetoothd[13301]: hci0 Load Connection
Parameters failed: Unknown Command (0x01)
Jan 18 10:25:39 ronoaldo-lenovo bluetoothd[13301]: Wrong size of start
discovery return parameters

The bluetooth UI and tools seems to work ok, but when I scan a device from
the laptop, no response is seen. I cannot see the laptop on other devices
scan results, such as, my phone.

Any way I can help digging into this?

-- 
Ronoaldo Pereira
http://www.ronoaldo.net/
[Message part 2 (text/html, inline)]

Information forwarded to [email protected], Debian Bluetooth Maintainers <[email protected]>:
Bug#757292; Package bluetooth. (Fri, 09 Oct 2015 22:06:04 GMT) (full text, mbox, link).


Acknowledgement sent to Thorsten Scherler <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Bluetooth Maintainers <[email protected]>. (Fri, 09 Oct 2015 22:06:04 GMT) (full text, mbox, link).


Message #17 received at [email protected] (full text, mbox, reply):

From: Thorsten Scherler <[email protected]>
To: [email protected]
Subject: same issue
Date: Sat, 10 Oct 2015 00:02:35 +0200
[Message part 1 (text/plain, inline)]
Hi I am having the same issue, is there a possible solution to try? I
read go back to bluez4 but I would rather not do that.

As Ronoaldo José de Lana Pereira I see devices but never can connect to
them via the gui, so I ended up doing the following (very EASY!!! as
well for beginners) and I am also including you some sample output
formated as md. May help it the next suffering this issue.

### connect to bluetooth devices with a terminal (I did it as root)

```
bluetoothctl
```
> [NEW] Controller a6:66::A9:8D:3B kenny [default]

> [NEW] Device 00:1F:20:F0:ED:AE Logitech Keyboard K480

```
pair 00:1F:20:F0:ED:AE
```
> [CHG] Device 00:1F:20:F0:ED:AE Connected: yes

> [CHG] Device 00:1F:20:F0:ED:AE Modalias: usb:v046DpB330d2800

> [CHG] Device 00:1F:20:F0:ED:AE UUIDs:

> 	00001000-0000-1000-8000-00805f9b34fb

> 	00001124-0000-1000-8000-00805f9b34fb

> 	00001200-0000-1000-8000-00805f9b34fb

> [CHG] Device 00:1F:20:F0:ED:AE Paired: yes

> Pairing successful

> [CHG] Device 00:1F:20:F0:ED:AE Connected: no

> [CHG] Device 00:1F:20:F0:ED:AE RSSI: -74

> [CHG] Device 00:1F:20:F0:ED:AE RSSI: -57


```
unblock 00:1F:20:F0:ED:AE
```

> Changing 00:1F:20:F0:ED:AE unblock succeeded

> [CHG] Device 00:1F:20:F0:ED:AE RSSI: -65

> [CHG] Device 00:1F:20:F0:ED:AE RSSI: -54

> [CHG] Device 00:1F:20:F0:ED:AE RSSI: -70

> [CHG] Device 00:1F:20:F0:ED:AE RSSI: -61

```
connect 00:1F:20:F0:ED:AE
```

> Attempting to connect to 00:1F:20:F0:ED:AE

> [CHG] Device 00:1F:20:F0:ED:AE Connected: yes

> Connection successful

---REPORT---
etc/init.d/bluetooth status -l
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
   Active: active (running) since Fri 2015-10-09 22:23:55 CEST; 28min ago
     Docs: man:bluetoothd(8)
 Main PID: 552 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─552 /usr/lib/bluetooth/bluetoothd

Oct 09 22:23:52 kenny bluetoothd[552]: Bluetooth daemon 5.23
Oct 09 22:23:55 kenny bluetoothd[552]: Starting SDP server
Oct 09 22:23:56 kenny bluetoothd[552]: Bluetooth management interface
1.6 initialized
Oct 09 22:23:56 kenny bluetoothd[552]: Sap driver initialization failed.
Oct 09 22:23:56 kenny bluetoothd[552]: sap-server: Operation not
permitted (1)
Oct 09 22:23:56 kenny bluetoothd[552]: hci0 Load Connection Parameters
failed: Unknown Command (0x01)


-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to [email protected], Debian Bluetooth Maintainers <[email protected]>:
Bug#757292; Package bluetooth. (Thu, 19 Jan 2017 13:39:02 GMT) (full text, mbox, link).


Acknowledgement sent to solitone <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Bluetooth Maintainers <[email protected]>. (Thu, 19 Jan 2017 13:39:02 GMT) (full text, mbox, link).


Message #22 received at [email protected] (full text, mbox, reply):

From: solitone <[email protected]>
To: [email protected]
Subject: [bluetooth] Error in Sap
Date: Thu, 19 Jan 2017 14:35:58 +0100
I also have such error messages, and I'm in stretch.

------------------------------------------------------------------------------------------------------------------------
solitone@alan:~$ sudo /etc/init.d/bluetooth status ● bluetooth.service - 
Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Thu 2017-01-19 08:13:37 CET; 5h 55min ago
     Docs: man:bluetoothd(8)
 Main PID: 475 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─475 /usr/lib/bluetooth/bluetoothd

Jan 19 08:13:37 alan systemd[1]: Starting Bluetooth service...
Jan 19 08:13:37 alan bluetoothd[475]: Bluetooth daemon 5.43
Jan 19 08:13:37 alan bluetoothd[475]: Starting SDP server
Jan 19 08:13:37 alan systemd[1]: Started Bluetooth service.
Jan 19 08:13:37 alan bluetoothd[475]: Bluetooth management interface 1.13 
initialized
Jan 19 08:13:37 alan bluetoothd[475]: Failed to obtain handles for "Service 
Changed" characteristic
Jan 19 08:13:37 alan bluetoothd[475]: Sap driver initialization failed.
Jan 19 08:13:37 alan bluetoothd[475]: sap-server: Operation not permitted (1)
------------------------------------------------------------------------------------------------------------------------

I don't know whether it's related, but I can't connect to any device. I can 
just pair with them. I've also tried with bluetoothctl, like Thorsten, but it 
won't work in my system:

solitone@alan:~$ bluetoothctl 
[NEW] Controller 98:01:A7:9D:0F:BE alan [default]
[NEW] Device 78:F8:82:48:55:C3 Nexus 5X
[bluetooth]# pair 78:F8:82:48:55:C3 
Attempting to pair with 78:F8:82:48:55:C3
Failed to pair: org.bluez.Error.AlreadyExists
[bluetooth]# connect 78:F8:82:48:55:C3 
Attempting to connect to 78:F8:82:48:55:C3
Failed to connect: org.bluez.Error.Failed
[bluetooth]# unblock 78:F8:82:48:55:C3 
Changing 78:F8:82:48:55:C3 unblock succeeded
[bluetooth]# connect 78:F8:82:48:55:C3 
Attempting to connect to 78:F8:82:48:55:C3
Failed to connect: org.bluez.Error.Failed
[bluetooth]#



Information forwarded to [email protected], Debian Bluetooth Maintainers <[email protected]>:
Bug#757292; Package bluetooth. (Thu, 19 Jan 2017 14:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to solitone <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Bluetooth Maintainers <[email protected]>. (Thu, 19 Jan 2017 14:33:05 GMT) (full text, mbox, link).


Message #27 received at [email protected] (full text, mbox, reply):

From: solitone <[email protected]>
To: [email protected]
Subject: Re: [bluetooth] Error in Sap
Date: Thu, 19 Jan 2017 15:29:17 +0100
Errata: apparently those error messages don't prevent bluetooth from 
functioning correctly. I've installed the packages required for a2db, and now 
I can connect to my bluetooth devices like smartphones and tablets:
https://wiki.debian.org/BluetoothUser/a2dp

I found out I had an issue wit a2db, because I had the following error in /
var/log/syslog:

Jan 19 14:27:06 alan bluetoothd[475]: a2dp-source profile connect failed for 
78:F8:82:48:55:C3: Protocol not available               




Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 15:49:43 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.