AnsweredAssumed Answered

hci0 device not found - ATH3K - iMX6 Bluetooth

Question asked by Karthikeyan Raju on Apr 4, 2018
Latest reply on Apr 12, 2018 by Karthikeyan Raju

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.

Outcomes