Bluetooth compat on service

Hi,

According to Bluetooth profiles, /lib/systemd/system/bluetooth.service should be modified due to some tools don't seem to work correctly with BlueZ 5+ unless you do the following procedure. It is not possible to modify the file due to read only file system on Verdin Mini.

Is there any workaround to solve the problem.

Thanks in advance,
Ibrahim

Hi @ierturk

Thanks for writing the the Toradex Community!

Could you try to install the Bsp 5.1 Reference multimedia image and check if your changes work?

Thanks and best regards,
Jaski

Hi @jaski.tx ,

Thanks for your reply. As per your request, I tried this on Bsp 5.1 Reference multimedia image and it works. However it didn’t work on Torizon 5.1.

My config is Verdin Mini 1.0B and Dev Board 1.0B.

Thanks and regards,
Ibrahim

Hi @ierturk,

TorizonCore requires a read-only root filesystem for the OSTree and OTA features. The best way to make this modification is to create an override for the systemd bluetooth service. You can run the following to create the override:

$ EDITOR=nano sudo systemctl edit bluetooth

That will open the nano editor in the proper file. Then you enter the following contents:

[Service]
ExecStart=
ExecStart=/usr/libexec/bluetooth/bluetoothd --compat

This ultimately creates the file /etc/systemd/system/bluetooth.service.d/override.conf with the above contents. The first empty ExecStart= is required since that is an additive field and you need to clear out the existing contents before adding new.

Drew

Hi @drew.tx,

Thanks for your help. It seem to be OK.

Regards,
Ibrahim