Firefly开源社区

12
发表新贴
打印 上一主题 下一主题

rk3308连接bt一直报错,求各位大佬指点

115

积分

0

威望

0

贡献

技术小白

积分
115

rk3308连接bt一直报错,求各位大佬指点

发表于 2020-7-7 18:36:00      浏览:19151 | 回复:18        打印      只看该作者   [复制链接] 楼主
使用的镜像版本ROC-RK3308-CC_Buildroot_normal_20181114
1、使用如下命令,可以扫描到,但是无法连接成功,连接通过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[453]: src/adapter.c:connect_failed_callback() hci0 22:22:E3:6F:1C:F6 status 4
bluetoothd[453]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 22:22:E3:6F:1C:F6 type 0 status 0x4
bluetoothd[453]: 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
BSA_trace 1@ 12/31 19h:56m:51s:853ms: BSA_MgtOpenInit
BSA_trace 2@ 12/31 19h:56m:51s:854ms: BSA_MgtOpen (/data/bsa/config/)
Created thread with thread_id=  b710f1c0
BSA_trace 3@ 12/31 19h:56m:51s:855ms: bsa_cl_mgt_init
BSA_trace 4@ 12/31 19h:56m:51s:855ms: UIPC_Init
BSA_trace 5@ 12/31 19h:56m:51s:855ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 7@ 12/31 19h:56m:51s:855ms: uipc_cl_control_open fails to connect control socket
BSA_trace 8@ 12/31 19h:56m:51s:855ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 9@ 12/31 19h:56m:52s:856ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 10@ 12/31 19h:56m:52s:856ms: bsa_cl_mgt_init
BSA_trace 11@ 12/31 19h:56m:52s:856ms: UIPC_Init
BSA_trace 12@ 12/31 19h:56m:52s:856ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 14@ 12/31 19h:56m:52s:856ms: uipc_cl_control_open fails to connect control socket
BSA_trace 15@ 12/31 19h:56m:52s:856ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
|----- bluetooth bsa server is open ------|
BSA_trace 16@ 12/31 19h:56m:53s:856ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 17@ 12/31 19h:56m:53s:856ms: bsa_cl_mgt_init
BSA_trace 18@ 12/31 19h:56m:53s:856ms: UIPC_Init
BSA_trace 19@ 12/31 19h:56m:53s:856ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 21@ 12/31 19h:56m:53s:857ms: uipc_cl_control_open fails to connect control socket
BSA_trace 22@ 12/31 19h:56m:53s:857ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 23@ 12/31 19h:56m:54s:857ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 24@ 12/31 19h:56m:54s:857ms: bsa_cl_mgt_init
BSA_trace 25@ 12/31 19h:56m:54s:857ms: UIPC_Init
BSA_trace 26@ 12/31 19h:56m:54s:857ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 28@ 12/31 19h:56m:54s:857ms: uipc_cl_control_open fails to connect control socket
BSA_trace 29@ 12/31 19h:56m:54s:857ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 30@ 12/31 19h:56m:55s:857ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 31@ 12/31 19h:56m:55s:857ms: bsa_cl_mgt_init
BSA_trace 32@ 12/31 19h:56m:55s:857ms: UIPC_Init
BSA_trace 33@ 12/31 19h:56m:55s:857ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 35@ 12/31 19h:56m:55s:858ms: uipc_cl_control_open fails to connect control socket
BSA_trace 36@ 12/31 19h:56m:55s:858ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 37@ 12/31 19h:56m:56s:858ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 38@ 12/31 19h:56m:56s:858ms: bsa_cl_mgt_init
BSA_trace 39@ 12/31 19h:56m:56s:858ms: UIPC_Init
BSA_trace 40@ 12/31 19h:56m:56s:858ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 42@ 12/31 19h:56m:56s:858ms: uipc_cl_control_open fails to connect control socket
BSA_trace 43@ 12/31 19h:56m:56s:858ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 44@ 12/31 19h:56m:57s:858ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 45@ 12/31 19h:56m:57s:858ms: bsa_cl_mgt_init
BSA_trace 46@ 12/31 19h:56m:57s:858ms: UIPC_Init
BSA_trace 47@ 12/31 19h:56m:57s:859ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 49@ 12/31 19h:56m:57s:859ms: uipc_cl_control_open fails to connect control socket
BSA_trace 50@ 12/31 19h:56m:57s:859ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 51@ 12/31 19h:56m:58s:859ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 52@ 12/31 19h:56m:58s:859ms: bsa_cl_mgt_init
BSA_trace 53@ 12/31 19h:56m:58s:859ms: UIPC_Init
BSA_trace 54@ 12/31 19h:56m:58s:859ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 56@ 12/31 19h:56m:58s:859ms: uipc_cl_control_open fails to connect control socket
BSA_trace 57@ 12/31 19h:56m:58s:859ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 58@ 12/31 19h:56m:59s:860ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 59@ 12/31 19h:56m:59s:860ms: bsa_cl_mgt_init
BSA_trace 60@ 12/31 19h:56m:59s:860ms: UIPC_Init
BSA_trace 61@ 12/31 19h:56m:59s:860ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 63@ 12/31 19h:56m:59s:860ms: uipc_cl_control_open fails to connect control socket
BSA_trace 64@ 12/31 19h:56m:59s:860ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 65@ 12/31 19h:57m:00s:860ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 66@ 12/31 19h:57m:00s:860ms: bsa_cl_mgt_init
BSA_trace 67@ 12/31 19h:57m:00s:860ms: UIPC_Init
BSA_trace 68@ 12/31 19h:57m:00s:860ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 70@ 12/31 19h:57m:00s:860ms: uipc_cl_control_open fails to connect control socket
BSA_trace 71@ 12/31 19h:57m:00s:860ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
#### Please Input Your Test Command Index ####

