您尚未登录。

楼主 # 2024-04-19 13:50:06

8===D
会员
注册时间: 2024-01-26
已发帖子: 34
积分: 36

移植RTL8733BU蓝牙模组

全志官方也没有蓝牙移植相关的文档 我这边网上找的帖子按照帖子上的方法移植的

现在是这种情况 看打印像是硬件初始化成功且能识别到设备了 但是好像扫描连接那边有点问题 这种有没有大佬有经验啊 帮忙分析下
下面是log

 lsmod
8733bu               2465792  0
fuse                   90112  0
ip_tables              24576  4 iptable_raw
ipt_REJECT             16384  0
iptable_filter         16384  0
iptable_mangle         16384  0
iptable_nat            16384  0
iptable_raw            16384  0
rtk_btusb              61440  0
xt_CT                  16384  0
xt_LOG                 16384  0
xt_REDIRECT            16384  0
xt_TCPMSS              16384  0
xt_comment             16384  0
xt_conntrack           16384  0
xt_limit               16384  0
xt_mac                 16384  0
xt_mark                16384  0
xt_multiport           16384  0
xt_state               16384  0
xt_time                16384  0
root@TinaLinux:/# hciconfig -a
hci0:   Type: Primary  Bus: USB
        BD Address: A8:43:A4:43:4C:CD  ACL MTU: 1021:6  SCO MTU: 255:12
        DOWN
        RX bytes:641 acl:0 sco:0 events:37 errors:0
        TX bytes:393 acl:0 sco:0 commands:37 errors:0
        Features: 0xff 0xff 0xff 0xfe 0xdb 0xfd 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
