Bluetooth is not working

Hello,

We are working on Imx8 NXP board and trying to port Fedora-IOT on the same.

We have extracted the Fedora-IOT rootfs from the raw image Fedora provides for Rpi3 board. We are able to up the NXP-imx8 board with Fedora-IoT rootfs. We are not able to connect to the BT device.

machine specified command

sudo hcitool dev
sudo stty -F /dev/ttyUSB0 3000000
sudo stty -F /dev/ttyUSB0 crtscts
sudo hciattach /dev/ttyUSB0 bcm43xx 3000000 flow -t 20
sudo hciconfig hci0 up

bluetooth command

[parth@localhost ~]$ bluetoothctl
[bluetooth]#power on
[bluetooth]#agent on
[bluetooth]#default-agent
[bluetooth]#pairable on
[bluetooth]#scan on
[bluetooth]#scan off

[bluetooth]# pair D4:8A:39:5E:C1:6F
Attempting to pair with D4:8A:39:5E:C1:6F
[CHG] Device D4:8A:39:5E:C1:6F Connected: yes
Request confirmation
[agent] Confirm passkey 417454 (yes/no): yes
[CHG] Device D4:8A:39:5E:C1:6F Paired: yes
Pairing successful
[CHG] Device D4:8A:39:5E:C1:6F ServicesResolved: yes
[CHG] Device D4:8A:39:5E:C1:6F ServicesResolved: no
[CHG] Device D4:8A:39:5E:C1:6F Connected: no
[bluetooth]# trust D4:8A:39:5E:C1:6F
[CHG] Device D4:8A:39:5E:C1:6F Trusted: yes
Changing D4:8A:39:5E:C1:6F trust succeeded
[bluetooth]# connect D4:8A:39:5E:C1:6F
Attempting to connect to D4:8A:39:5E:C1:6F
Failed to connect: org.bluez.Error.Failed

Please help to resolve.

Is there any information in dmesg that provides any hints as to the problem, did the firmware load? Does “bluetoothctl show” show the controller in a reasonable state with valid MAC address?