回复

使用道具 举报

115

积分

0

威望

0

贡献

技术小白

积分
115
发表于 2020-7-8 15:55:50        只看该作者  沙发
开启bluetoothd,可以看到设备,连接显示连接失败,求大佬指点

bluetoothd[426]: profiles/audio/avrcp.c:avrcp_target_probe() path /org/bluez/hci0/dev_22_22_E3_6F_1C_F6
bluetoothd[426]: src/service.c:btd_service_ref() 0x2acd8d70: ref=2
bluetoothd[426]: src/service.c:change_state() 0x2acd8d70: device 22:22:E3:6F:1C:F6 profile audio-avrcp-target state changed: unavailable -> disconnected (0)
bluetoothd[426]: profiles/audio/a2dp.c:a2dp_source_probe() path /org/bluez/hci0/dev_22_22_E3_6F_1C_F6
bluetoothd[426]: profiles/audio/source.c:source_init() /org/bluez/hci0/dev_22_22_E3_6F_1C_F6
bluetoothd[426]: src/service.c:btd_service_ref() 0x2acd38a0: ref=2
bluetoothd[426]: src/service.c:change_state() 0x2acd38a0: device 22:22:E3:6F:1C:F6 profile a2dp-source state changed: unavailable -> disconnected (0)
bluetoothd[426]: src/device.c:device_svc_resolved() /org/bluez/hci0/dev_22_22_E3_6F_1C_F6 err 0
bluetoothd[426]: src/adapter.c:dev_disconnected() Device 22:22:E3:6F:1C:F6 disconnected, reason 2
bluetoothd[426]: src/adapter.c:adapter_remove_connection()
bluetoothd[426]: plugins/policy.c:disconnect_cb() reason 2
bluetoothd[426]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 22:22:E3:6F:1C:F6 type 0 status 0xe
bluetoothd[426]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e
bluetoothd[426]: src/device.c:device_bonding_failed() status 14
bluetoothd[426]: src/adapter.c:resume_discovery()
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2020-7-18 21:54:19        只看该作者  板凳
本帖最后由 zyk 于 2020-7-18 22:59 编辑

top命令看一下是不是运行了brcm_patchram_plus1程序,如果有运行,kill掉它再使用deviceio
回复

使用道具 举报

115

积分

0

威望

0

贡献

技术小白

积分
115
发表于 2020-7-28 19:49:50        只看该作者  地板
zyk 发表于 2020-7-18 21:54
top命令看一下是不是运行了brcm_patchram_plus1程序,如果有运行,kill掉它再使用deviceio

