Unable to do Bluetooth Enable in phycore imx8m plus (Android 11)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to do Bluetooth Enable in phycore imx8m plus (Android 11)

1,109 Views
ducho7783
Contributor III

Hi

Currently I'm working on phyboard-pollux-imx8mp with Android 11.

So I'm working with bluetooth module name RTL8822BU and it is using USB interface.

Driver module that we insmod after booting -- btusb.ko

Firmware that has been downloaded for bluetooth -- rtl8822b_fw.bin , rtl8822b_config.bin firmware.

 

Logs that we are getting after this CMD - $ dmesg | grep Bluetooth

phyboard_pollux:/metadata # dmesg | grep Bluetooth
[ 0.145232] Bluetooth: Core ver 2.22
[ 0.145261] Bluetooth: HCI device and connection manager initialized
[ 0.145271] Bluetooth: HCI socket layer initialized
[ 0.145277] Bluetooth: L2CAP socket layer initialized
[ 0.145285] Bluetooth: SCO socket layer initialized
[ 2.082390] Bluetooth: HCI UART driver ver 2.3
[ 2.086852] Bluetooth: HCI UART protocol H4 registered
[ 2.091997] Bluetooth: HCI UART protocol BCSP registered
[ 2.097353] Bluetooth: HCI UART protocol LL registered
[ 2.102498] Bluetooth: HCI UART protocol ATH3K registered
[ 2.107928] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 2.114421] Bluetooth: HCI UART protocol Broadcom registered
[ 2.120116] Bluetooth: HCI UART protocol QCA registered
[ 2.546451] Bluetooth: RFCOMM TTY layer initialized
[ 2.551351] Bluetooth: RFCOMM socket layer initialized
[ 2.556500] Bluetooth: RFCOMM ver 1.11
[ 2.560257] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.565576] Bluetooth: BNEP filters: protocol multicast
[ 2.570829] Bluetooth: BNEP socket layer initialized
[ 2.575805] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.581745] Bluetooth: HIDP socket layer initialized
[ 5.282776] Bluetooth: hci0: command 0xfc18 tx timeout
[ 13.282786] Bluetooth: hci0: BCM: failed to write update baudrate (-110)
[ 13.289550] Bluetooth: hci0: Failed to set baudrate
[ 15.298818] Bluetooth: hci0: command 0x0c03 tx timeout
[ 23.522812] Bluetooth: hci0: BCM: Reset failed (-110)
[ 238.489879] Bluetooth: hci1: RTL: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[ 238.498539] Bluetooth: hci1: RTL: rom_version status=0 version=2
[ 238.498544] Bluetooth: hci1: RTL: loading rtl_bt/rtl8822b_fw.bin
[ 238.515614] Bluetooth: hci1: RTL: loading rtl_bt/rtl8822b_config.bin
[ 238.524962] Bluetooth: hci1: RTL: cfg_sz 14, total sz 20270
[ 239.291943] Bluetooth: hci1: RTL: fw version 0xab6b705c

 

And when I'm going with command svc bluetooth enable for enabling Bluetooth, but it is not enabled as shown..

