imx8qxp board - Intel Wi-Fi 6E AX210 card , Bluetooth is not working in Android

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

imx8qxp board - Intel Wi-Fi 6E AX210 card , Bluetooth is not working in Android

802 Views
amul_patel
Contributor I

Hello All,

I have imx8qxp board and connected  Intel Wi-Fi 6E AX210 card via  M.2 connector for WiFi and Bluetooth which are on same module. (pcie and USB interface )

WiFi is working fine with iwlwifi.ko , mac80211 and cfg80211 and wpa  but not able to bring up Bluetooth.

How can I add user space utility such as hci tools , rfkill or any other Bluetooth user-space utility in Android build for verification ?

How  can I enable Bluetooth driver Debug logs since I don't see firmware loading logs.

Any way to verify using Bluetooth command?


I have added following firmware at /vendor/firmware. same path for Wi-Fi .ucode is used 

ibt-0041-0041.ddc
ibt-0041-0041.sfi
ibt-11-5.ddc
ibt-11-5.sfi
ibt-12-16.ddc
ibt-12-16.sfi

$ adb shell cmd bluetooth_manager enable
Enabling Bluetooth
$
$ adb shell dumpsys bluetooth_manager
Bluetooth Status
enabled: false
state: OFF
address: null
name: null

Enable log:
09-13 17:23:33 Enabled due to APPLICATION_REQUEST by com.android.car.settings
09-13 17:23:36 Disabled due to CRASH by android
09-13 17:23:36 Enabled due to RESTARTED by android
09-13 17:23:37 Enabled due to APPLICATION_REQUEST by com.android.car.settings
09-13 17:23:39 Disabled due to CRASH by android
09-13 17:23:39 Enabled due to RESTARTED by android
09-13 17:23:43 Disabled due to CRASH by android
09-13 17:23:44 Enabled due to RESTARTED by android
09-13 17:23:47 Disabled due to CRASH by android
09-13 17:23:48 Enabled due to RESTARTED by android
09-13 17:23:51 Disabled due to CRASH by android
09-13 17:23:55 Enabled due to RESTARTED by android
09-13 17:23:55 Disabled due to CRASH by android

Bluetooth crashed 6 times
09-13 17:23:36
09-13 17:23:39
09-13 17:23:43
09-13 17:23:47
09-13 17:23:51
09-13 17:23:55


$ adb shell settings get global bluetooth_on
1
$ adb shell settings list global |grep ^bluetooth_on
bluetooth_on=1
$

$ adb shell dumpsys bluetooth_manager
Bluetooth Status
enabled: false
state: OFF
address: null
name: null

Enable log:
09-13 17:23:33 Enabled due to APPLICATION_REQUEST by com.android.car.settings
09-13 17:23:36 Disabled due to CRASH by android
09-13 17:23:36 Enabled due to RESTARTED by android
09-13 17:23:37 Enabled due to APPLICATION_REQUEST by com.android.car.settings
09-13 17:23:39 Disabled due to CRASH by android
09-13 17:23:39 Enabled due to RESTARTED by android
09-13 17:23:43 Disabled due to CRASH by android
09-13 17:23:44 Enabled due to RESTARTED by android
09-13 17:23:47 Disabled due to CRASH by android
09-13 17:23:48 Enabled due to RESTARTED by android
09-13 17:23:51 Disabled due to CRASH by android
09-13 17:23:55 Enabled due to RESTARTED by android
09-13 17:23:55 Disabled due to CRASH by android

Bluetooth crashed 6 times
09-13 17:23:36
09-13 17:23:39
09-13 17:23:43
09-13 17:23:47
09-13 17:23:51
09-13 17:23:55

0 BLE apps registered

BluetoothManagerService:
mEnable:false
mQuietEnable:false
mEnableExternal:true
mQuietEnableExternal:false

RemoteException while dumping Bluetooth Service
$

Following are the driver details and dmesg logs:

CONFIG_BT=m
CONFIG_BT_NXPUART=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_BNEP_MC_FILTER=y

