BalenaSound Bluetooth Error Raspberry pi3

I loved the project, I used to do it with a notebook and KDE. Now I can do it with my raspberry, however, I can’t get it to run the bluetooth service, it always fails and I can’t go any further, can you help me? The log is this:
10.04.20 12:22:24 (-0300) bluetooth-audio Bluetooth agent registered
10.04.20 12:22:25 (-0300) bluetooth-audio Can’t get device info: No such device
10.04.20 12:22:25 (-0300) bluetooth-audio Can’t get device info: No such device
10.04.20 12:22:25 (-0300) bluetooth-audio /usr/bin/bluealsa: No HCI device available
10.04.20 12:22:25 (-0300) bluetooth-audio Can’t get device info: No such device
10.04.20 12:22:25 (-0300) bluetooth-audio Starting bluetooth agent in Secure Simple Pairing Mode (SSPM) - No PIN code provided or invalid
10.04.20 12:22:29 (-0300) bluetooth-audio Device is discoverable as “balenaSound 7a42”
10.04.20 12:22:29 (-0300) bluetooth-audio /usr/bin/bluealsa-aplay: BlueALSA connection failed: No such file or directory
10.04.20 12:24:44 (-0300) bluetooth-audio Setting output volume to 75%
10.04.20 12:24:44 (-0300) bluetooth-audio Connection notify volume is 75%
10.04.20 12:24:44 (-0300) bluetooth-audio amixer: Unable to find simple control ‘Digital’,0
10.04.20 12:24:44 (-0300) bluetooth-audio
10.04.20 12:25:10 (-0300) bluetooth-audio Error org.freedesktop.DBus.Error.TimedOut: Failed to activate service ‘org.bluez’: timed out (service_start_timeout=25000ms)

The problem is that i can’t connect with device.

The version that i use is BalenaOS 2.47.0 Developer and Supervisor 10.6.27.

Thanks for your time.

Hi @fabiojrsantos welcome to the community! What type of raspberry pi are you running on? it can’t seem to find any bluetooth device on your raspberry pi. Could you open a webterminal session to the hostOS using your balenaCloud dashboard and run the following command: systemctl status bluetooth, it should out put something like this:

root@0d2db81:~# systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-04-10 15:21:19 UTC; 3h 39min ago
     Docs: man:bluetoothd(8)
 Main PID: 891 (bluetoothd)
   Status: "Running"
   Memory: 1.0M
   CGroup: /system.slice/bluetooth.service
           └─891 /usr/libexec/bluetooth/bluetoothd --experimental

Apr 10 15:21:19 0d2db81 systemd[1]: Starting Bluetooth service...
Apr 10 15:21:19 0d2db81 systemd[1]: Started Bluetooth service.

This is the result:
root@7a424e7:~# systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/bluetooth.service.d
└─bluetooth.conf
Active: inactive (dead)
Docs: man:bluetoothd(8)

After obtain the output, i type:
systemctl restart bluetooth
systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/bluetooth.service.d
└─bluetooth.conf
Active: active (running) since Sun 2020-04-12 17:46:39 UTC; 6s ago
Docs: man:bluetoothd(8)
Main PID: 2643 (bluetoothd)
Status: “Running”
Tasks: 1 (limit: 2305)
Memory: 1.1M
CGroup: /system.slice/bluetooth.service
└─2643 /usr/libexec/bluetooth/bluetoothd --experimental

But i still not find in scan by phone.

Hi, since the bluetooth service was inactive, balenaSound couldn’t register it. Can you try restarting the balenaSound service and then try to connect?

Hi, thanks for reply. I think that problem was with Bluetooth in device.

I try another software for this, but not responder in Bluetooth, another services it ok. The only that not work is Bluetooth. I’ll trie with another RPi and post the result in this topic.

Fabio, thanks for the heads up. Let us know how it goes.