root@TinaLinux:/# bluetoothd -d -n &
root@TinaLinux:/# bluetoothd[2222]: Bluetooth daemon 5.54
bluetoothd[2222]: src/main.c:parse_config() parsing /etc/bluetooth/main.conf
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'DiscoverableTimeout' in group 'General'
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'AlwaysPairable' in group 'General'
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'PairableTimeout' in group 'General'
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'Privacy' in group 'General'
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'JustWorksRepairing' in group 'General'
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'Name' in group 'General'
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'Class' in group 'General'
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'DeviceID' in group 'General'
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'ReverseServiceDiscovery' in group 'General'
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'Cache' in group 'GATT'
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'KeySize' in group 'GATT'
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'ExchangeMTU' in group 'GATT'
bluetoothd[2222]: src/main.c:parse_config() Key file does not have key 'Channels' in group 'GATT'
bluetoothd[2222]: src/adapter.c:adapter_init() sending read version command
bluetoothd[2222]: Starting SDP server
bluetoothd[2222]: src/sdpd-service.c:register_device_id() Adding device id record for 0002:1d6b:0246:0536
bluetoothd[2222]: src/plugin.c:plugin_init() Loading builtin plugins
bluetoothd[2222]: src/plugin.c:add_plugin() Loading hostname plugin
bluetoothd[2222]: src/plugin.c:add_plugin() Loading wiimote plugin
bluetoothd[2222]: src/plugin.c:add_plugin() Loading autopair plugin
bluetoothd[2222]: src/plugin.c:add_plugin() Loading policy plugin
bluetoothd[2222]: src/plugin.c:add_plugin() Loading a2dp plugin
bluetoothd[2222]: src/plugin.c:add_plugin() Loading avrcp plugin
bluetoothd[2222]: src/plugin.c:add_plugin() Loading network plugin
bluetoothd[2222]: src/plugin.c:add_plugin() Loading input plugin
bluetoothd[2222]: src/plugin.c:add_plugin() Loading hog plugin
bluetoothd[2222]: src/plugin.c:add_plugin() Loading gap plugin
bluetoothd[2222]: src/plugin.c:add_plugin() Loading scanparam plugin
bluetoothd[2222]: src/plugin.c:add_plugin() Loading deviceinfo plugin
bluetoothd[2222]: src/plugin.c:add_plugin() Loading battery plugin
bluetoothd[2222]: src/plugin.c:plugin_init() Loading plugins /usr/lib/bluetooth/plugins
bluetoothd[2222]: Failed to init battery plugin
bluetoothd[2222]: profiles/input/suspend-none.c:suspend_init()
bluetoothd[2222]: profiles/network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key 'DisableSecurity' in group 'General'
bluetoothd[2222]: profiles/network/manager.c:read_config() Config options: Security=true
bluetoothd[2222]: kernel lacks bnep-protocol support
bluetoothd[2222]: System does not support network plugin
bluetoothd[2222]: src/main.c:main() Entering main loop
bluetoothd[2222]: src/rfkill.c:rfkill_event() RFKILL event idx 0 type 2 op 0 soft 1 hard 0
bluetoothd[2222]: Bluetooth management interface 1.14 initialized
bluetoothd[2222]: src/adapter.c:read_version_complete() sending read supported commands command
bluetoothd[2222]: src/adapter.c:read_version_complete() sending read index list command
bluetoothd[2222]: src/rfkill.c:rfkill_event() RFKILL event idx 1 type 2 op 0 soft 0 hard 0
bluetoothd[2222]: src/rfkill.c:rfkill_event() RFKILL event idx 2 type 1 op 0 soft 0 hard 0
bluetoothd[2222]: src/adapter.c:read_commands_complete() Number of commands: 65
bluetoothd[2222]: src/adapter.c:read_commands_complete() Number of events: 35
bluetoothd[2222]: src/adapter.c:read_commands_complete() enabling kernel-side connection control
bluetoothd[2222]: src/adapter.c:read_index_list_complete() Number of controllers: 1
bluetoothd[2222]: src/adapter.c:read_index_list_complete() Found index 0
bluetoothd[2222]: src/adapter.c:index_added() index 0
bluetoothd[2222]: src/adapter.c:btd_adapter_new() System name: BlueZ 5.54
bluetoothd[2222]: src/adapter.c:btd_adapter_new() Major class: 0
bluetoothd[2222]: src/adapter.c:btd_adapter_new() Minor class: 0
bluetoothd[2222]: src/adapter.c:btd_adapter_new() Modalias: usb:v1D6Bp0246d0536
bluetoothd[2222]: src/adapter.c:btd_adapter_new() Discoverable timeout: 180 seconds
bluetoothd[2222]: src/adapter.c:btd_adapter_new() Pairable timeout: 0 seconds
bluetoothd[2222]: src/adapter.c:index_added() sending read info command for index 0
bluetoothd[2222]: src/adapter.c:read_info_complete() index 0 status 0x00
bluetoothd[2222]: src/adapter.c:clear_uuids() sending clear uuids command for index 0
bluetoothd[2222]: src/adapter.c:clear_devices() sending clear devices command for index 0
bluetoothd[2222]: src/adapter.c:set_mode() sending set mode command for index 0
bluetoothd[2222]: src/adapter.c:set_mode() sending set mode command for index 0
bluetoothd[2222]: src/adapter.c:set_mode() sending set mode command for index 0
bluetoothd[2222]: src/adapter.c:set_privacy() sending set privacy command for index 0
bluetoothd[2222]: src/adapter.c:set_privacy() setting privacy mode 0x00 for index 0
bluetoothd[2222]: src/advertising.c:btd_adv_manager_new() LE Advertising Manager created for adapter: /org/bluez/hci0
bluetoothd[2222]: profiles/audio/a2dp.c:media_server_probe() path /org/bluez/hci0
bluetoothd[2222]: plugins/hostname.c:hostname_probe()
bluetoothd[2222]: profiles/audio/avrcp.c:avrcp_controller_server_probe() path /org/bluez/hci0
bluetoothd[2222]: src/adapter.c:adapter_service_add() /org/bluez/hci0
bluetoothd[2222]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10001
bluetoothd[2222]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000017-0000-1000-8000-00805f9
bluetoothd[2222]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2222]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2222]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110e-0000-1000-8000-00805f9
bluetoothd[2222]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110f-0000-1000-8000-00805f9
bluetoothd[2222]: src/adapter.c:adapter_service_insert() /org/bluez/hci0
bluetoothd[2222]: src/adapter.c:add_uuid() sending add uuid command for index 0
bluetoothd[2222]: profiles/audio/avrcp.c:avrcp_target_server_probe() path /org/bluez/hci0
bluetoothd[2222]: src/adapter.c:adapter_service_add() /org/bluez/hci0
bluetoothd[2222]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10002
bluetoothd[2222]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000017-0000-1000-8000-00805f9
bluetoothd[2222]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2222]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2222]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110c-0000-1000-8000-00805f9
bluetoothd[2222]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110e-0000-1000-8000-00805f9
bluetoothd[2222]: src/adapter.c:adapter_service_insert() /org/bluez/hci0
bluetoothd[2222]: src/adapter.c:add_uuid() sending add uuid command for index 0
bluetoothd[2222]: profiles/audio/a2dp.c:a2dp_sink_server_probe() path /org/bluez/hci0
bluetoothd[2222]: profiles/audio/a2dp.c:a2dp_source_server_probe() path /org/bluez/hci0
bluetoothd[2222]: src/adapter.c:btd_adapter_unblock_address() hci0 00:00:00:00:00:00
bluetoothd[2222]: src/adapter.c:load_link_keys() hci0 keys 0 debug_keys 0
bluetoothd[2222]: src/adapter.c:load_ltks() hci0 keys 0
bluetoothd[2222]: src/adapter.c:load_irks() hci0 irks 0
bluetoothd[2222]: src/adapter.c:load_conn_params() hci0 conn params 0
bluetoothd[2222]: src/adapter.c:adapter_service_insert() /org/bluez/hci0
bluetoothd[2222]: src/adapter.c:add_uuid() sending add uuid command for index 0
bluetoothd[2222]: src/adapter.c:set_did() hci0 source 2 vendor 1d6b product 246 version 536
bluetoothd[2222]: src/adapter.c:adapter_register() Adapter /org/bluez/hci0 registered
bluetoothd[2222]: src/adapter.c:set_dev_class() sending set device class command for index 0
bluetoothd[2222]: src/adapter.c:set_name() sending set local name command for index 0
bluetoothd[2222]: src/adapter.c:new_settings_callback() Settings: 0x000000c0
bluetoothd[2222]: src/adapter.c:settings_changed() Changed settings: 0x00000040
bluetoothd[2222]: src/adapter.c:settings_changed() Pending settings: 0x00000000
bluetoothd[2222]: src/adapter.c:new_settings_callback() Settings: 0x000002c0
bluetoothd[2222]: src/adapter.c:settings_changed() Changed settings: 0x00000200
bluetoothd[2222]: src/adapter.c:settings_changed() Pending settings: 0x00000000
bluetoothd[2222]: src/adapter.c:new_settings_callback() Settings: 0x00000ac0
bluetoothd[2222]: src/adapter.c:settings_changed() Changed settings: 0x00000800
bluetoothd[2222]: src/adapter.c:settings_changed() Pending settings: 0x00000000
bluetoothd[2222]: src/adapter.c:set_privacy_complete() Successfuly set privacy for index 0
bluetoothd[2222]: src/adapter.c:load_link_keys_complete() link keys loaded for hci0
bluetoothd[2222]: src/adapter.c:load_ltks_complete() LTKs loaded for hci0
bluetoothd[2222]: src/adapter.c:load_irks_complete() IRKs loaded for hci0
bluetoothd[2222]: src/adapter.c:load_conn_params_complete() Connection Parameters loaded for hci0
bluetoothd[2222]: src/adapter.c:local_name_changed_callback() Name: aw-bt-test-4C-CD
bluetoothd[2222]: src/adapter.c:local_name_changed_callback() Short name:
bluetoothd[2222]: src/adapter.c:local_name_changed_callback() Current alias: aw-bt-test-4C-CD
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# blue
bluealsa         bluemoon         bluetoothctl
bluealsa-aplay   bluetooth-meshd  bluetoothd
root@TinaLinux:/# blue
bluealsa         bluemoon         bluetoothctl
bluealsa-aplay   bluetooth-meshd  bluetoothd
root@TinaLinux:/# bluetoothctl
[bluetooth]# bluetoothd[2222]: src/agent.c:add_default_agent() Default agent set to :1.1 /org/bluez/agent
bluetoothd[2222]: src/adapter.c:set_mode() sending set mode command for index 0
bluetoothd[2222]: src/agent.c:agent_ref() 0xb6e88f30: ref=1
bluetoothd[2222]: src/agent.c:register_agent() agent :1.1
bluetoothd[2222]: src/adapter.c:new_settings_callback() Settings: 0x00000ad0
bluetoothd[2222]: src/adapter.c:settings_changed() Changed settings: 0x00000010
bluetoothd[2222]: src/adapter.c:settings_changed() Pending settings: 0x00000000
Agent registered
[CHG] Controller A8:43:A4:43:4C:CD Pairable: yes
[bluetooth]# show
Controller A8:43:A4:43:4C:CD (public)
        Name: BlueZ 5.54
        Alias: aw-bt-test-4C-CD
        Class: 0x00000000
        Powered: no
        Discoverable: no
        DiscoverableTimeout: 0x000000b4
        Pairable: yes
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d0536
        Discovering: no