CONFIG_TTY=y
CONFIG_BT_HCIUART_INTEL=y
CONFIG_BT_HCIUART_3WIRE=y
CONFIG_BT_LEDS=y

CONFIG_BT_DBUGFS=y

CONFIG_BT_HCIUART_INTEL=y
CONFIG_BT_HCIUART_3WIRE=y
CONFIG_BT_LEDS=y


CONFIG_BT_DBUGFS=y

CONFIG_SERIAL_IMX=m
CONFIG_SERIAL_EARLYCON=y
CONFIG_SERIAL_IMX_CONSOLE=y

CONFIG_BT_SELFTEST=y
CONFIG_BT_FEATURE_DEBUG=y
CONFIG_BT_HCIBTUSB=y

CONFIG_BT_HCIUART_AG6XX=y

CONFIG_RFKILL_INPUT=y
CONFIG_RFKILL_GPIO=y
CONFIG_SERIAL_SCCNXP=y
CONFIG_SERIAL_SCCNXP_CONSOLE=y
CONFIG_USB_SERIAL=y

CONFIG_BT_HCIUART=m
CONFIG_USB_SERIAL_FTDI_SIO=y

mek_8q:/ # ls /sys/class/bluetooth
mek_8q:/ #

mek_8q:/ # ls -lrt /dev/tty*
crw------- 1 root root 506, 0 2023-09-13 14:33 /dev/ttyLP0
crw------- 1 root root 506, 2 2023-09-13 14:33 /dev/ttyLP2
crw-rw-rw- 1 root root 5, 0 2023-09-13 14:33 /dev/tty
crw-rw---- 1 bluetooth bluetooth 506, 1 2023-09-13 14:38 /dev/ttyLP1
mek_8q:/ #

mek_8q:/ # cat /vendor/etc/bluetooth/bt_vendor.conf
mchar_port = /dev/ttyLP1
baudrate_fw_init = 115200
enable_download_fw=0
is_uart_port = 1
mek_8q:/ #

mek_8q:/ # lsmod | grep bt
btusb 65536 0
btsdio 20480 0
btrtl 24576 1 btusb
btqca 20480 1 hci_uart
btintel 53248 2 hci_uart,btusb
btbcm 28672 2 hci_uart,btusb
bluetooth 806912 7 hci_uart,btusb,btsdio,btrtl,btqca,btintel,btbcm
snd_soc_bt_sco 16384 1
mek_8q:/ #


1|mek_8q:/ # modinfo bluetooth
filename: /vendor/lib/modules/bluetooth.ko
license: GPL
author: Marcel Holtmann <marcel@holtmann.org>
description: Bluetooth Core ver 2.22
alias: net-pf-31
srcversion: 881ED7011A1AA52EDE781F6
depends: ecdh_generic
intree: Y
name: bluetooth
vermagic: 5.15.74-dirty SMP preempt mod_unload modversions aarch64
parm: disable_ertm:Disable enhanced retransmission mode
parm: enable_ecred:Enable enhanced credit flow control mode
parm: disable_esco:Disable eSCO connection creation
parmtype: disable_ertm:bool
parmtype: enable_ecred:bool
parmtype: disable_esco:bool
mek_8q:/ ##

 

mek_8q:/ # modinfo btintel
filename: /vendor/lib/modules/btintel.ko
license: GPL
author: Marcel Holtmann <marcel@holtmann.org>
description: Bluetooth support for Intel devices ver 0.1
firmware: intel/ibt-11-5.sfi
firmware: intel/ibt-11-5.ddc
firmware: intel/ibt-12-16.sfi
firmware: intel/ibt-12-16.ddc
srcversion: F110A36B013389D3EE9B4EC
depends: bluetooth
intree: Y
name: btintel
vermagic: 5.15.74-dirty SMP preempt mod_unload modversions aarch64
mek_8q:/ #


