Hi all,
I have stuck in those problem for awhile and really need some advice or hint. Any suggestion would be appreciated!
Here is my status. I got a QCA9558 board and using HS-UART interface connected to CC2564B. The tty driver has been
successfully porting so the UART interface seems to be fine. But in some situation like l2ping or doing blueZ stuff, the
error message start to print from kernel like following:
$ l2ping CC:FA:00:15:FD:76
Ping: CC:FA:00:15:FD:76 from 6C:EC:EB:4C:15:9E (data size 44) ..[ 701.490000] Bluetooth: Unknown HCI packet type f0
.
^C0 sent, 0 received, 0% loss
root@EWS1025:~# [ 711.830000] Bluetooth: hci0 command tx timeout
And I'm pretty sure the BTS script has succesfully loaded because the CC2564 can be control by hcitool cmd like those:
$ hciconfig hci0 up
$ hcitool -i hci0 cmd 0x4 0x9
< HCI Command: ogf 0x04, ocf 0x0009, plen 0
> HCI Event: 0x0e plen 10
01 09 10 00 9E 15 4C EB EC 6C
$ hciconfig
hci0: Type: BR/EDR Bus: UART
BD Address: 6C:EC:EB:4C:15:9E ACL MTU: 1021:4 SCO MTU: 180:4
UP RUNNING
RX bytes:1154 acl:0 sco:0 events:60 errors:0
TX bytes:645 acl:0 sco:0 commands:60 errors:0
Then, I have tried using MSP-EXP430 + CC2564MODNEM with bypass firmware to testing on my board via USB port again. The result is
different from previous. The l2ping works normal without any error message form kernel. It seems the only difference is tty driver between
the CC2564MODNEM and CC2564B.
So is there anything I should be done in my HS-UART tty driver to fix the issue?
Thanks.
BR,
George Lin