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
Hi JIMMY
please follow guidelines given on
How to enable BT on i.MX 6SoloLite EVK Board
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor,
BT IO mux for gpio only use BT_PWR_L to reset PWD(rfkill) in android BSP.
BT_DISABLE / BT_WAKEUP and BT_HOST_WAKE pin need to setting in LINUX BSP ? How to setting it ?