rk3308连接bt一直报错,求各位大佬指点
使用的镜像版本ROC-RK3308-CC_Buildroot_normal_201811141、使用如下命令,可以扫描到,但是无法连接成功,连接通过hcitool dump出现如下错误:
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
status 0x04 handle 11 bdaddr 22:22:E3:6F:1C:F6 type ACL encrypt 0x00
Error: Page Timeout
bluetoothd: src/adapter.c:connect_failed_callback() hci0 22:22:E3:6F:1C:F6 status 4
bluetoothd: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 22:22:E3:6F:1C:F6 type 0 status 0x4
bluetoothd: src/adapter.c:resume_discovery()
命令:
hciconfig hci0 up #使能蓝牙
hciconfig -a #查看设备信息
hcitool scan #扫描蓝牙设备
hciconfig hci0 iscan #可见
hciconfig hci0 pscan #开启Inquiry Scan和Page Scan,使设备处于可被搜索和可连接状态
sdptool browse local #查看自己
sdptool add A2SNK #增加Sink服务
2、使用deviceio bluetooth进行蓝牙功能测试,第一步bt_server_open时出现如下错误:Which would you like: 01
--------------- BT BLUETOOTH INIT ----------------
++++++++++ RK_BT_STATE_TURNING_ON ++++++++++
hcd_file = /system/etc/firmware/BCM4345C0.hcd
start broadcom bluetooth server bsa_sever
killall: bsa_server: no process killed
[30;47mBSA_trace 1@ 12/31 19h:56m:51s:853ms: BSA_MgtOpenInit[30;47m
[30;47mBSA_trace 2@ 12/31 19h:56m:51s:854ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
Created thread with thread_id=b710f1c0
[30;47mBSA_trace 3@ 12/31 19h:56m:51s:855ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 4@ 12/31 19h:56m:51s:855ms: UIPC_Init[30;47m
[30;47mBSA_trace 5@ 12/31 19h:56m:51s:855ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 6@ 12/31 19h:56m:51s:855ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 7@ 12/31 19h:56m:51s:855ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 8@ 12/31 19h:56m:51s:855ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 9@ 12/31 19h:56m:52s:856ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 10@ 12/31 19h:56m:52s:856ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 11@ 12/31 19h:56m:52s:856ms: UIPC_Init[30;47m
[30;47mBSA_trace 12@ 12/31 19h:56m:52s:856ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 13@ 12/31 19h:56m:52s:856ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 14@ 12/31 19h:56m:52s:856ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 15@ 12/31 19h:56m:52s:856ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
|----- bluetooth bsa server is open ------|
[30;47mBSA_trace 16@ 12/31 19h:56m:53s:856ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 17@ 12/31 19h:56m:53s:856ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 18@ 12/31 19h:56m:53s:856ms: UIPC_Init[30;47m
[30;47mBSA_trace 19@ 12/31 19h:56m:53s:856ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 20@ 12/31 19h:56m:53s:856ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 21@ 12/31 19h:56m:53s:857ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 22@ 12/31 19h:56m:53s:857ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 23@ 12/31 19h:56m:54s:857ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 24@ 12/31 19h:56m:54s:857ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 25@ 12/31 19h:56m:54s:857ms: UIPC_Init[30;47m
[30;47mBSA_trace 26@ 12/31 19h:56m:54s:857ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 27@ 12/31 19h:56m:54s:857ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 28@ 12/31 19h:56m:54s:857ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 29@ 12/31 19h:56m:54s:857ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 30@ 12/31 19h:56m:55s:857ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 31@ 12/31 19h:56m:55s:857ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 32@ 12/31 19h:56m:55s:857ms: UIPC_Init[30;47m
[30;47mBSA_trace 33@ 12/31 19h:56m:55s:857ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 34@ 12/31 19h:56m:55s:858ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 35@ 12/31 19h:56m:55s:858ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 36@ 12/31 19h:56m:55s:858ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 37@ 12/31 19h:56m:56s:858ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 38@ 12/31 19h:56m:56s:858ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 39@ 12/31 19h:56m:56s:858ms: UIPC_Init[30;47m
[30;47mBSA_trace 40@ 12/31 19h:56m:56s:858ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 41@ 12/31 19h:56m:56s:858ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 42@ 12/31 19h:56m:56s:858ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 43@ 12/31 19h:56m:56s:858ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 44@ 12/31 19h:56m:57s:858ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 45@ 12/31 19h:56m:57s:858ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 46@ 12/31 19h:56m:57s:858ms: UIPC_Init[30;47m
[30;47mBSA_trace 47@ 12/31 19h:56m:57s:859ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 48@ 12/31 19h:56m:57s:859ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 49@ 12/31 19h:56m:57s:859ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 50@ 12/31 19h:56m:57s:859ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 51@ 12/31 19h:56m:58s:859ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 52@ 12/31 19h:56m:58s:859ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 53@ 12/31 19h:56m:58s:859ms: UIPC_Init[30;47m
[30;47mBSA_trace 54@ 12/31 19h:56m:58s:859ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 55@ 12/31 19h:56m:58s:859ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 56@ 12/31 19h:56m:58s:859ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 57@ 12/31 19h:56m:58s:859ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 58@ 12/31 19h:56m:59s:860ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 59@ 12/31 19h:56m:59s:860ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 60@ 12/31 19h:56m:59s:860ms: UIPC_Init[30;47m
[30;47mBSA_trace 61@ 12/31 19h:56m:59s:860ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 62@ 12/31 19h:56m:59s:860ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 63@ 12/31 19h:56m:59s:860ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 64@ 12/31 19h:56m:59s:860ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 65@ 12/31 19h:57m:00s:860ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 66@ 12/31 19h:57m:00s:860ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 67@ 12/31 19h:57m:00s:860ms: UIPC_Init[30;47m
[30;47mBSA_trace 68@ 12/31 19h:57m:00s:860ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 69@ 12/31 19h:57m:00s:860ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 70@ 12/31 19h:57m:00s:860ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 71@ 12/31 19h:57m:00s:860ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
#### Please Input Your Test Command Index ####
开启bluetoothd,可以看到设备,连接显示连接失败,求大佬指点
bluetoothd: profiles/audio/avrcp.c:avrcp_target_probe() path /org/bluez/hci0/dev_22_22_E3_6F_1C_F6
bluetoothd: src/service.c:btd_service_ref() 0x2acd8d70: ref=2
bluetoothd: src/service.c:change_state() 0x2acd8d70: device 22:22:E3:6F:1C:F6 profile audio-avrcp-target state changed: unavailable -> disconnected (0)
bluetoothd: profiles/audio/a2dp.c:a2dp_source_probe() path /org/bluez/hci0/dev_22_22_E3_6F_1C_F6
bluetoothd: profiles/audio/source.c:source_init() /org/bluez/hci0/dev_22_22_E3_6F_1C_F6
bluetoothd: src/service.c:btd_service_ref() 0x2acd38a0: ref=2
bluetoothd: src/service.c:change_state() 0x2acd38a0: device 22:22:E3:6F:1C:F6 profile a2dp-source state changed: unavailable -> disconnected (0)
bluetoothd: src/device.c:device_svc_resolved() /org/bluez/hci0/dev_22_22_E3_6F_1C_F6 err 0
bluetoothd: src/adapter.c:dev_disconnected() Device 22:22:E3:6F:1C:F6 disconnected, reason 2
bluetoothd: src/adapter.c:adapter_remove_connection()
bluetoothd: plugins/policy.c:disconnect_cb() reason 2
bluetoothd: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 22:22:E3:6F:1C:F6 type 0 status 0xe
bluetoothd: src/device.c:device_bonding_complete() bonding (nil) status 0x0e
bluetoothd: src/device.c:device_bonding_failed() status 14
bluetoothd: src/adapter.c:resume_discovery() 本帖最后由 zyk 于 2020-7-18 22:59 编辑
top命令看一下是不是运行了brcm_patchram_plus1程序,如果有运行,kill掉它再使用deviceio zyk 发表于 2020-7-18 21:54
top命令看一下是不是运行了brcm_patchram_plus1程序,如果有运行,kill掉它再使用deviceio
没有这个,确定还是不行,主要用他官方镜像也是一样问题,不是硬件问题吧? 本帖最后由 zyk 于 2020-7-29 11:00 编辑
whopawho 发表于 2020-7-28 19:49
没有这个,确定还是不行,主要用他官方镜像也是一样问题,不是硬件问题吧?
试一下重启一遍直接用deviceio,如果不行试一下下面的代码然后用bluetoothctl工具连接一下手机看行不行bt_load_broadcom_firmware
usr/libexec/bluetooth/bluetoothd --compat -n&
sleep 1
sdptool add A2SNK
sleep 1
hciconfig hci0 up
sleep 1
hciconfig hci0 piscan
sleep 1
hciconfig hci0 name 'bt-test'
sleep 1
hciconfig hci0 down
sleep 1
hciconfig hci0 up
sleep 2
bluealsa --profile=a2dp-sink &
sleep 1
bluealsa-aplay --profile-a2dp 00:00:00:00:00:00 &
sleep 1
hciconfig hci0 class 0x240404 zyk 发表于 2020-7-29 10:57
试一下重启一遍直接用deviceio,如果不行试一下下面的代码然后用bluetoothctl工具连接一下手机看行不行
谢谢大佬,用的ap6236,就是firefly官方的cc开发板,我试试 本帖最后由 zyk 于 2020-7-30 11:53 编辑
whopawho 发表于 2020-7-30 10:54
谢谢大佬,用的ap6236,就是firefly官方的cc开发板,我试试
建议你先看一下buildroot是否配置了ap6236,我看你的蓝牙固件好像不对
C:\Users\zyk-windows\Desktop zyk 发表于 2020-7-30 11:51
建议你先看一下buildroot是否配置了ap6236,我看你的蓝牙固件好像不对
好的谢谢大佬 zyk 发表于 2020-7-30 11:51
建议你先看一下buildroot是否配置了ap6236,我看你的蓝牙固件好像不对
大佬,我这改了还是一样的错误,
--------------- BT BLUETOOTH INIT ----------------
++++++++++ RK_BT_STATE_TURNING_ON ++++++++++
hcd_file = /system/etc/firmware/BCM4343B0.hcd
start broadcom bluetooth server bsa_sever
killall: bsa_server: no process killed
[30;47mBSA_trace 1@ 12/31 19h:00m:31s:836ms: BSA_MgtOpenInit[30;47m
[30;47mBSA_trace 2@ 12/31 19h:00m:31s:837ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
Created thread with thread_id=a3f821c0
[30;47mBSA_trace 3@ 12/31 19h:00m:31s:838ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 4@ 12/31 19h:00m:31s:839ms: UIPC_Init[30;47m
[30;47mBSA_trace 5@ 12/31 19h:00m:31s:839ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 6@ 12/31 19h:00m:31s:839ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 7@ 12/31 19h:00m:31s:840ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 8@ 12/31 19h:00m:31s:840ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 9@ 12/31 19h:00m:32s:840ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 10@ 12/31 19h:00m:32s:840ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 11@ 12/31 19h:00m:32s:840ms: UIPC_Init[30;47m
[30;47mBSA_trace 12@ 12/31 19h:00m:32s:840ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 13@ 12/31 19h:00m:32s:841ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 14@ 12/31 19h:00m:32s:841ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 15@ 12/31 19h:00m:32s:841ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
|----- bluetooth bsa server is open ------|
[30;47mBSA_trace 16@ 12/31 19h:00m:33s:841ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 17@ 12/31 19h:00m:33s:842ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 18@ 12/31 19h:00m:33s:842ms: UIPC_Init[30;47m
[30;47mBSA_trace 19@ 12/31 19h:00m:33s:842ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 20@ 12/31 19h:00m:33s:842ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 21@ 12/31 19h:00m:33s:842ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 22@ 12/31 19h:00m:33s:842ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 23@ 12/31 19h:00m:34s:843ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 24@ 12/31 19h:00m:34s:843ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 25@ 12/31 19h:00m:34s:843ms: UIPC_Init[30;47m
[30;47mBSA_trace 26@ 12/31 19h:00m:34s:843ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 27@ 12/31 19h:00m:34s:843ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 28@ 12/31 19h:00m:34s:843ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 29@ 12/31 19h:00m:34s:843ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 30@ 12/31 19h:00m:35s:844ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 31@ 12/31 19h:00m:35s:844ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 32@ 12/31 19h:00m:35s:844ms: UIPC_Init[30;47m
[30;47mBSA_trace 33@ 12/31 19h:00m:35s:844ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 34@ 12/31 19h:00m:35s:844ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 35@ 12/31 19h:00m:35s:845ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 36@ 12/31 19h:00m:35s:845ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 37@ 12/31 19h:00m:36s:845ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 38@ 12/31 19h:00m:36s:845ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 39@ 12/31 19h:00m:36s:845ms: UIPC_Init[30;47m
[30;47mBSA_trace 40@ 12/31 19h:00m:36s:845ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 41@ 12/31 19h:00m:36s:845ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 42@ 12/31 19h:00m:36s:846ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 43@ 12/31 19h:00m:36s:846ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 44@ 12/31 19h:00m:37s:846ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 45@ 12/31 19h:00m:37s:846ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 46@ 12/31 19h:00m:37s:846ms: UIPC_Init[30;47m
[30;47mBSA_trace 47@ 12/31 19h:00m:37s:846ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 48@ 12/31 19h:00m:37s:847ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 49@ 12/31 19h:00m:37s:847ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 50@ 12/31 19h:00m:37s:847ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 51@ 12/31 19h:00m:38s:847ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 52@ 12/31 19h:00m:38s:848ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 53@ 12/31 19h:00m:38s:848ms: UIPC_Init[30;47m
[30;47mBSA_trace 54@ 12/31 19h:00m:38s:848ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 55@ 12/31 19h:00m:38s:848ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 56@ 12/31 19h:00m:38s:848ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 57@ 12/31 19h:00m:38s:848ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 58@ 12/31 19h:00m:39s:849ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 59@ 12/31 19h:00m:39s:849ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 60@ 12/31 19h:00m:39s:849ms: UIPC_Init[30;47m
[30;47mBSA_trace 61@ 12/31 19h:00m:39s:849ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 62@ 12/31 19h:00m:39s:849ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 63@ 12/31 19h:00m:39s:849ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 64@ 12/31 19h:00m:39s:849ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
[30;47mBSA_trace 65@ 12/31 19h:00m:40s:850ms: BSA_MgtOpen (/data/bsa/config/)[30;47m
[30;47mBSA_trace 66@ 12/31 19h:00m:40s:850ms: bsa_cl_mgt_init[30;47m
[30;47mBSA_trace 67@ 12/31 19h:00m:40s:850ms: UIPC_Init[30;47m
[30;47mBSA_trace 68@ 12/31 19h:00m:40s:850ms: UIPC_Open ChId:3[30;47m
[31;47mBSA_trace 69@ 12/31 19h:00m:40s:850ms: uipc_cl_socket_connect: connect(/data/bsa/config/./bt-daemon-socket) failed(No such file or directory)[30;47m
[31;47mBSA_trace 70@ 12/31 19h:00m:40s:850ms: uipc_cl_control_open fails to connect control socket[30;47m
[31;47mBSA_trace 71@ 12/31 19h:00m:40s:850ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)[30;47m
ps结果如下
1 root 2400 S init
2 root 0 SW
3 root 0 SW
4 root 0 SW
5 root 0 SW<
6 root 0 SW
7 root 0 SW
8 root 0 SW
9 root 0 SW
10 root 0 SW
11 root 0 SW
12 root 0 SW
13 root 0 SW
14 root 0 SW
15 root 0 SW
16 root 0 SW<
17 root 0 SW
18 root 0 SW
19 root 0 SW
20 root 0 SW
21 root 0 SW<
22 root 0 SW
23 root 0 SW
24 root 0 SW
25 root 0 SW
26 root 0 SW<
27 root 0 SW
28 root 0 SW<
29 root 0 SW
30 root 0 SW
31 root 0 SW<
32 root 0 SW<
33 root 0 SW<
34 root 0 SW<
35 root 0 SW<
36 root 0 SW
37 root 0 SW<
38 root 0 SW
39 root 0 SW
65 root 0 SW
66 root 0 SW<
67 root 0 SW
68 root 0 SW<
89 root 0 SW
90 root 0 SW
91 root 0 SW
92 root 0 SW
93 root 0 SW
94 root 0 SW
95 root 0 SW
96 root 0 SW<
97 root 0 SW<
98 root 0 SW<
99 root 0 SW<
100 root 0 SW<
101 root 0 SW<
102 root 0 SW<
103 root 0 SW<
106 root 0 SW<
107 root 0 SW
108 root 0 SW
109 root 0 SW
110 root 0 SW<
111 root 0 SW<
112 root 0 SW<
113 root 0 SW
114 root 0 SW<
115 root 0 SW
116 root 0 SW<
119 root 0 SW
120 root 0 SW<
121 root 0 SW
122 root 0 SW<
123 root 0 SW
124 root 0 SW
126 root 0 SW
127 root 0 SW
128 root 0 SW
129 root 0 SW<
131 root 0 SW<
134 root 0 SW<
135 root 0 SW<
136 root 0 SW
145 root 2400 S /sbin/syslogd -n
148 root 2400 S /sbin/klogd -n
152 root 0 SW
153 root 0 SW
154 root 0 SW
155 root 0 SW
156 root 3260 S /sbin/udevd -d
256 dbus 2716 S dbus-daemon --system
283 root 2776 S /sbin/dhcpcd -f /etc/dhcpcd.conf
287 root 72200 S /usr/sbin/ntpd -g
294 root 0 SW<
295 root 2328 S /usr/sbin/dropbear -R
321 root 236m R adbd
352 root 2592 S /usr/sbin/dnsmasq
354 root 5616 S /usr/bin/eq_drc_process
377 root 4440 S wpa_supplicant -B -i wlan0 -c /data/cfg/wpa_supplica
386 root 2400 S -/bin/sh
392 root 2400 S /bin/sh -
398 root 15968 S deviceio_test bluetooth
433 root 0 SW
444 root 2400 S /bin/sh -
446 root 2400 R ps whopawho 发表于 2020-7-30 16:52
大佬,我这改了还是一样的错误,
--------------- BT BLUETOOTH INIT ----------------
有可能是你的配置未生效,我这边是可以的,你试一下以下操作:
在buildroot/output/firefly_rk3308_release中make menuconfig搜索broadcom,选择broadcom(ampak)服务,支持的芯片选择AP6236保存后make savedefconfig
回到sdk的根目录rk3308/linux/或prj/Firefly-RK3308执行
make broadcom_bsa-dirclean && make broadcom_bsa-rebuild
make deviceio-dirclean && make deviceio-rebuild
./build.sh
将固件烧进开发板后测试
页:
[1]
2