Hi,
I have a problem with bluetooth PAN9028 on Android 12 (BSP android_12.0.0_1.0.0).
I use iMX8MP processor and the bluetooth is connected to the processor via UART.
WiFi works fine, uses firmware sdiouart8987_combo_v0.bin.
Bluetooth doesn't work, I added the uart port name in the file /vendor/nxp/libbt/bt_vendor.conf,
and set the permission file in "ueventd.nxp.rc".
But, when I try to pair the devices I get this error in attached file.
On the hardware side everything seems ok,
because the image with Linux works correctly.
Best Regards
Domenico Acri
Hi @domenicoacri!
Thank you for contacting NXP Support!
From the log to see, it loads configuration from /vendor/etc/bluetooth/bt_vendor.conf:
"10-11 13:41:34.419 527 570 I bt-vnd-nxp: Attempt to load conf from /vendor/etc/bluetooth/bt_vendor.conf"
while you added the uart port name in the file /vendor/nxp/libbt/bt_vendor.conf, so have a try to put the conf file to /vendor/etc/bluetooth/bt_vendor.conf.
Best Regards!
Chavira
Could you share your "ueventd.nxp.rc" file?
From the log to see, it showed only:
10-11 13:41:34.419 527 570 I bt-vnd-nxp: Attempt to load conf from /vendor/etc/bluetooth/bt_vendor.conf
10-11 13:41:34.421 527 570 D android.hardware.bluetooth@1.0-impl: Open vendor library loaded
10-11 13:41:36.428 713 1393 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
10-11 13:41:36.592 526 598 W audio_hw_primary: do_out_standby... 0xe5bc5ce0
10-11 13:41:37.269 2061 2087 E bt_hci : system/bt/hci/src/hci_layer.cc:379 startup_timer_expired: startup_timer_expired
but I did not see the debug info like "open serial port" in "bt_vnd_op" function, so could you check the detail info to get some clue?
Best Regards!
Chavira
Hi,
I solved the problem.
By increasing the debugging of the driver bt_vendor_nxp.c,
setting the define "#define NXP_VND_DBG true",
I noticed that the "get_prop_int32()" function returned -1, entering this if:
The problem is that I have mlan0 interface and not wlan0.
Thanks so much for the support.
I hope this can help others too.
BR
Domenico Acri