Advertising Features:
        ActiveInstances: 0x00
        SupportedInstances: 0x05
        SupportedIncludes: appearance
        SupportedIncludes: local-name
[bluetooth]# power on
[bluetooth]# bluetoothd[2222]: src/adapter.c:property_set_mode() sending Set Powered command for index 0
bluetoothd[2222]: src/adapter.c:property_set_mode_complete() Success (0x00)
bluetoothd[2222]: src/adapter.c:new_settings_callback() Settings: 0x00000ad1
bluetoothd[2222]: src/adapter.c:settings_changed() Changed settings: 0x00000001
bluetoothd[2222]: src/adapter.c:settings_changed() Pending settings: 0x00000000
bluetoothd[2222]: src/adapter.c:adapter_start() adapter /org/bluez/hci0 has been enabled
bluetoothd[2222]: src/adapter.c:trigger_passive_scanning()
Changing power on succeeded
[CHG] Controller A8:43:A4:43:4C:CD Powered: yes
[bluetooth]# scan on
[bluetooth]# bluetoothd[2222]: src/adapter.c:start_discovery() sender :1.1
bluetoothd[2222]: src/adapter.c:update_discovery_filter()
bluetoothd[2222]: src/adapter.c:discovery_filter_to_mgmt_cp()
bluetoothd[2222]: src/adapter.c:trigger_start_discovery()
bluetoothd[2222]: src/adapter.c:cancel_passive_scanning()
bluetoothd[2222]: src/adapter.c:start_discovery_timeout()
bluetoothd[2222]: src/adapter.c:start_discovery_timeout() adapter->current_discovery_filter == 0
bluetoothd[2222]: src/adapter.c:start_discovery_complete() status 0x00
bluetoothd[2222]: src/adapter.c:discovering_callback() hci0 type 7 discovering 1 method 0
Discovery started
[CHG] Controller A8:43:A4:43:4C:CD Discovering: yes
[bluetooth]# bluetoothd[2222]: src/adapter.c:discovering_callback() hci0 type 7 discovering 0 method 0
bluetoothd[2222]: src/adapter.c:trigger_start_discovery()
bluetoothd[2222]: src/adapter.c:cancel_passive_scanning()
bluetoothd[2222]: src/adapter.c:start_discovery_timeout()
bluetoothd[2222]: src/adapter.c:start_discovery_timeout() adapter->current_discovery_filter == 0
bluetoothd[2222]: src/adapter.c:start_discovery_complete() status 0x00
bluetoothd[2222]: src/adapter.c:discovering_callback() hci0 type 7 discovering 1 method 0
[bluetooth]# show
Controller A8:43:A4:43:4C:CD (public)
        Name: BlueZ 5.54
        Alias: aw-bt-test-4C-CD
        Class: 0x00000000
        Powered: yes
        Discoverable: no
        DiscoverableTimeout: 0x000000b4
        Pairable: yes
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d0536
        Discovering: yes
