I have compiled and installed the latest version of bluez (v5.44) from source code with this configuration: ./configure --enable-experimental --enable-library and can't get the service to start on boot. I try to enable it with:
Code: Select all
$ sudo systemctl enable bluetooth
Created symlink from /etc/systemd/system/dbus-org.bluez.service to /lib/systemd/system/bluetooth.service.
Created symlink from /etc/systemd/system/bluetooth.target.wants/bluetooth.service to /lib/systemd/system/bluetooth.service.
Code: Select all
$ sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
Code: Select all
$ sudo systemctl start bluetooth
$ sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Active: active (running) since Sat 2017-04-29 13:44:45 BST; 8s ago
Docs: man:bluetoothd(8)
Main PID: 1391 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─1391 /usr/local/libexec/bluetooth/bluetoothd
Apr 29 13:44:45 raspberry bluetoothd[1391]: Bluetooth daemon 5.44
Apr 29 13:44:45 raspberry systemd[1]: Started Bluetooth service.
Apr 29 13:44:45 raspberry bluetoothd[1391]: Starting SDP server
Apr 29 13:44:46 raspberry bluetoothd[1391]: Bluetooth management interface 1.14 initialized
Code: Select all
$ dmesg | grep Bluetooth
[ 6.208836] Bluetooth: Core ver 2.22
[ 6.208986] Bluetooth: HCI device and connection manager initialized
[ 6.209026] Bluetooth: HCI socket layer initialized
[ 6.209049] Bluetooth: L2CAP socket layer initialized
[ 6.209110] Bluetooth: SCO socket layer initialized
[ 206.603329] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 206.603346] Bluetooth: BNEP filters: protocol multicast
[ 206.603375] Bluetooth: BNEP socket layer initialized
Thanks
Karl.