mek_8q:/ # dmesg| grep -i bluetooth
[ 0.000000] Kernel command line: stack_depot_disable=on kasan.stacktrace=off kvm-arm.mode=protected cgroup_disable=pressure console=ttyLP0,115200 earlycon init=/init firmware_class.path=/vendor/firmware loop.max_part=7 bootconfig bluetooth cma=928M@0x960M-0xfc0M transparent_hugepage=never moal.mod_para=wifi_mod_para.conf video=HDMI-A-2:d bootconfig buildvariant=userdebug
[ 0.000000] Unknown kernel command line parameters "bluetooth buildvariant=userdebug", will be passed to user space.
[ 1.925989] bluetooth
[ 11.962023] Bluetooth: Core ver 2.22
[ 11.966369] Bluetooth: Starting self testing
[ 11.971380] Bluetooth: Finished self testing
[ 11.976658] NET: Registered PF_BLUETOOTH protocol family
[ 11.982795] Bluetooth: HCI device and connection manager initialized
[ 11.989938] Bluetooth: HCI socket layer initialized
[ 11.995568] Bluetooth: L2CAP socket layer initialized
[ 12.001769] Bluetooth: SCO socket layer initialized
[ 47.510560] NET: Unregistered PF_BLUETOOTH protocol family
[ 61.784463] Bluetooth: Core ver 2.22
[ 61.788860] Bluetooth: Starting self testing
[ 61.793917] Bluetooth: Finished self testing
[ 61.800022] NET: Registered PF_BLUETOOTH protocol family
[ 61.806240] Bluetooth: HCI device and connection manager initialized
[ 61.813555] Bluetooth: HCI socket layer initialized
[ 61.819415] Bluetooth: L2CAP socket layer initialized
[ 61.825435] Bluetooth: SCO socket layer initialized
[ 93.651541] init: Service 'vendor.bluetooth-1-0' (pid 359) received signal 6
[ 93.665893] init: Sending signal 9 to service 'vendor.bluetooth-1-0' (pid 359) process group...
[ 93.687640] init: starting service 'vendor.bluetooth-1-0'...
[ 95.993324] Bluetooth: HCI UART driver ver 2.3
[ 95.998609] Bluetooth: HCI UART protocol H4 registered
[ 96.004976] Bluetooth: HCI UART protocol LL registered
[ 96.011317] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 96.019430] Bluetooth: HCI UART protocol Intel registered
[ 96.027023] Bluetooth: HCI UART protocol Broadcom registered
[ 96.033909] Bluetooth: HCI UART protocol QCA registered
[ 96.039944] Bluetooth: HCI UART protocol AG6XX registered
mek_8q:/ #

 

