imx8: bluetooth not working, "scan on" & "discoverable on" throwing timeout error

cancel
Showing results for 
Search instead for 
Did you mean: 

imx8: bluetooth not working, "scan on" & "discoverable on" throwing timeout error

81 Views
Contributor III

Hi,

BSP 5.4 in imx8mq-evk. Could see hci0 interface is up & Bluetooth is also unblock. Could see the controller but throwing tx timeout error while discoverable or scanning. Logs are given below: 

imx8mqevk:~# rfkill list
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
imx8mqevk:~# hciconfig hci0
hci0:   Type: Primary  Bus: UART
        BD Address: 61:47:AA:32:44:08  ACL MTU: 1024:7  SCO MTU: 60:8
        UP RUNNING
        RX bytes:728 acl:0 sco:0 events:44 errors:0
        TX bytes:1023 acl:0 sco:0 commands:44 errors:0

imx8mqevk:~#
imx8mqevk:~#
imx8mqevk:~# rfkill list
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

Agent registered
[CHG] Controller 61:47:AA:32:44:08 Pairable: yes
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# discoverable on

 

[ 2757.857466] Bluetooth: hci0: command 0x0c1a tx timeoout
[bluetooth]#
[bluetooth]#
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
[bluetooth]# [ 3010.044293] Bluetooth: hci0: command 0x2005 tx timeout
Failed to start discovery: org.bluez.Error.InProgress
[bluetooth]# [ 3012.059745] Bluetooth: hci0: command 0x200b tx timeout
[ 3014.075685] Bluetooth: hci0: command 0x200c tx timeout

Labels (1)
0 Kudos
2 Replies

71 Views
NXP TechSupport
NXP TechSupport

Hi vsuneja63

 

there are several "BSP 5.4" each can support bluetooth differently, for

example one can look at Linux 5.4.47_2.2.0​​ sect.11.1 Connectivity for

Bluetooth wireless technology and Wi-Fi i.MX Linux User’s Guide​

and  L5.4.3_1.0.0 sect.10.1 Connectivity for Bluetooth wireless technology

Linux Guide included in  Documentation

Test with Demo Images from link

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

0 Kudos

57 Views
Contributor III

Hi, 

Thanks!

Couldn't found anything specific to QCA6174 controller of imx8mq-evk in documents. Can you suggest something on root cause of the timeout error?

0 Kudos