I’m trying to connect my jetson orin (jetpack6.0) to a laptop running ubuntu 22.04 via bluetooth.
Every time I try, I get the following error message:
Failed to connect: org.bluez.Error.NotAvailable br-connection-profile-unavailable
Step to reproduce:
- On the jetson orin:
sudo bluetoothctl
discoverable on
pairable on
agent on
default-agent
- On the laptop:
sudo bluetoothctl
discoverable on
pairable on
agent on
default-agent
scan on
connect JETSON_ADDRESS
With JETSON_ADDRESS the mac address of the jetson.
On the laptop I have these logs from the bluetoothctl interface:
Attempting to connect to JETSON_ADDRESS
[CHG] Device JETSON_ADDRESS Connected: yes
[CHG] Device JETSON_ADDRESS ServicesResolved: yes
Failed to connect: org.bluez.Error.NotAvailable br-connection-profile-unavailable
[CHG] Device JETSON_ADDRESS ServicesResolved: no
[CHG] Device JETSON_ADDRESS Connected: no
[CHG] Device JETSON_ADDRESS Connected: yes
[CHG] Device JETSON_ADDRESS Connected: no
There are the logs from the jetson systemctl status bluetooth.service when I restart the bluetooth service:
bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/bluetooth.service.d
└─nv-bluetooth-service.conf
Active: active (running) since Thu 2024-05-02 11:33:33 CEST; 2s ago
Docs: man:bluetoothd(8)
Main PID: 2247 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 8815)
Memory: 660.0K
CPU: 66ms
CGroup: /system.slice/bluetooth.service
└─2247 /usr/lib/bluetooth/bluetoothd -d --noplugin=audio,a2dp,avrcp
May 02 11:33:33 ubuntu bluetoothd[2247]: src/adapter.c:load_ltks_complete() LTKs loaded for hci0
May 02 11:33:33 ubuntu bluetoothd[2247]: src/adapter.c:load_irks_complete() IRKs loaded for hci0
May 02 1
1:33:33 ubuntu bluetoothd[2247]: src/adapter.c:load_conn_params_complete() Connection Parameters loaded for hci0
May 02 11:33:33 ubuntu bluetoothd[2247]: src/adapter.c:local_name_changed_callback() Name: BlueZ 5.64
May 02 11:33:33 ubuntu bluetoothd[2247]: src/adapter.c:local_name_changed_callback() Short name:
May 02 11:33:33 ubuntu bluetoothd[2247]: src/adapter.c:local_name_changed_callback() Current alias: BlueZ 5.64
May 02 11:33:33 ubuntu bluetoothd[2247]: src/adapter.c:set_blocked_keys_complete() Successfully set blocked keys for index 0
May 02 11:33:33 ubuntu bluetoothd[2247]: src/adapter.c:local_name_changed_callback() Name: ubuntu
May 02 11:33:33 ubuntu bluetoothd[2247]: src/adapter.c:local_name_changed_callback() Short name:
Here is the output from journalctl | grep bluetooth during a connection try using connect command:
May 02 11:39:42 ubuntu bluetoothd[2247]: src/agent.c:add_default_agent() Default agent set to :1.101 /org/bluez/agent
May 02 11:39:42 ubuntu bluetoothd[2247]: src/adapter.c:set_mode() sending set mode command for index 0
May 02 11:39:42 ubuntu bluetoothd[2247]: src/agent.c:agent_ref() 0xaaaaf11089e0: ref=1
May 02 11:39:42 ubuntu bluetoothd[2247]: src/agent.c:register_agent() agent :1.101
May 02 11:39:42 ubuntu bluetoothd[2247]: src/adapter.c:new_settings_callback() Settings: 0x000000d1
May 02 11:39:42 ubuntu bluetoothd[2247]: src/adapter.c:settings_changed() Changed settings: 0x00000010
May 02 11:39:42 ubuntu bluetoothd[2247]: src/adapter.c:settings_changed() Pending settings: 0x00000000
May 02 11:39:45 ubuntu bluetoothd[2247]: src/device.c:connect_profiles() /org/bluez/hci0/dev_LAPTOP_ADDRESS (all), client :1.101
May 02 11:39:45 ubuntu bluetoothd[2247]: src/device.c:connect_profiles() Resolving services for /org/bluez/hci0/dev_LAPTOP_ADDRESS
May 02 11:39:46 ubuntu bluetoothd[2247]: src/adapter.c:connected_callback() hci0 device LAPTOP_ADDRESS connected eir_len 35
May 02 11:39:46 ubuntu bluetoothd[2247]: src/device.c:search_cb() LAPTOP_ADDRESS: No service update
May 02 11:39:46 ubuntu bluetoothd[2247]: src/device.c:device_svc_resolved() /org/bluez/hci0/dev_LAPTOP_ADDRESS err 0
May 02 11:39:46 ubuntu bluetoothd[2247]: src/device.c:connect_profiles() /org/bluez/hci0/dev_14_AC_60_80_E7_C8 (all), client :1.101
May 02 11:39:49 ubuntu bluetoothd[2247]: src/agent.c:agent_disconnect() Agent :1.101 disconnected
May 02 11:39:49 ubuntu bluetoothd[2247]: src/agent.c:remove_default_agent() Default agent cleared
May 02 11:39:49 ubuntu bluetoothd[2247]: src/adapter.c:set_mode() sending set mode command for index 0
May 02 11:39:49 ubuntu bluetoothd[2247]: src/agent.c:agent_destroy() agent :1.101
May 02 11:39:49 ubuntu bluetoothd[2247]: src/agent.c:agent_unref() 0xaaaaf11089e0: ref=0
May 02 11:39:49 ubuntu bluetoothd[2247]: src/adapter.c:new_settings_callback() Settings: 0x000000c1
May 02 11:39:49 ubuntu bluetoothd[2247]: src/adapter.c:settings_changed() Changed settings: 0x00000010
May 02 11:39:49 ubuntu bluetoothd[2247]: src/adapter.c:settings_changed() Pending settings: 0x00000000
May 02 11:39:51 ubuntu bluetoothd[2247]: src/adapter.c:dev_disconnected() Device LAPTOP_ADDRESS disconnected, reason 2
May 02 11:39:51 ubuntu bluetoothd[2247]: src/adapter.c:adapter_remove_connection()
May 02 11:39:51 ubuntu bluetoothd[2247]: plugins/policy.c:disconnect_cb() reason 2
May 02 11:39:51 ubuntu bluetoothd[2247]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr LAPTOP_ADDRESS type 0 status 0xe
May 02 11:39:51 ubuntu bluetoothd[2247]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e
May 02 11:39:51 ubuntu bluetoothd[2247]: src/device.c:device_bonding_failed() status 14
May 02 11:39:51 ubuntu bluetoothd[2247]: src/adapter.c:resume_discovery()
With LAPTOP_ADDRESS the mac address of my laptop.
I tried to install bluez, bluez-tools and libspa-0.2-bluetooth but it didn’t change the result. I also tried to modify /etc/bluetooth/main.conf to change the value of ControllerMode to bredr and Class but i didn’t change the result neither.