没有这个,确定还是不行,主要用他官方镜像也是一样问题,不是硬件问题吧?
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2020-7-29 10:57:05        只看该作者  5#
本帖最后由 zyk 于 2020-7-29 11:00 编辑
whopawho 发表于 2020-7-28 19:49
没有这个,确定还是不行,主要用他官方镜像也是一样问题,不是硬件问题吧?

试一下重启一遍直接用deviceio,如果不行试一下下面的代码然后用bluetoothctl工具连接一下手机看行不行
  1. bt_load_broadcom_firmware
  2. usr/libexec/bluetooth/bluetoothd --compat -n  &
  3. sleep 1
  4. sdptool add A2SNK
  5. sleep 1
  6. hciconfig hci0 up
  7. sleep 1
  8. hciconfig hci0 piscan
  9. sleep 1
  10. hciconfig hci0 name 'bt-test'
  11. sleep 1
  12. hciconfig hci0 down
  13. sleep 1
  14. hciconfig hci0 up
  15. sleep 2
  16. bluealsa --profile=a2dp-sink &
  17. sleep 1
  18. bluealsa-aplay --profile-a2dp 00:00:00:00:00:00 &
  19. sleep 1
  20. hciconfig hci0 class 0x240404
复制代码
回复

使用道具 举报

115

积分

0

威望

0

贡献

技术小白

积分
115
发表于 2020-7-30 10:54:21        只看该作者  6#
zyk 发表于 2020-7-29 10:57
试一下重启一遍直接用deviceio,如果不行试一下下面的代码然后用bluetoothctl工具连接一下手机看行不行

谢谢大佬,用的ap6236,就是firefly官方的cc开发板,我试试
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2020-7-30 11:51:33        只看该作者  7#
本帖最后由 zyk 于 2020-7-30 11:53 编辑
whopawho 发表于 2020-7-30 10:54
谢谢大佬,用的ap6236,就是firefly官方的cc开发板,我试试

建议你先看一下buildroot是否配置了ap6236,我看你的蓝牙固件好像不对
C:\Users\zyk-windows\Desktop

ap6236firmware.png (10.25 KB, 下载次数: 1457)

ap6236firmware.png
回复

使用道具 举报

115

积分

0

威望

0

贡献

技术小白

积分
115
发表于 2020-7-30 13:32:27        只看该作者  8#
zyk 发表于 2020-7-30 11:51
建议你先看一下buildroot是否配置了ap6236,我看你的蓝牙固件好像不对

好的谢谢大佬
回复

使用道具 举报

115

积分

0

威望

0

贡献

技术小白

