AnsweredAssumed Answered

Bluetooth AR3002 hciattach ath3k fail

Question asked by JIMMY CHEN on Mar 20, 2016
Latest reply on Mar 21, 2016 by JIMMY CHEN

Hi Sir,

 

 

BT Module : Atheros AR3002 (UART)

I meet some error when use hciattach atk3k.

 

I am facing trouble to find how to slove it. Please suggest me how can I enable the module by linux platform.

 

command:

 

echo 1 > /sys/class/rfkill/rfkill0/state

rfkill: BT RF going to : on

mxc_bt_rfkill_reset

 

root@imx6qsabresd:/# hciattach -s 115200 /dev/ttymxc4 ath3k

Bluetooth: HCIATH3K open

rfkill: BT RF going to : off

Bluetooth: HCIATH3K enqueue

Bluetooth: HCIATH3K uart_work

Bluetooth: HCIATH3K recv

......

 

hci down:Power management Disabled: Operation not possible due to RF-kill

Can't initialize device: Operation not possible due to RF-kill

 

dmesg:

 

Bluetooth: Core ver 2.18

Bluetooth: HCI device and connection manager initialized

Bluetooth: HCI socket layer initialized

Bluetooth: L2CAP socket layer initialized

Bluetooth: SCO socket layer initialized

Bluetooth: Virtual HCI driver ver 1.4

Bluetooth: HCI UART driver ver 2.2

Bluetooth: HCI H4 protocol initialized

Bluetooth: HCI BCSP protocol initialized

Bluetooth: HCIATH3K protocol initialized

Bluetooth: Generic Bluetooth SDIO driver ver 0.1

Bluetooth: RFCOMM TTY layer initialized

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM ver 1.11

Bluetooth: BNEP (Ethernet Emulation) ver 1.3

Bluetooth: BNEP filters: protocol multicast

Bluetooth: BNEP socket layer initialized

Bluetooth: HIDP (Human Interface Emulation) ver 1.2

Bluetooth: HIDP socket layer initialized

 

Firmwares are already in lib/firmware/ar3k.

 

root@imx6qsabresd:/lib/firmware/ar3k# ls

1020200                AthrBT_0x01020201.dfu    ramps_0x01020201_26.dfu

1020201                AthrBT_0x11020000.dfu    ramps_0x01020201_40.dfu

30000                  AthrBT_0x31010000.dfu    ramps_0x11020000_40.dfu

30101                  AthrBT_0x41020000.dfu    ramps_0x31010000_40.dfu

30101coex              ramps_0x01020001_26.dfu  ramps_0x41020000_40.dfu

AthrBT_0x01020001.dfu  ramps_0x01020200_26.dfu

AthrBT_0x01020200.dfu  ramps_0x01020200_40.dfu

Outcomes