Jetson Xavier NX Bluetooth connection problem

Hello,

I used Jetson Xavier NX devkit with emmc(linux version: r3273) to test the function of my WIFI&BT module(RTL8822CE), the wifi connection was OK, but the bluetooth connection encountered a problem:

nvidia@ubuntu:~$ sudo su
root@ubuntu:~$ bluetoothctl
[bluetooth]# paired-devices
Device xx:xx:xx:xx:xx:xx my_device
[bluetooth]# connect xx:xx:xx:xx:xx:xx
Attempting to connect to xx:xx:xx:xx:xx:xx
Failed to connect: org.bluez.Error.Failed

And then I checked the message of bluetooth.service:

nvidia@ubuntu:~$ journalctl -u bluetooth.service -f
ubuntu bluetoothd[16847]: profiles/audio/a2dp.c: a2dp_source_connect() path /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX
ubuntu bluetoothd[16847]: a2dp-source profile connect failed for xx:xx:xx:xx:xx:xx: Protocol not available

Then I noticed that bluetooth should be enabled before using:

NVIDIA Jetson Linux Developer Guide: Hardware Setup | NVIDIA Docs

I followed the steps in this document but the problem was not solved.

And then I found similar problem in another topic, but the solution in this topic still did not work: Nvidia Jetson Xavier NX Bluetooth connection issue - Jetson & Embedded Systems / Jetson Xavier NX - NVIDIA Developer Forums

How can I solve this problem? Thanks very much.

Hi,
Would suggest try latest Jetpack 5.1.5. Because Jetpack 4 releases are old and new later protocols are not supported, so it reports the error:

ubuntu bluetoothd[16847]: a2dp-source profile connect failed for xx:xx:xx:xx:xx:xx: Protocol not available

Hello,
Thanks for the explanation.
For some reason, I don’t want to upgrade jetpack version, so is there anything I can try to solve this problem in R3273 version?

Hi,
Would suggest test whether it works on Xavier NX developer kit with Jetpack 5.1.5(Kernel 5.10). If it works, you may try to port kernel bluetooth driver from K5.15 to 4.9.

Hello,
Now that a2dp gives an error, so I want to use only hsp or hfp protocol. To do this, Which file should I modify? And what is the change?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.