The solution was in the path of the bluetooth configuration file (inspired from this https://developer.nvidia.com/embedded/learn/tutorials/connecting-bluetooth-audio)
this answer : bluetooth.btcommon.BluetoothError: (2, 'No such file or directory') - Stack Overflow
is not enough for jetson devices (jetpack). Although I didn’t test if it works without changing the file mentioned in this link.
There is a .conf
file that needs to be changed also : /lib/systemd/system/bluetooth.service.d/nv-bluetooth-service.conf
modify :
ExecStart=/usr/lib/bluetooth/bluetoothd -d --noplugin=audio,a2dp,avrcp
to :
ExecStart=/usr/lib/bluetooth/bluetoothd -C
after that it is necessary to do:
sudo systemctl daemon-reload
sudo systemctl restart bluetooth
Tested on jetson Nano and NX with jetpach 4.5.1
hope this will help someone !