AnsweredAssumed Answered

Bluetooth issue on IMX8M mini evk

Question asked by Jean Jeannot on May 21, 2019
Latest reply on Apr 21, 2020 by Jean Jeannot

Hi All,


I am not able to make the Bluetooth controller working on the IMX8M mini evk. I made an fsl-image-machine-test and test the wifi interface without any problem.


Here are the steps I made to make bluetooth working:


root@imx8mmevk: ~# systemctl start bluetooth

root@imx8mmevk: ~# hciconfig hci0 up

Can't get device info: No such device

root@imx8mmevk: ~# bluetoothctl

Agent Registered

[bluetooth]# devices

No default controller available

[bluetooth]# quit

root@imx8mmevk: ~# hciattach /dev/ttymxc2 qca
frame_hci_cmd_pkt: Sending EDL_PATCH_VER_REQ_CMD
HCI-CMD -1:     0x1     0x0     0xfc    0x1     0x19
read_vs_hci_event: Wait for HCI-Vendor Specfic Event from SOC
wait_for_data: Timing out on select for 3 secs.
hci_send_vs_cmd: Failed to get HCI-VS Event from SOC
Failed to attach the patch payload to the Controller!
qca_soc_init: Fail to get Rome Version (0xffffff92)
Initialization timed out.
root@imx8mmevk: ~# dmesg | grep Bluetooth
[    0.876192] Bluetooth: Core ver 2.22
[    0.883771] Bluetooth: HCI device and connection manager initialized
[    0.890162] Bluetooth: HCI socket layer initialized
[    0.895054] Bluetooth: L2CAP socket layer initialized
[    0.900144] Bluetooth: SCO socket layer initialized
[    1.741862] Bluetooth: HCI UART driver ver 2.3
[    1.746328] Bluetooth: HCI UART protocol H4 registered
[    1.751475] Bluetooth: HCI UART protocol BCSP registered
[    1.756796] Bluetooth: HCI UART protocol ATH3K registered
[    1.762203] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.768621] Bluetooth: HCI UART protocol Broadcom registered
[    1.774293] Bluetooth: HCI UART protocol QCA registered
[    3.255586] Bluetooth: RFCOMM TTY layer initialized
[    3.260485] Bluetooth: RFCOMM socket layer initialized
[    3.265645] Bluetooth: RFCOMM ver 1.11
[    3.269413] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.274734] Bluetooth: BNEP filters: protocol multicast
[    3.279975] Bluetooth: BNEP socket layer initialized
[    3.284949] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.290883] Bluetooth: HIDP socket layer initialized
root@imx8mmevk: ~# lsmod
Module                  Size  Used by
crc32_ce               16384  0
crct10dif_ce           16384  0
qca9377              4608000  0
root@imx8mmevk: ~#


Anyone can help me?