积分
115
发表于 2020-7-30 16:52:19        只看该作者  9#
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
BSA_trace 1@ 12/31 19h:00m:31s:836ms: BSA_MgtOpenInit
BSA_trace 2@ 12/31 19h:00m:31s:837ms: BSA_MgtOpen (/data/bsa/config/)
Created thread with thread_id=  a3f821c0
BSA_trace 3@ 12/31 19h:00m:31s:838ms: bsa_cl_mgt_init
BSA_trace 4@ 12/31 19h:00m:31s:839ms: UIPC_Init
BSA_trace 5@ 12/31 19h:00m:31s:839ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 7@ 12/31 19h:00m:31s:840ms: uipc_cl_control_open fails to connect control socket
BSA_trace 8@ 12/31 19h:00m:31s:840ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 9@ 12/31 19h:00m:32s:840ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 10@ 12/31 19h:00m:32s:840ms: bsa_cl_mgt_init
BSA_trace 11@ 12/31 19h:00m:32s:840ms: UIPC_Init
BSA_trace 12@ 12/31 19h:00m:32s:840ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 14@ 12/31 19h:00m:32s:841ms: uipc_cl_control_open fails to connect control socket
BSA_trace 15@ 12/31 19h:00m:32s:841ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
|----- bluetooth bsa server is open ------|
BSA_trace 16@ 12/31 19h:00m:33s:841ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 17@ 12/31 19h:00m:33s:842ms: bsa_cl_mgt_init
BSA_trace 18@ 12/31 19h:00m:33s:842ms: UIPC_Init
BSA_trace 19@ 12/31 19h:00m:33s:842ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 21@ 12/31 19h:00m:33s:842ms: uipc_cl_control_open fails to connect control socket
BSA_trace 22@ 12/31 19h:00m:33s:842ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 23@ 12/31 19h:00m:34s:843ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 24@ 12/31 19h:00m:34s:843ms: bsa_cl_mgt_init
BSA_trace 25@ 12/31 19h:00m:34s:843ms: UIPC_Init
BSA_trace 26@ 12/31 19h:00m:34s:843ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 28@ 12/31 19h:00m:34s:843ms: uipc_cl_control_open fails to connect control socket
BSA_trace 29@ 12/31 19h:00m:34s:843ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 30@ 12/31 19h:00m:35s:844ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 31@ 12/31 19h:00m:35s:844ms: bsa_cl_mgt_init
BSA_trace 32@ 12/31 19h:00m:35s:844ms: UIPC_Init
BSA_trace 33@ 12/31 19h:00m:35s:844ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 35@ 12/31 19h:00m:35s:845ms: uipc_cl_control_open fails to connect control socket
BSA_trace 36@ 12/31 19h:00m:35s:845ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 37@ 12/31 19h:00m:36s:845ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 38@ 12/31 19h:00m:36s:845ms: bsa_cl_mgt_init
BSA_trace 39@ 12/31 19h:00m:36s:845ms: UIPC_Init
BSA_trace 40@ 12/31 19h:00m:36s:845ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 42@ 12/31 19h:00m:36s:846ms: uipc_cl_control_open fails to connect control socket
BSA_trace 43@ 12/31 19h:00m:36s:846ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 44@ 12/31 19h:00m:37s:846ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 45@ 12/31 19h:00m:37s:846ms: bsa_cl_mgt_init
BSA_trace 46@ 12/31 19h:00m:37s:846ms: UIPC_Init
BSA_trace 47@ 12/31 19h:00m:37s:846ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 49@ 12/31 19h:00m:37s:847ms: uipc_cl_control_open fails to connect control socket
BSA_trace 50@ 12/31 19h:00m:37s:847ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 51@ 12/31 19h:00m:38s:847ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 52@ 12/31 19h:00m:38s:848ms: bsa_cl_mgt_init
BSA_trace 53@ 12/31 19h:00m:38s:848ms: UIPC_Init
BSA_trace 54@ 12/31 19h:00m:38s:848ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 56@ 12/31 19h:00m:38s:848ms: uipc_cl_control_open fails to connect control socket
BSA_trace 57@ 12/31 19h:00m:38s:848ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 58@ 12/31 19h:00m:39s:849ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 59@ 12/31 19h:00m:39s:849ms: bsa_cl_mgt_init
BSA_trace 60@ 12/31 19h:00m:39s:849ms: UIPC_Init
BSA_trace 61@ 12/31 19h:00m:39s:849ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 63@ 12/31 19h:00m:39s:849ms: uipc_cl_control_open fails to connect control socket
BSA_trace 64@ 12/31 19h:00m:39s:849ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)
BSA_trace 65@ 12/31 19h:00m:40s:850ms: BSA_MgtOpen (/data/bsa/config/)
BSA_trace 66@ 12/31 19h:00m:40s:850ms: bsa_cl_mgt_init
BSA_trace 67@ 12/31 19h:00m:40s:850ms: UIPC_Init
BSA_trace 68@ 12/31 19h:00m:40s:850ms: UIPC_Open ChId:3
BSA_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)
BSA_trace 70@ 12/31 19h:00m:40s:850ms: uipc_cl_control_open fails to connect control socket
BSA_trace 71@ 12/31 19h:00m:40s:850ms: BSA_MgtOpen UIPC_open fails (cannot connect to server)