[ 281.232894] init: Untracked pid 1787 exited with status 0
[ 281.237711] binder: release 366:366 transaction 39337 in, still active
[ 281.238600] init: Untracked pid 1789 exited with status 0
[ 281.244888] binder: send failed reply for transaction 39337 to 1739:1782
[ 281.258650] init: Service 'vendor.bluetooth-1-0' (pid 366) received signal 6
[ 281.265937] init: Sending signal 9 to service 'vendor.bluetooth-1-0' (pid 366) process group...
[ 281.275374] libprocessgroup: Successfully killed process cgroup uid 1002 pid 366 in 0ms
[ 281.285174] init: starting service 'vendor.bluetooth-1-0'...
[ 281.295335] binder: undelivered transaction 39251, process died.
phyboard_pollux:/metadata # [ 282.379184] init: Untracked pid 1796 exited with status 0
[ 282.385316] init: Untracked pid 1799 exited with status 0
[ 282.394957] binder: undelivered death notification, b400f2bab5adeeb0
[ 282.649136] AidlLazyServiceRegistrar: Process has 0 (of 1 available) client(s) in use after notification android.apex.IApexService has clients: 0
[ 282.662227] AidlLazyServiceRegistrar: Trying to shut down the service. No clients in use for any service in process.
[ 282.673547] AidlLazyServiceRegistrar: Unregistered all clients and exiting
[ 282.684559] printk: apexd: 25 output lines suppressed due to ratelimiting
[ 282.692089] init: Service 'apexd' (pid 1139) exited with status 0 oneshot service took 239.028000 seconds in background
[ 282.702950] init: Sending signal 9 to service 'apexd' (pid 1139) process group...
[ 283.113389] binder: release 1797:1797 transaction 39827 in, still active
[ 283.120174] binder: send failed reply for transaction 39827 to 1810:1852
[ 283.864764] binder: undelivered death notification, b400f2bab5aec3d0
[ 285.022349] binder: release 1922:1924 transaction 40155 in, still active
[ 285.029485] binder: send failed reply for transaction 40155 to 1876:1918
[ 285.780087] binder: undelivered death notification, b400f2bab5ae32c0
[ 287.037497] init: starting service 'vendor.bluetooth-1-0'...
[ 287.046337] init: Control message: Processed ctl.interface_start for 'android.hardware.bluetooth@1.0::IBluetoothHci/default' from pid: 243 (/system/bin/hwservicemanager)
[ 287.062176] init: Control message: Processed ctl.interface_start for 'android.hardware.bluetooth@1.0::IBluetoothHci/default' from pid: 243 (/system/bin/hwservicemanager)
[ 287.153879] binder: release 1993:1993 transaction 40477 in, still active
[ 287.154020] init: Service 'vendor.bluetooth-1-0' (pid 1993) received signal 6
[ 287.160641] binder: send failed reply for transaction 40477 to 1947:1989
[ 287.175336] init: Sending signal 9 to service 'vendor.bluetooth-1-0' (pid 1993) process group...
[ 287.184547] libprocessgroup: Successfully killed process cgroup uid 1002 pid 1993 in 0ms
[ 287.193982] init: Untracked pid 2001 exited with status 0
[ 287.199712] init: Untracked pid 1999 exited with status 0
[ 287.863738] init: Untracked pid 2008 exited with status 0
[ 287.875416] init: Untracked pid 2010 exited with status 0
[ 287.890278] binder: send failed reply for transaction 40489 to 540:559
[ 287.898122] binder: undelivered death notification, b400f2bab5ae0770
[ 289.869253] binder: release 2065:2067 transaction 40813 in, still active
[ 289.876028] binder: send failed reply for transaction 40813 to 2018:2061
[ 290.621070] binder: undelivered death notification, b400f2bab5a754d0
[ 291.992600] binder: release 2137:2137 transaction 41135 in, still active
[ 292.005199] binder: send failed reply for transaction 41135 to 2091:2133
[ 292.742329] init: Untracked pid 2153 exited with status 0
[ 292.755198] init: Untracked pid 2155 exited with status 0
[ 292.761001] binder: undelivered death notification, b400f2bab5a75f20
[ 296.893055] init: starting service 'vendor.bluetooth-1-0'..

Please help me in resolving the issue.

Thanks 

0 Kudos
Reply
2 Replies

1,087 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

The Bluetooth HAL driver in Android11 is designed for NXP WIFI&BLUETOOTH module. It's not suitable for other bluetooth module.

0 Kudos
Reply

1,082 Views
ducho7783
Contributor III

Thanks for your response @Zhiming_Liu.

Then what could be the solution to fix this problem, without using the NXP Bluetooth/Wifi Module.

Thanks, 

0 Kudos
Reply