mek_8q:/ # logcat -e Bluetooth
--------- beginning of system
09-13 11:03:28.275 620 620 D SystemServerTiming: StartBluetoothService
09-13 11:03:28.311 620 620 I SystemServiceManager: Starting com.android.server.bluetooth.BluetoothService
09-13 11:03:28.328 620 620 V SystemServerTiming: StartBluetoothService took to complete: 53ms
09-13 11:03:30.422 620 620 D SystemServerTiming: OnBootPhase_480_com.android.server.bluetooth.BluetoothService
09-13 11:03:30.422 620 620 V SystemServerTiming: OnBootPhase_480_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:30.614 620 620 D SystemServerTiming: OnBootPhase_500_com.android.server.bluetooth.BluetoothService
09-13 11:03:30.616 620 620 V SystemServerTiming: OnBootPhase_500_com.android.server.bluetooth.BluetoothService took to complete: 2ms
09-13 11:03:31.088 620 620 D SystemServerTiming: OnBootPhase_520_com.android.server.bluetooth.BluetoothService
09-13 11:03:31.088 620 620 V SystemServerTiming: OnBootPhase_520_com.android.server.bluetooth.BluetoothService took to complete: 1ms
09-13 11:03:31.306 620 620 D SystemServerTiming: OnBootPhase_550_com.android.server.bluetooth.BluetoothService
09-13 11:03:31.306 620 620 V SystemServerTiming: OnBootPhase_550_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:32.539 620 620 D SystemServerTiming: OnBootPhase_600_com.android.server.bluetooth.BluetoothService
09-13 11:03:32.539 620 620 V SystemServerTiming: OnBootPhase_600_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:34.165 897 897 V CAR.InitTiming: CarBluetoothService took to complete: 0ms
09-13 11:03:34.411 897 972 W CAR.PowerComponentHandler: Bluetooth power is controlled by com.android.car.BluetoothPowerPolicy
09-13 11:03:34.773 620 620 D SystemServerTiming: ssm.onStartUser-0_com.android.server.bluetooth.BluetoothService
09-13 11:03:34.773 620 620 V SystemServerTiming: ssm.onStartUser-0_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:34.776 897 897 V CAR.InitTiming: CarBluetoothService took to complete: 0ms
09-13 11:03:35.412 897 975 I CarServiceUtils: Starting HandlerThread:CarBluetoothService
09-13 11:03:36.013 620 646 D SystemServerTimingAsync: ssm.onStartUser-0_com.android.server.bluetooth.BluetoothService
09-13 11:03:36.013 620 646 V SystemServerTimingAsync: ssm.onStartUser-0_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:36.721 620 1136 I Telecom : BluetoothRouteManager: getBluetoothAudioConnectedDevice: no service available.
09-13 11:03:36.743 620 1138 I Telecom : BluetoothRouteManager: getBluetoothAudioConnectedDevice: no service available.
09-13 11:03:37.186 620 1161 D SystemServerTimingAsync: ssm.onStartUser-10_com.android.server.bluetooth.BluetoothService
09-13 11:03:37.186 620 1161 V SystemServerTimingAsync: ssm.onStartUser-10_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:39.269 620 646 D SystemServerTimingAsync: ssm.onSwitchUser-10_com.android.server.bluetooth.BluetoothService
09-13 11:03:39.361 620 646 W SystemServiceManager: Service com.android.server.bluetooth.BluetoothService took 77 ms in onSwitchUser-10
09-13 11:03:39.361 620 646 V SystemServerTimingAsync: ssm.onSwitchUser-10_com.android.server.bluetooth.BluetoothService took to complete: 92ms
09-13 11:03:41.283 620 1429 D SystemServerTimingAsync: ssm.onCompletedEventUser-0_{|Starting|}_com.android.server.bluetooth.BluetoothService
09-13 11:03:41.283 620 1429 V SystemServerTimingAsync: ssm.onCompletedEventUser-0_{|Starting|}_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:42.137 620 640 D ActivityManagerTiming: OnBootPhase_1000_com.android.server.bluetooth.BluetoothService
09-13 11:03:42.137 620 640 V ActivityManagerTiming: OnBootPhase_1000_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:42.727 620 1097 W BatteryExternalStatsWorker: error reading Bluetooth stats: 11
09-13 11:03:43.486 620 646 D SystemServerTimingAsync: ssm.onUnlockingUser-0_com.android.server.bluetooth.BluetoothService
09-13 11:03:43.486 620 646 V SystemServerTimingAsync: ssm.onUnlockingUser-0_com.android.server.bluetooth.BluetoothService took to complete: 1ms
09-13 11:03:44.460 620 646 D SystemServerTimingAsync: ssm.onUnlockedUser-0_com.android.server.bluetooth.BluetoothService
09-13 11:03:44.460 620 646 V SystemServerTimingAsync: ssm.onUnlockedUser-0_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:44.825 620 1607 D SystemServerTimingAsync: ssm.onCompletedEventUser-10_{|Switching|Starting|}_com.android.server.bluetooth.BluetoothService
09-13 11:03:44.825 620 1607 V SystemServerTimingAsync: ssm.onCompletedEventUser-10_{|Switching|Starting|}_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:45.894 620 1655 D SystemServerTimingAsync: ssm.onCompletedEventUser-0_{|Unlocked|}_com.android.server.bluetooth.BluetoothService
09-13 11:03:45.894 620 1655 V SystemServerTimingAsync: ssm.onCompletedEventUser-0_{|Unlocked|}_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:46.088 620 646 D SystemServerTimingAsync: ssm.onUnlockingUser-10_com.android.server.bluetooth.BluetoothService
09-13 11:03:46.089 620 646 V SystemServerTimingAsync: ssm.onUnlockingUser-10_com.android.server.bluetooth.BluetoothService took to complete: 1ms
--------- beginning of crash
09-13 11:03:47.981 1577 1577 F DEBUG : #05 pc 000000000001b718 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BnHwBluetoothHciCallbacks::_hidl_initializationComplete(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+184) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:03:47.981 1577 1577 F DEBUG : #06 pc 000000000001bea0 /system/lib64/android.hardware.bluetooth@1.1.so (android::hardware::bluetooth::V1_1::BnHwBluetoothHciCallbacks::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+528) (BuildId: 9161ea82809d97fb408b16ee3e686229)
09-13 11:03:47.982 1577 1577 F DEBUG : #12 pc 00000000000106b0 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BpHwBluetoothHci::_hidl_initialize(android::hardware::IInterface*, android::hardware::details::HidlInstrumentor*, android::sp<android::hardware::bluetooth::V1_0::IBluetoothHciCallbacks> const&)+368) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:03:48.348 620 646 D SystemServerTimingAsync: ssm.onUnlockedUser-10_com.android.server.bluetooth.BluetoothService
09-13 11:03:48.348 620 646 V SystemServerTimingAsync: ssm.onUnlockedUser-10_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:53.455 620 2073 D SystemServerTimingAsync: ssm.onCompletedEventUser-10_{|Unlocked|}_com.android.server.bluetooth.BluetoothService
09-13 11:03:53.455 620 2073 V SystemServerTimingAsync: ssm.onCompletedEventUser-10_{|Unlocked|}_com.android.server.bluetooth.BluetoothService took to complete: 0ms
09-13 11:03:59.524 2275 2275 F DEBUG : #05 pc 000000000001b718 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BnHwBluetoothHciCallbacks::_hidl_initializationComplete(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+184) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:03:59.524 2275 2275 F DEBUG : #06 pc 000000000001bea0 /system/lib64/android.hardware.bluetooth@1.1.so (android::hardware::bluetooth::V1_1::BnHwBluetoothHciCallbacks::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+528) (BuildId: 9161ea82809d97fb408b16ee3e686229)
09-13 11:03:59.525 2275 2275 F DEBUG : #12 pc 00000000000106b0 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BpHwBluetoothHci::_hidl_initialize(android::hardware::IInterface*, android::hardware::details::HidlInstrumentor*, android::sp<android::hardware::bluetooth::V1_0::IBluetoothHciCallbacks> const&)+368) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:04:05.015 2643 2643 F DEBUG : #05 pc 000000000001b718 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BnHwBluetoothHciCallbacks::_hidl_initializationComplete(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+184) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:04:05.015 2643 2643 F DEBUG : #06 pc 000000000001bea0 /system/lib64/android.hardware.bluetooth@1.1.so (android::hardware::bluetooth::V1_1::BnHwBluetoothHciCallbacks::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+528) (BuildId: 9161ea82809d97fb408b16ee3e686229)
09-13 11:04:05.016 2643 2643 F DEBUG : #12 pc 00000000000106b0 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BpHwBluetoothHci::_hidl_initialize(android::hardware::IInterface*, android::hardware::details::HidlInstrumentor*, android::sp<android::hardware::bluetooth::V1_0::IBluetoothHciCallbacks> const&)+368) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:04:10.038 2920 2920 F DEBUG : #05 pc 000000000001b718 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BnHwBluetoothHciCallbacks::_hidl_initializationComplete(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+184) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:04:10.038 2920 2920 F DEBUG : #06 pc 000000000001bea0 /system/lib64/android.hardware.bluetooth@1.1.so (android::hardware::bluetooth::V1_1::BnHwBluetoothHciCallbacks::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+528) (BuildId: 9161ea82809d97fb408b16ee3e686229)
09-13 11:04:10.039 2920 2920 F DEBUG : #12 pc 00000000000106b0 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BpHwBluetoothHci::_hidl_initialize(android::hardware::IInterface*, android::hardware::details::HidlInstrumentor*, android::sp<android::hardware::bluetooth::V1_0::IBluetoothHciCallbacks> const&)+368) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:04:14.545 2987 2987 F DEBUG : #05 pc 000000000001b718 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BnHwBluetoothHciCallbacks::_hidl_initializationComplete(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+184) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:04:14.545 2987 2987 F DEBUG : #06 pc 000000000001bea0 /system/lib64/android.hardware.bluetooth@1.1.so (android::hardware::bluetooth::V1_1::BnHwBluetoothHciCallbacks::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+528) (BuildId: 9161ea82809d97fb408b16ee3e686229)
09-13 11:04:14.546 2987 2987 F DEBUG : #12 pc 00000000000106b0 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BpHwBluetoothHci::_hidl_initialize(android::hardware::IInterface*, android::hardware::details::HidlInstrumentor*, android::sp<android::hardware::bluetooth::V1_0::IBluetoothHciCallbacks> const&)+368) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:04:19.976 3053 3053 F DEBUG : #05 pc 000000000001b718 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BnHwBluetoothHciCallbacks::_hidl_initializationComplete(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+184) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:04:19.977 3053 3053 F DEBUG : #06 pc 000000000001bea0 /system/lib64/android.hardware.bluetooth@1.1.so (android::hardware::bluetooth::V1_1::BnHwBluetoothHciCallbacks::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+528) (BuildId: 9161ea82809d97fb408b16ee3e686229)
09-13 11:04:19.977 3053 3053 F DEBUG : #12 pc 00000000000106b0 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BpHwBluetoothHci::_hidl_initialize(android::hardware::IInterface*, android::hardware::details::HidlInstrumentor*, android::sp<android::hardware::bluetooth::V1_0::IBluetoothHciCallbacks> const&)+368) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:04:24.024 3114 3114 F DEBUG : #05 pc 000000000001b718 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BnHwBluetoothHciCallbacks::_hidl_initializationComplete(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+184) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:04:24.024 3114 3114 F DEBUG : #06 pc 000000000001bea0 /system/lib64/android.hardware.bluetooth@1.1.so (android::hardware::bluetooth::V1_1::BnHwBluetoothHciCallbacks::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+528) (BuildId: 9161ea82809d97fb408b16ee3e686229)
09-13 11:04:24.025 3114 3114 F DEBUG : #12 pc 00000000000106b0 /system/lib64/android.hardware.bluetooth@1.0.so (android::hardware::bluetooth::V1_0::BpHwBluetoothHci::_hidl_initialize(android::hardware::IInterface*, android::hardware::details::HidlInstrumentor*, android::sp<android::hardware::bluetooth::V1_0::IBluetoothHciCallbacks> const&)+368) (BuildId: 1dd73fc86cef04097fccf90271a97a16)
09-13 11:04:44.053 620 653 W BatteryExternalStatsWorker: error reading Bluetooth stats: 9
09-13 11:32:50.748 620 653 W BatteryExternalStatsWorker: error reading Bluetooth stats: 9
09-13 11:39:29.622 620 653 W BatteryExternalStatsWorker: error reading Bluetooth stats: 9
09-13 12:02:50.738 620 653 W BatteryExternalStatsWorker: error reading Bluetooth stats: 9
09-13 12:30:20.161 620 653 W BatteryExternalStatsWorker: error reading Bluetooth stats: 9
09-13 12:31:10.802 620 1365 I ActivityTaskManager: START u10 {act=android.intent.action.VIEW flg=0x8080000 cmp=com.android.car.settings/.common.CarSettingActivities$BluetoothSettingsActivity} from uid 10090
09-13 12:31:12.542 620 1365 D CoreBackPreview: Window{83c7fc3 u10 com.android.car.settings/com.android.car.settings.common.CarSettingActivities$BluetoothSettingsActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@8edcb79, mPriority=0}
09-13 12:31:16.116 620 653 W BatteryExternalStatsWorker: error reading Bluetooth stats: 9
09-13 12:31:27.445 3535 3535 F DEBUG : #02 pc 0000000000006910 /vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so (android::hardware::bluetooth::V1_0::implementation::BluetoothHci::close()+96) (BuildId: 8d15c761f6e485798b1f1ffaeb34d0d3)
09-13 12:31:27.445 3535 3535 F DEBUG : #03 pc 0000000000006d80 /vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so (android::hardware::bluetooth::V1_0::implementation::BluetoothDeathRecipient::serviceDied(unsigned long, android::wp<android::hidl::base::V1_0::IBase> const&)+80) (BuildId: 8d15c761f6e485798b1f1ffaeb34d0d3)
09-13 12:31:41.434 3617 3617 F DEBUG : #02 pc 0000000000006910 /vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so (android::hardware::bluetooth::V1_0::implementation::BluetoothHci::close()+96) (BuildId: 8d15c761f6e485798b1f1ffaeb34d0d3)
09-13 12:31:41.435 3617 3617 F DEBUG : #03 pc 0000000000006d80 /vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so (android::hardware::bluetooth::V1_0::implementation::BluetoothDeathRecipient::serviceDied(unsigned long, android::wp<android::hidl::base::V1_0::IBase> const&)+80) (BuildId: 8d15c761f6e485798b1f1ffaeb34d0d3)
09-13 12:31:48.582 3691 3691 F DEBUG : #02 pc 0000000000006910 /vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so (android::hardware::bluetooth::V1_0::implementation::BluetoothHci::close()+96) (BuildId: 8d15c761f6e485798b1f1ffaeb34d0d3)
09-13 12:31:48.582 3691 3691 F DEBUG : #03 pc 0000000000006d80 /vendor/lib64/hw/android.hardware.bluetooth@1.0-impl.so (android::hardware::bluetooth::V1_0::implementation::BluetoothDeathRecipient::serviceDied(unsigned long, android::wp<android::hidl::base::V1_0::IBase> const&)+80) (BuildId: 8d15c761f6e485798b1f1ffaeb34d0d3)
09-13 12:32:21.417 620 653 W BatteryExternalStatsWorker: error reading Bluetooth stats: 9
09-13 12:32:50.805 620 653 W BatteryExternalStatsWorker: error reading Bluetooth stats: 9
09-13 13:02:50.787 620 653 W BatteryExternalStatsWorker: error reading Bluetooth stats: 9
09-13 13:32:50.804 620 653 W BatteryExternalStatsWorker: error reading Bluetooth stats: 9
^C
130|mek_8q:/ #

 