ps结果如下
1 root      2400 S    init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW<  [kworker/0:0H]
    6 root         0 SW   [kworker/u8:0]
    7 root         0 SW   [rcu_preempt]
    8 root         0 SW   [rcu_sched]
    9 root         0 SW   [rcu_bh]
   10 root         0 SW   [migration/0]
   11 root         0 SW   [watchdog/0]
   12 root         0 SW   [watchdog/1]
   13 root         0 SW   [migration/1]
   14 root         0 SW   [ksoftirqd/1]
   15 root         0 SW   [kworker/1:0]
   16 root         0 SW<  [kworker/1:0H]
   17 root         0 SW   [watchdog/2]
   18 root         0 SW   [migration/2]
   19 root         0 SW   [ksoftirqd/2]
   20 root         0 SW   [kworker/2:0]
   21 root         0 SW<  [kworker/2:0H]
   22 root         0 SW   [watchdog/3]
   23 root         0 SW   [migration/3]
   24 root         0 SW   [ksoftirqd/3]
   25 root         0 SW   [kworker/3:0]
   26 root         0 SW<  [kworker/3:0H]
   27 root         0 SW   [kdevtmpfs]
   28 root         0 SW<  [perf]
   29 root         0 SW   [kconsole]
   30 root         0 SW   [khungtaskd]
   31 root         0 SW<  [writeback]
   32 root         0 SW<  [crypto]
   33 root         0 SW<  [bioset]
   34 root         0 SW<  [kblockd]
   35 root         0 SW<  [devfreq_wq]
   36 root         0 SW   [kworker/0:1]
   37 root         0 SW<  [cfg80211]
   38 root         0 SW   [cfinteractive]
   39 root         0 SW   [kworker/u8:1]
   65 root         0 SW   [kswapd0]
   66 root         0 SW<  [vmstat]
   67 root         0 SW   [fsnotify_mark]
   68 root         0 SW<  [SquashFS read w]
   89 root         0 SW   [irq/197-rockchi]
   90 root         0 SW   [irq/198-rockchi]
   91 root         0 SW   [irq/199-rockchi]
   92 root         0 SW   [irq/200-rockchi]
   93 root         0 SW   [kworker/2:1]
   94 root         0 SW   [hwrng]
   95 root         0 SW   [kworker/1:1]
   96 root         0 SW<  [bioset]
   97 root         0 SW<  [bioset]
   98 root         0 SW<  [bioset]
   99 root         0 SW<  [bioset]
  100 root         0 SW<  [bioset]
  101 root         0 SW<  [bioset]
  102 root         0 SW<  [bioset]
  103 root         0 SW<  [bioset]
  106 root         0 SW<  [dwc2]
  107 root         0 SW   [kworker/3:1]
  108 root         0 SW   [irq/14-rockchip]
  109 root         0 SW   [kworker/0:2]
  110 root         0 SW<  [ipv6_addrconf]
  111 root         0 SW<  [krfcommd]
  112 root         0 SW<  [bioset]
  113 root         0 SW   [mmcqd/1]
  114 root         0 SW<  [bioset]
  115 root         0 SW   [mmcqd/1boot0]
  116 root         0 SW<  [bioset]
  119 root         0 SW   [mmcqd/1boot1]
  120 root         0 SW<  [bioset]
  121 root         0 SW   [mmcqd/1rpmb]
  122 root         0 SW<  [deferwq]
  123 root         0 SW   [kworker/u8:2]
  124 root         0 SW   [kworker/u8:3]
  126 root         0 SW   [kworker/1:2]
  127 root         0 SW   [kworker/3:2]
  128 root         0 SW   [kworker/2:2]
  129 root         0 SW<  [kworker/3:1H]
  131 root         0 SW<  [kworker/2:1H]
  134 root         0 SW<  [kworker/1:1H]
  135 root         0 SW<  [kworker/0:1H]
  136 root         0 SW   [kworker/1:3]
  145 root      2400 S    /sbin/syslogd -n
  148 root      2400 S    /sbin/klogd -n
  152 root         0 SW   [wl_escan_handle]
  153 root         0 SW   [dhd_watchdog_th]
  154 root         0 SW   [dhd_dpc]
  155 root         0 SW   [dhd_rxf]
  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<  [dhd_eventd]
  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   [kworker/2:3]
  444 root      2400 S    /bin/sh -
  446 root      2400 R    ps
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2020-7-30 19:19:13        只看该作者  10#
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执行
  1. make broadcom_bsa-dirclean && make broadcom_bsa-rebuild

  2. make deviceio-dirclean && make deviceio-rebuild

  3. ./build.sh
复制代码

将固件烧进开发板后测试

broadcom-config.png (4.95 KB, 下载次数: 1404)

broadcom-config.png
回复

使用道具 举报

返回列表
12
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表