bluetooth problem in Android P

215 views
Skip to first unread message

Mohammad Saleh Dehghanpour

unread,
Oct 14, 2019, 12:46:17 PM10/14/19
to android-porting
I have a test board for amlogic S905X chip. (p212 reference board) When I burn my ROM into it, the bluetooth constantly shows "stopping" dialog.
The logfile (tombstone) is detailed but the important part is here:

01-01 00:24:15.708 28953 28986 I bt_hci  : hci_initialize
01-01 00:24:15.710 28953 28970 D bt_hci  : hci_module_start_up starting async portion
01-01 00:24:15.711 28953 28986 I bt_hci  : hci_initialize: IBluetoothHci::getService() returned 0xa1b91560 (remote)
01-01 00:24:16.209 28953 28987 F         : [0101/002416.209517:FATAL:hci_layer_android.cc(78)] Check failed: status == Status::SUCCESS. 

It seems the hardware is initialized but the the HCI can not be started. Is it related to kernel drivers or android user space and HAL modules? or even framework(?!)

How can I approach this problem to solve it?

the full log file is pasted here: https://paste.ubuntu.com/p/J524z6BhJc/

Thanks

Kha Trần

unread,
Dec 10, 2019, 10:31:19 AM12/10/19
to android-porting
By default, Bluetooth will be initialized with hci0 interface. Please check whether this interface is available. If not, it is kernel issue. Otherwise, Android HAL. I think!

Vào 23:46:17 UTC+7 Thứ Hai, ngày 14 tháng 10 năm 2019, Mohammad Saleh Dehghanpour đã viết:
Reply all
Reply to author
Forward
0 new messages