Advertising Features:
        ActiveInstances: 0x00
        SupportedInstances: 0x05
        SupportedIncludes: appearance
        SupportedIncludes: local-name
[bluetooth]# bluetoothd[2222]: src/adapter.c:discovering_callback() hci0 type 7 discovering 0 method 0
bluetoothd[2222]: src/adapter.c:trigger_start_discovery()
bluetoothd[2222]: src/adapter.c:cancel_passive_scanning()
bluetoothd[2222]: src/adapter.c:start_discovery_timeout()
bluetoothd[2222]: src/adapter.c:start_discovery_timeout() adapter->current_discovery_filter == 0
bluetoothd[2222]: src/adapter.c:start_discovery_complete() status 0x00
bluetoothd[2222]: src/adapter.c:discovering_callback() hci0 type 7 discovering 1 method 0
[bluetooth]# bluetoothd[2222]: src/adapter.c:discovering_callback() hci0 type 7 discovering 0 method 0
bluetoothd[2222]: src/adapter.c:trigger_start_discovery()
bluetoothd[2222]: src/adapter.c:cancel_passive_scanning()

离线

#1 2024-04-19 15:39:38

memory
会员
注册时间: 2021-08-11
已发帖子: 483
积分: 459

Re: 移植RTL8733BU蓝牙模组

具体是什么问题,看起来好像也没啥问题

离线

楼主 #2 2024-04-19 16:53:29

8===D
会员
注册时间: 2024-01-26
已发帖子: 34
积分: 36

Re: 移植RTL8733BU蓝牙模组

memory 说:

具体是什么问题,看起来好像也没啥问题

扫描连接有问题 扫不到设备

离线

#3 2024-04-19 17:13:40

ubuntu
会员
注册时间: 2020-03-30
已发帖子: 276
积分: 254

Re: 移植RTL8733BU蓝牙模组

这个是USB的模组吗?

离线

楼主 #4 2024-04-19 17:54:58

8===D
会员
注册时间: 2024-01-26
已发帖子: 34
积分: 36

Re: 移植RTL8733BU蓝牙模组

ubuntu 说:

这个是USB的模组吗?

是的 usb接口的

离线

楼主 #5 2024-04-19 17:56:31

8===D
会员
注册时间: 2024-01-26
已发帖子: 34
积分: 36

Re: 移植RTL8733BU蓝牙模组

ubuntu 说:

这个是USB的模组吗?

大佬有没有啥经验对策 指点一下

离线

楼主 #6 2024-04-20 11:29:09

8===D
会员
注册时间: 2024-01-26
已发帖子: 34
积分: 36

Re: 移植RTL8733BU蓝牙模组

有没有大佬 遇到过类似情况

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn