1

I am trying to use BlueZ 5.45 on a raspberry pi running Raspbian Jessie and cannot set up BlueZ to use LE Privacy. When I start the bluetooth daemon I get the following messages:

Jul 26 22:00:19 raspberrypi bluetoothd[18971]: Bluetooth daemon 5.45
Jul 26 22:00:19 raspberrypi bluetoothd[18971]: Starting SDP server
Jul 26 22:00:19 raspberrypi bluetoothd[18971]: Bluetooth management interface 1.14 initialized
Jul 26 22:00:19 raspberrypi bluetoothd[18971]: No IRK stored
Jul 26 22:00:19 raspberrypi bluetoothd[18971]: Failed to open crypto
Jul 26 22:00:19 raspberrypi systemd[1]: Started Bluetooth service.

BlueZ tries to set up LE Privacy, finds there is no IRK stored, but does not have access to the crypto functions in the kernel to generate one.

How can I get past this error?

Privacy was set by adding the line Privacy = device to /etc/bluetooth/main.conf and adding a symlink at /usr/local/etc.

0

Change to privacy = off but set Controller = le in /etc/bluetooth/main.conf seems to have fixed most for me still tinkering with bluetooth to get autoconnect to mobile phone when near at boot time or thereof...there have been others, but I don't think it is of any concern

  • also edit the bluetooth.service file = /etc/systemd/system/bluetooth.target.wants/bluetooth.service add in the file ExecStart=/usr/lib/bluetooth/bluetoothd --compat --noplugin=sap -E most of the errors will disappear except service change handle error – user221166 Jan 6 '18 at 3:02
  • Please edit your answer to include everything, instead of adding a comment. – Patrick Mevzek Jan 6 '18 at 3:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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