On a new install of Raspbian Stretch, log in and with the first command of systemctl status bluetooth, I get:

$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2017-08-18 01:37:37 UTC; 1s ago
     Docs: man:bluetoothd(8)
 Main PID: 667 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─667 /usr/lib/bluetooth/bluetoothd

Aug 18 01:37:37 raspberrypi systemd[1]: Starting Bluetooth service...
Aug 18 01:37:37 raspberrypi bluetoothd[667]: Bluetooth daemon 5.43
Aug 18 01:37:37 raspberrypi systemd[1]: Started Bluetooth service.
Aug 18 01:37:37 raspberrypi bluetoothd[667]: Starting SDP server
Aug 18 01:37:38 raspberrypi bluetoothd[667]: Bluetooth management interface 1.14 initialized
Aug 18 01:37:38 raspberrypi bluetoothd[667]: Failed to obtain handles for "Service Changed" characteristic
Aug 18 01:37:38 raspberrypi bluetoothd[667]: Sap driver initialization failed.
Aug 18 01:37:38 raspberrypi bluetoothd[667]: sap-server: Operation not permitted (1)

Consequently, bluetoothctl doesn't detect any devices.

This didn't happen with Raspbian Jessie. Any pointers on how to resolve this?

up vote 6 down vote accepted

I just hit the same issue. The errors from the bluetooth service are red herrings. The problem (for me, anyway) was that the permissions required to access the service over DBus have changed.

As regular user:

pi@raspberrypi:~ $ busctl tree org.bluez
Failed to introspect object / of service org.bluez: Access denied
No objects discovered.

As root:

pi@raspberrypi:~ $ sudo busctl tree org.bluez
└─/org
  └─/org/bluez
    └─/org/bluez/hci0

Checked /etc/dbus-1/system.d/bluetooth.conf, which says users must be in the bluetooth group.

Add user to group:

pi@raspberrypi:~ $ sudo adduser pi bluetooth
Adding user `pi' to group `bluetooth' ...
Adding user pi to group bluetooth
Done.
pi@raspberrypi:~ $ newgrp bluetooth

Now it works:

pi@raspberrypi:~ $ busctl tree org.bluez
└─/org
  └─/org/bluez
    └─/org/bluez/hci0
pi@raspberrypi:~ $ bluetoothctl 
[NEW] Controller 43:43:A1:12:1F:AC raspberrypi [default]
  • have you gotten it to work on kodi? It seems to only work on chromium browser – answerSeeker Jun 16 at 21:56

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.