iMX8QM MEK (imx-automotive-11) Bluetooth is not working with 1 YM M2 module.

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

iMX8QM MEK (imx-automotive-11) Bluetooth is not working with 1 YM M2 module.

Jump to solution
2,019 Views
Jose1985
Contributor IV

 

Dear Team,

I added 1YM M2 module with iMX8QM-MEK board. The WiFi is up and running, but the Bluetooth is not working. Please find the below log snippet & attached logs.

 

$adb shell logcat 

01-28 09:46:46.786 1786 1914 I bt_hci : hci_module_start_up
01-28 09:46:46.787 1786 1984 I droid.bluetoot: [0128/094646.787384:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_hci_thread
01-28 09:46:46.788 1786 1914 D bt_hci : hci_module_start_up starting async portion
01-28 09:46:46.788 1786 1984 I bt_hci : hci_initialize
01-28 09:46:46.819 1786 1984 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 1984 (bt_hci_thread), pid 1786 (droid.bluetooth)
01-28 09:46:46.940 1989 1989 F DEBUG : pid: 1786, tid: 1984, name: bt_hci_thread >>> com.android.bluetooth <<<
01-28 09:46:48.986 2284 2284 I BluetoothServiceJni: hal_util_load_bt_library: loaded Bluetooth library successfully
01-28 09:46:49.024 2284 2284 I bt_btif : init: start restricted = 0 ; niap = 0, config compare result = 0
01-28 09:46:49.024 2284 2284 I bt_btif : init Preserving legacy bluetooth functionality
01-28 09:46:49.025 2284 2284 D bt_osi_allocation_tracker: canary initialized
01-28 09:46:49.025 2284 2318 I droid.bluetoot: [0128/094649.025477:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_stack_manager_thread
01-28 09:46:49.026 2284 2318 I bt_stack_manager: event_init_stack is initializing the stack
01-28 09:46:49.026 2284 2318 E droid.bluetoot: [0128/094649.026682:ERROR:config.cc(104)] config_new: unable to open file '/data/misc/bluedroid/bt_config.conf': No such file or directory
01-28 09:46:49.026 2284 2318 W bt_btif_config: init unable to load config file: /data/misc/bluedroid/bt_config.conf; using backup.
01-28 09:46:49.027 2284 2318 E droid.bluetoot: [0128/094649.027022:ERROR:config.cc(104)] config_new: unable to open file '/data/misc/bluedroid/bt_config.bak': No such file or directory
01-28 09:46:49.027 2284 2318 W bt_btif_config: init unable to load backup; attempting to transcode legacy file.
01-28 09:46:49.027 2284 2318 E bt_btif_config_transcode: btif_config_transcode unable to load XML file '/data/misc/bluedroid/bt_config.xml': 3
01-28 09:46:49.027 2284 2318 E bt_btif_config: init unable to transcode legacy file; creating empty config.
01-28 09:46:49.028 2284 2326 I bt_osi_thread: run_thread: thread id 2326, thread name alarm_default_ca started
01-28 09:46:49.029 2284 2327 I bt_osi_thread: run_thread: thread id 2327, thread name alarm_dispatcher started
01-28 09:46:49.029 2284 2318 I bt_btif_core: btif_init_bluetooth entered
01-28 09:46:49.030 2284 2318 I bt_stack_config: init attempt to load stack conf from /etc/bluetooth/bt_stack.conf
01-28 09:46:49.030 2284 2328 I droid.bluetoot: [0128/094649.030666:INFO:message_loop_thread.cc(175)] Run: message loop starting for thread bt_jni_thread
01-28 09:46:49.031 2284 2318 I bt_btif_core: btif_init_bluetooth finished

$adb shell dmesg | grep Blue
[ 0.111256] Bluetooth: Core ver 2.22
[ 0.111282] Bluetooth: HCI device and connection manager initialized
[ 0.111289] Bluetooth: HCI socket layer initialized
[ 0.111294] Bluetooth: L2CAP socket layer initialized
[ 0.111304] Bluetooth: SCO socket layer initialized
[ 1.823232] Bluetooth: HCI UART driver ver 2.3

Best regards

Libin Jose

0 Kudos
1 Solution
2,006 Views
Jose1985
Contributor IV

Dear All,

This issue is fixed. We need to enable couple of things. Please find the attached patch file.

Best regards

Jose1985

View solution in original post

1 Reply
2,007 Views
Jose1985
Contributor IV

Dear All,

This issue is fixed. We need to enable couple of things. Please find the attached patch file.

Best regards

Jose1985