130|mek_8q:/ # ps -ef | grep bluetooth
bluetooth 3696 1 0 12:31:47 ? 00:00:00 android.hardware.bluetooth@1.0-service
root 3761 3744 6 13:55:34 pts/1 00:00:00 grep blu
mek_8q:/ #

 

Thanks,

Amul Patel

0 Kudos
1 Reply

680 Views
guriinas23
Contributor II

Ensure that the Intel Wi-Fi 6E AX210 card is compatible with the i.MX8QXP board and Android. Some hardware combinations may require specific drivers or firmware updates to function correctly.
Check the physical connections and make sure the Bluetooth module is properly connected to the board.
Make sure you have the latest drivers and firmware for the Intel Wi-Fi 6E AX210 card. Sometimes, updating drivers can resolve compatibility issues.
Verify that the Android build on your i.MX8QXP board includes a functional Bluetooth stack and supports the Bluetooth profiles you intend to use.
Go to the Android settings menu and check the Bluetooth settings. Ensure that Bluetooth is enabled and discoverable.
Try pairing your Bluetooth devices (e.g., headphones, keyboard, mouse) with the i.MX8QXP board. Make sure your devices are in pairing mode.
Ensure that the necessary Bluetooth-related services are running on Android, and that your application has the necessary permissions to use Bluetooth features.
Check Android's system logs (logcat) for any error messages or warnings related to Bluetooth. This can help pinpoint the issue.
Sometimes, a simple reboot of the device can resolve Bluetooth issues. If not, you might consider resetting network settings or factory resetting the device as a last resort. smart square login wellstar
If none of the above steps resolve the issue, consider reaching out to the manufacturer or supplier of your i.MX8QXP board for specific guidance or support related to Bluetooth on your hardware.

0 Kudos