Lakka Bluetooth Support on Tinker Board


#1

Does Lakka support bluetooth on the Asus Tinker board?

This is what I get from a “systemctl status bluetooth”.

Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2018-11-30 12:59:55 UTC; 21min ago
Main PID: 369 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
       mq369 /usr/lib/bluetooth/bluetoothd

Nov 30 12:59:55 Lakka systemd[1]: Started Bluetooth service.
Nov 30 12:59:55 Lakka bluetoothd[369]: Bluetooth daemon 5.43
Nov 30 12:59:55 Lakka bluetoothd[369]: Starting SDP server
Nov 30 12:59:55 Lakka bluetoothd[369]: kernel lacks bnep-protocol support
Nov 30 12:59:55 Lakka bluetoothd[369]: System does not support network plugin
Nov 30 12:59:55 Lakka bluetoothd[369]: Bluetooth management interface 1.10 initialized
Nov 30 12:59:56 Lakka bluetoothd[369]: Failed to obtain handles for "Service Changed" characteristic
Nov 30 12:59:56 Lakka bluetoothd[369]: Failed to set privacy: Rejected (0x0b)
Nov 30 13:04:28 Lakka bluetoothd[369]: Failed to set mode: Blocked through rfkill (0x12)

My guess is that the “vendor preset: disabled” means the hardware is not supported.

I’ve tried the following:

rfkill unblock bluetooth
touch /storage/.cache/services/bluez.conf
systemctl enable bluetooth
systemctl start bluetooth

The bluetooth service is enabled in the GUI.

Any insight would be helpful!


#2

To answer your first question, I have successfully run bluethooth on the Tinker Board, although I found it not ideal, but it did work without reporting errors you are seeing.

I was able to connect my wireless headphones once, temporarily, but there seemed to be a problem reconnecting thereafter. I have not tried any other devices.

I haven’t restarted my device since log rotation, so my logs for “systemctl status bluetooth” won’t show anything, but the status output looks similar to yours. I should be able to restart tonight or in a couple of days and post logs at that time.


#3

Interesting. Thanks for the response!

For tracking, I’m using the nightly build from 23 Nov 2018.