I have uninstalled BlueZ from my raspberry pi.
sudo apt-get --purge remove bluez
Then, I reinstalled it using this tutorial:
wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.47.tar.xz tar -xvf bluez-5.47.tar.xz cd bluez-5.47/ ./configure --enable-mesh --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var make sudo make install sudo ln -sf /usr/libexec/bluetooth/bluetoothd /usr/lib/bluetooth/bluetoothd sudo systemctl daemon-reload
Then, I did
bluetoothd -v as the tuto was suggesting and it told me "command not found". I went on by adding
PATH in my
bluetoothd -v gives me 5.47.
sudo systemctl status bluetooth gives me:
● bluetooth.service - Bluetooth service Loaded: loaded (/etc/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: inactive (dead) Docs: man:bluetoothd(8)
sudo systemctl start bluetooth,
sudo systemctl enable bluetooth.service and none of that worked. (cf https://askubuntu.com/questions/779911/bluetooth-status-inactive-dead).
What makes the
bluetooth service inactive? I also remarked that my
/etc/bluetooth/ folder does not exist anymore since I reinstalled BlueZ. Why is that?
- Raspberry Pi 3 Model B Rev 1.2
- BlueZ v 5.47