[ASUS Tinker Board (armv7l)] [Bluetooth] Devices disconnect a few seconds after connection

First of all, THANK YOU for DietPi and your hard work. I’ve been using it for ~10 years now, it’s absolutely AWESOME.

I’d like to forward sound from my phone to the board through bluetooth (my speakers are plugged into the board via 3.5mm jack) but device connection seems to fail.

Required Information

  • DietPi version | cat /boot/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 | echo $G_DISTRO_NAME $G_RASPBIAN

bullseye

  • Kernel version | uname -a

Linux Haybot 6.1.11-rockchip #23.02.2 SMP PREEMPT Fri Feb 17 23:55:05 UTC 2023 armv7l GNU/Linux

  • Architecture | dpkg --print-architecture

armhf

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)

ASUS Tinker Board (armv7l)

  • Power supply used | (EG: 5V 1A RAVpower)

Aukru Micro USB 5v 3000mA

  • SD card used | (EG: SanDisk ultra)

SanDisk Ultra 16GiB class 10 cat I

Steps to reproduce

  1. Enable bluetooth (dietpi-config → advanced → bluetooth)
  2. Install pulseaudio-module-bluetooth (sudo apt install pulseaudio-module-bluetooth)
  3. Follow the steps at http://rubensm.com/send-audio-from-mobile-phone-android-ios-to-raspberry/:
sudo bluetoothctl
power on
agent NoInputNoOutput
default-agent
discoverable on
pairable on
trust XX:XX:XX:XX:XX:XX (my device's bluetooth address)
connect XX:XX:XX:XX:XX:XX

Expected behaviour

  • bluetooth connection should keep stable

Actual behaviour

  • bluetooth disconnection occurs 3/4 seconds after connection
  • reconnexion is impossible

Extra details

  • I’ve tried connecting my own phone, my GF’s phone & my laptop, the issue persists whatever device I use.
fointard@Haybot:~$ sudo journalctl -u bluetooth
[sudo] Mot de passe de fointard : 
-- Journal begins at Sun 2023-08-27 17:42:40 CEST, ends at Sun 2023-08-27 18:15:11 CEST. --
août 27 18:00:18 Haybot systemd[1]: Starting Bluetooth service...
août 27 18:00:18 Haybot bluetoothd[430]: Bluetooth daemon 5.55
août 27 18:00:18 Haybot systemd[1]: Started Bluetooth service.
août 27 18:00:18 Haybot bluetoothd[430]: Starting SDP server
août 27 18:00:18 Haybot bluetoothd[430]: profiles/network/bnep.c:bnep_init() kernel lacks bnep-protocol support
août 27 18:00:18 Haybot bluetoothd[430]: src/plugin.c:plugin_init() System does not support network plugin
août 27 18:00:18 Haybot bluetoothd[430]: Bluetooth management interface 1.22 initialized
août 27 18:00:19 Haybot bluetoothd[430]: profiles/sap/server.c:sap_server_register() Sap driver initialization failed.
août 27 18:00:19 Haybot bluetoothd[430]: sap-server: Operation not permitted (1)
fointard@Haybot:~$ sudo bluetoothctl
Agent registered
[CHG] Controller F0:03:8C:62:F7:E8 Pairable: yes
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent NoInputNoOutput
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# discoverable on
Changing discoverable on succeeded
[CHG] Controller F0:03:8C:62:F7:E8 Discoverable: yes
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# devices
Device C0:8C:71:CF:F0:06 H4yph0n3
[bluetooth]# trust C0:8C:71:CF:F0:06
Changing C0:8C:71:CF:F0:06 trust succeeded
[bluetooth]# connect C0:8C:71:CF:F0:06
Attempting to connect to C0:8C:71:CF:F0:06
Failed to connect: org.bluez.Error.Failed
[bluetooth]# pair C0:8C:71:CF:F0:06
Attempting to pair with C0:8C:71:CF:F0:06
Failed to pair: org.bluez.Error.AlreadyExists
[bluetooth]# remove C0:8C:71:CF:F0:06
[DEL] Device C0:8C:71:CF:F0:06 H4yph0n3
Device has been removed
[NEW] Device C0:8C:71:CF:F0:06 H4yph0n3
Request confirmation
[agent] Confirm passkey 271345 (yes/no): yes
[CHG] Device C0:8C:71:CF:F0:06 Modalias: bluetooth:v00E0p1200d1436
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 00001105-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 00001112-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 00001115-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 00001116-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 0000111f-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 0000112f-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 00001132-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device C0:8C:71:CF:F0:06 ServicesResolved: yes
[CHG] Device C0:8C:71:CF:F0:06 Paired: yes
[CHG] Device C0:8C:71:CF:F0:06 ServicesResolved: no
[CHG] Device C0:8C:71:CF:F0:06 Connected: no
[bluetooth]#

Any idea ?

@MichaIng Could you please take a look at it?