Linux 5.4.70_2.3.0: Bluetooth can't work on i.mx8mmevk with QCA9377

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

Linux 5.4.70_2.3.0: Bluetooth can't work on i.mx8mmevk with QCA9377

3,975 Views
richard_hu
Contributor V

Hello, NXP team:

 

I download "L5.4.70-2.3.0_images_MX8MMEVK.zip" and flash "imx-image-multimedia-imx8mmevk.wic".

The imx8mmevk we have is with QCA9377 WIFI, so i switch to use the default device tree file "imx8mm-evk-qca-wifi.dtb".

Bluetooth firmware is loaded and "hci0" is created.

When i try to enable hci0, there is error message:

 

 

root@imx8mmevk:~# dmesg | grep -i model
[    0.000000] Machine model: FSL i.MX8MM LPDDR4 EVK with QCA WIFI revB board
root@imx8mmevk:~# hciattach -t 30 /dev/ttymxc0 qca 115200 flow
root@imx8mmevk:~# hciconfig -a
hci0:   Type: Primary  Bus: UART
        BD Address: 61:47:AA:32:44:06  ACL MTU: 1024:7  SCO MTU: 60:8
        DOWN
        RX bytes:564 acl:0 sco:0 events:25 errors:0
        TX bytes:363 acl:0 sco:0 commands:25 errors:0
        Features: 0xff 0xfe 0x8f 0xfe 0xd8 0x3f 0x5b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF
        Link mode: SLAVE ACCEPT

root@imx8mmevk:~# hciconfig hci0 up
[  552.165747] debugfs: File 'dut_mode' in directory 'hci0' already present!
Can't init device hci0: Invalid request code (56)

root@edm-g-imx8mm:~# hcitool -i hci0 scan
Invalid device: Network is down

 

 

 

We have tried Linux 5.4.47_2.2.0 and it works fine.

Could you give me a tip what is the difference between Linux 5.4.47_2.2.0 and 5.4.70_2.3.0 to cause this issue?

 

Thanks!

BR,

 

Richard

0 Kudos
Reply
8 Replies

1,628 Views
Noel_V
Contributor III

Any updates on how to fix ?

 

Thanks

 

0 Kudos
Reply

3,842 Views
enricorocheti
Contributor I

hi @richard_hu , could you tell me how did you fix this? I'm experiencing the same issue with IMX7 and can't figure it out what I'm missing..

0 Kudos
Reply

3,950 Views
richard_hu
Contributor V

@Zhiming_Liu 

 

Thanks! Zhiming~!

I attach boot log in the original post.

0 Kudos
Reply

3,953 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

Can you attach your boot log?

 

BR

Zhiming

0 Kudos
Reply

3,946 Views
richard_hu
Contributor V

Hello, @Zhiming_Liu :

Thanks~!!!
We figure out the problem.
I think this thread can be closed.

0 Kudos
Reply

609 Views
Kang_Li
Contributor I

I have encountered the same problem. Can you tell me how you solved it!thank you

0 Kudos
Reply

3,072 Views
andy_bern
Contributor I

Hello @richard_hu,

i have the same problem, could you please explain how you solved this problem?

 

Best regards

0 Kudos
Reply

3,350 Views
barkleyj
Contributor I

Can you tell me how to solve it?

Thanks.

0 Kudos
Reply