BLE does not work on my rpi5. It gives D-bus errors…
With systemctl disable it does not work… also restart=no in the .serve file does not work…
So… how doe I switch it off?
Cheers,
Maarten
PS:
Sep 28 14:42:37 zynthian systemd[1]: bluetooth.service: Scheduled restart job, restart counter is at 23. Sep 28 14:42:37 zynthian systemd[1]: Stopped bluetooth.service - Bluetooth service. Sep 28 14:42:37 zynthian systemd[1]: Started bluetooth.service - Bluetooth service. Sep 28 14:42:37 zynthian bluetoothd[1774]: Bluetooth daemon 5.76 Sep 28 14:42:37 zynthian bluetoothd[1774]: D-Bus setup failed: Connection “:1.38” is not allowed to own the service “org.bluez” due to security policies in the configuration file Sep 28 14:42:37 zynthian bluetoothd[1774]: src/main.c:main() Unable to get on D-Bus Sep 28 14:42:37 zynthian systemd[1]: bluetooth.service: Main process exited, code=exited, status=1/FAILURE Sep 28 14:42:37 zynthian systemd[1]: bluetooth.service: Failed with result ‘exit-code’.
I think the Bluetooth install is not as it is intended… A library is missing when I try to re-install.
After re-installing this lib and re-installing Bluetooth, Bluetooth MIDI works OK
So →
root@zynthian://zynthian# sudo service bluetooth status :
● bluetooth.service - Bluetooth service
Loaded: loaded (/etc/systemd/system/bluetooth.service; static)
Active: activating (auto-restart) (Result: exit-code) since Thu 2024-10-03>
Process: 2992 ExecStart=/usr/libexec/bluetooth/bluetoothd (code=exited, sta>
Main PID: 2992 (code=exited, status=1/FAILURE)
CPU: 4ms
Sorry, I still get the bluetooth error when I activate it.
This is recorded as issue 1214. I will take a look when I get a moment.
FYI: Bluetooth management was modified in Oram and tested against a small but varied range of devices. It is plausible that I installed or compiled dependancies on the test machine that didn’t get caught by the update mechanism. I will check with a freshly imaged machine and work through the issues. The suggested solution does not look familiar to me so maybe it installs a library or other dependancy that is required. We do not use the standard Debian Bluetooth applications as they are missing some important elements that we have added, specifically direct integration with jackd. Manually installing applications or libs may interfere with zynthian’s normal operation.