I have a problem getting bluetooth running on a DietPi v8.21.1 system on a Raspberry 3B+.
The bluetooth service runs, rfkill
(after installing) shows everything “unblocked”, power is on. So, everything I read about bluetoothctl power off / on
and rfkill unblock
etc. - I already tried it.
systemctl status bluetooth
gives me a lot of red messages:
Sep 19 18:21:43 benserver bluetoothd[1321]: profiles/audio/vcp.c:vcp_init() D-Bus experimental not enabled
Sep 19 18:21:43 benserver bluetoothd[1321]: src/plugin.c:plugin_init() Failed to init vcp plugin
Sep 19 18:21:43 benserver bluetoothd[1321]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not enabled
Sep 19 18:21:43 benserver bluetoothd[1321]: src/plugin.c:plugin_init() Failed to init mcp plugin
Sep 19 18:21:43 benserver bluetoothd[1321]: profiles/audio/bap.c:bap_init() D-Bus experimental not enabled
Sep 19 18:21:43 benserver bluetoothd[1321]: src/plugin.c:plugin_init() Failed to init bap plugin
Sep 19 18:21:43 benserver bluetoothd[1321]: Bluetooth management interface 1.22 initialized
Sep 19 18:21:43 benserver bluetoothd[1321]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
Sep 19 18:21:43 benserver bluetoothd[1321]: sap-server: Operation not permitted (1)
Sep 19 18:21:45 benserver bluetoothd[1321]: Failed to set mode: Authentication Failed (0x05)
Almost allof them are gone, when I change the service to start the daemon with the option --experimental
via dietpi-services. Still not working.
Required Information
- DietPi version |
G_DIETPI_VERSION_CORE=8 G_DIETPI_VERSION_SUB=21 G_DIETPI_VERSION_RC=1 G_GITBRANCH='master' G_GITOWNER='MichaIng'
- Distro version |
bookworm 0
- Kernel version |
Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
- Architecture |
arm64
- SBC model |
RPi 3 Model B+ (aarch64)
- Power supply used | 5V 2A
- SD card used | SanDisk Extreme Pro A2
Additional Information (if applicable)
- Can this issue be replicated on a fresh installation of DietPi?
- No, there the output of
systemctl status bluetooth
is similar:
but bluetooth works. It’s the same hardware, just a fresh dietpi installation a different card. So a hardware defect can be ruled out.Sep 18 19:28:54 DietPi bluetoothd[369]: src/plugin.c:plugin_init() Failed to init vcp plugin Sep 18 19:28:54 DietPi bluetoothd[369]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not enabled Sep 18 19:28:54 DietPi bluetoothd[369]: src/plugin.c:plugin_init() Failed to init mcp plugin Sep 18 19:28:54 DietPi bluetoothd[369]: profiles/audio/bap.c:bap_init() D-Bus experimental not enabled Sep 18 19:28:54 DietPi bluetoothd[369]: src/plugin.c:plugin_init() Failed to init bap plugin Sep 18 19:28:54 DietPi bluetoothd[369]: Bluetooth management interface 1.22 initialized Sep 18 19:28:54 DietPi bluetoothd[369]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed. Sep 18 19:28:54 DietPi bluetoothd[369]: sap-server: Operation not permitted (1) Sep 18 19:28:54 DietPi bluetoothd[369]: Failed to set privacy: Rejected (0x0b) Sep 18 19:28:58 DietPi bluetoothd[369]: src/adv_monitor.c:btd_adv_monitor_power_down() Unexpected NULL btd_adv_monitor_manager object upon power down
- No, there the output of
Steps to reproduce
- Switch on bluetooth via dietpi-config
- start
bluetoothctl
andscan on
Expected behaviour
- list of bluetooth device in proximity
Actual behaviour
- error message
Failed to start discovery: org.bluez.Error.InProgress
Extra details
find /proc/device-tree/ -name status -exec echo -ne '\n{}: ' \; -exec cat {} \;
give same results on both systems- on the not working system, there is a wifi hotspot installed and this software list:
[ ] 0 OpenSSH Client: Feature-rich SSH, SFTP and SCP client [ ] 5 ALSA: Advanced Linux Sound Architecture [ ] 6 X.Org X Server: aka X11 - X Window System implementation [ ] 17 Git: Clone and manage Git repositories locally [ ] 103 DietPi-RAMlog: Makes /var/log a RAM disk, preserves file structure on reboot [ ] 105 OpenSSH Server: Feature-rich SSH server with SFTP and SCP support [ ] 113 Chromium: web browser for desktop or autostart [ ] 123 Mosquitto: MQTT messaging broker [ ] 130 Python 3: Runtime system, pip package installer and development headers [ ] 157 Home Assistant: Open source home automation platform