started new attempt to get BT working…
currently produces this output:
4.19-bt.log (59,6 KB)
most interesting should be this:
[ 42.614751] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6620.defAnt'.
[ 42.622142] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6628.defAnt'.
[ 42.629537] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6630.defAnt'.
[ 42.637254] [WMT-CORE][E]wmt_core_stp_init(648):WMT-CORE: no hif info!
[ 42.643739] drivers/misc/mediatek/connectivity/common/conn_soc/core/wmt_core.c, 649, (0)
[ 42.651807] [WMT-CORE][E]opfunc_pwr_on(918):WMT-CORE: wmt_core_stp_init fail (-1)
[ 42.659267] drivers/misc/mediatek/connectivity/common/conn_soc/core/wmt_core.c, 919, (0)
[ 42.667330] [WMT-CORE][E]wmt_core_ctrl(500):WMT-CORE: wmt_core_ctrl failed: id(5), type(1), value(0) iRet:(-1)
[ 42.677280] drivers/misc/mediatek/connectivity/common/conn_soc/core/wmt_core.c, 501, (0)
[ 42.685313] [WMT-CORE][E]wmt_core_ctrl(500):WMT-CORE: wmt_core_ctrl failed: id(5), type(0), value(0) iRet:(-1)
[ 42.695255] drivers/misc/mediatek/connectivity/common/conn_soc/core/wmt_core.c, 501, (0)
[ 42.703316] [WMT-CORE][E]wmt_core_ctrl(500):WMT-CORE: wmt_core_ctrl failed: id(3), type(0), value(0) iRet:(-2)
[ 42.713261] drivers/misc/mediatek/connectivity/common/conn_soc/core/wmt_core.c, 501, (0)
first lead to
did not know how critical it is…before it tries to read from config-file, but this seems to broke init-procedure
first three lines are from the /system/etc/firmware/WMT_SOC.cfg
mt6620.defAnt=mt6620_ant_m3.cfg
mt6628.defAnt=mt6628_ant_m1.cfg
mt6630.defAnt=mt6630_ant_m1.cfg
but the check itself seems not to check the config
it relies on a struct where the bit is set in
if not breaked before (but i don’t see that message in my log…maybe i need define-debug here too)
this looks also interesting:
maybe we have to call stp_uart_launcher with different parameters to activate hif…a bit later i see this:
[ 43.439140] DEBUG: Passed mtk_bt_hci_open 314
[ 43.443555] mtk_bt_hci_open func on failed with 0
[ 44.848357] [WMT-CORE][E]opfunc_hif_conf(874):WMT-CORE: WMT HIF info added
[ 44.856498] DEBUG: Passed _mtk_wcn_wmt_func_on 160