hci0 device not found - ATH3K - iMX6 Bluetooth

cancel
Showing results for 
Search instead for 
Did you mean: 

hci0 device not found - ATH3K - iMX6 Bluetooth

1,139 Views
karthikeyanraju
Contributor III

I m using Atheros AR6233 chip and YOCTO platform. I have enabled the WiFi.

Facing difficulty in enabling Bluetooth.

I cannot detect the hci0 interface. This module is basically UART interface.

I m using Bluez5.41 version.

My Kernel configuration :

+#BlueTooth config#
+CONFIG_BT=y
+CONFIG_BT_RFCOMM=y
+CONFIG_BT_RFCOMM_TTY=y
+CONFIG_BT_BNEP=y
+CONFIG_BT_BNEP_MC_FILTER=y
+CONFIG_BT_BNEP_PROTO_FILTER=y
+CONFIG_BT_HIDP=y
+CONFIG_BT_HCIUART=y
+CONFIG_BT_HCIUART_ATH3K=y
+CONFIG_BT_HCIUART_3WIRE=y

I have added the Bluez packages as follows:

BLUETOOTH_STACK = "\
    bluez5 \
    bluez5-obex \
    bluez5-noinst-tools \
    bluez5-testtools \
    uim \
    bt-enable \
"

Kernel log :

root:/# dmesg | grep "Bluetooth"
[    0.314247] Bluetooth: Core ver 2.22
[    0.314317] Bluetooth: HCI device and connection manager initialized
[    0.314336] Bluetooth: HCI socket layer initialized
[    0.314349] Bluetooth: L2CAP socket layer initialized
[    0.314386] Bluetooth: SCO socket layer initialized
[    1.469102] Bluetooth: HCI UART driver ver 2.3
[    1.473571] Bluetooth: HCI UART protocol H4 registered
[    1.478755] Bluetooth: HCI UART protocol LL registered
[    1.483917] Bluetooth: HCI UART protocol ATH3K registered
[    1.489351] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.637803] Bluetooth: RFCOMM TTY layer initialized
[    1.642715] Bluetooth: RFCOMM socket layer initialized
[    1.647974] Bluetooth: RFCOMM ver 1.11
[    1.651749] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.657168] Bluetooth: BNEP filters: protocol multicast
[    1.662425] Bluetooth: BNEP socket layer initialized
[    1.667431] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.673381] Bluetooth: HIDP socket layer initialized
root:/#

==> hciconfig and hciconfig -a commands provides nothing.

==>root# hciattach -r /dev/ttyS2 ath3k 115200                                                                                             
Initialization timed out.
 

What am i missing ? Any Firmware need to be loaded for this module ?

Please provide the guidance.

Thanks in advance.

Labels (1)
0 Kudos
2 Replies

344 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Karthikeyan

what bsp used in the case, atheros modules are not supported in latest nxp bsps.

One can try older releases which supported it, like L3.14.38 described on

https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6ser...

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

344 Views
karthikeyanraju
Contributor III

Hi ,

I just loaded the ar3k firmware and enabled the BT enable GPIO . It works for me.

Thanks for the reply.

0 Kudos