Bluetooth headset not working

Bluetooth headset not working

I have a Jetson Xavier AGX development kit with a Bluetooth module. I want to connect a Bluetooth headset to the AGX. I can pair the headset to the AGX, but then it disconnects immediately. I run “btmon” to watch the connection, and I notice this error message:

> ACL Data RX: Handle 1 flags 0x02 dlen 12
L2CAP: Connection Request (0x02) ident 34 len 4
PSM: 25 (0x0019)
Source CID: 66
< ACL Data TX: Handle 1 flags 0x00 dlen 16
L2CAP: Connection Response (0x03) ident 34 len 8
Destination CID: 0
Source CID: 66
Result: Connection refused - PSM not supported (0x0002)
Status: No further information available (0x0000)

I’m using Jetpack 4.3 (which I think is based on Ubuntu 18)

$ uname -a
Linux 4.9.253-tegra #1 SMP PREEMPT Mon Jul 26 12:19:28 PDT 2021 aarch64 aarch64 aarch64 GNU/Linux

How can I fix this?

Hi,
Please apply this setup and give it a try:

Enabling Bluetooth Audio — NVIDIA Jetson Linux Developer Guide 1 documentation

Thanks for the information. I have followed those instructions, but it hasn’t helped. I verified that bluetoothd is starting with the correct parameters:

# ps -ef | grep bluetoothd
root   6206  1  0 11:08 ?  00:00:00 /usr/lib/bluetooth/bluetoothd -d

I still get the same error though.

Hi,
Could you try latest Jetpack version 4.6.5 or 5.1.3? Check if it works on latest release.

Interesting result. Using Jetpack 5.1.3, bluetooth audio works correctly. So there is something missing from Jetpack 4.3 which prevents it from supporting bluetooth audio. I guess that means we will need to port our firmware to a later version of Jetpack.

Thanks for the help. At least now we know what we need to do next.