F133跑bluez的时候,加载rtk_hciattach -n -s 115200 ttyS1 rtk_h5 & 报错。
-
F133跑bluez的时候,加载rtk_hciattach -n -s 115200 ttyS1 rtk_h5 &报错
运行了以下操作,rtl8723ds驱动已经运行,hci_uart.ko也运行了。
/etc/init.d/dbus start echo 0 > /sys/class/rfkill/rfkill0/state echo 1 > /sys/class/rfkill/rfkill0/state
加载rtk_hciattach -n -s 115200 ttyS1 rtk_h5 &的时候出现了协议不支持。但是内核已经开启了h5
root@TinaLinux:/# Realtek Bluetooth :Realtek Bluetooth init uart with init speed:115200, type:HCI UART H5 Realtek Bluetooth :Realtek hciattach version 3.1 Realtek Bluetooth :Use epoll Realtek Bluetooth :[SYNC] Get SYNC Resp Pkt Realtek Bluetooth :[CONFIG] Get SYNC pkt Realtek Bluetooth :[CONFIG] Get CONFG pkt Realtek Bluetooth :[CONFIG] Get CONFG resp pkt Realtek Bluetooth :dic is 1, cfg field 0x14 Realtek Bluetooth :H5 init finished Realtek Bluetooth :Realtek H5 IC Realtek Bluetooth :Receive cmd complete event of command: 1001 Realtek Bluetooth :HCI Version 0x08 Realtek Bluetooth :HCI Revision 0x000d Realtek Bluetooth :LMP Subversion 0x8723 Realtek Bluetooth :Receive cmd complete event of command: fc6d Realtek Bluetooth :Read ROM version 02 Realtek Bluetooth :LMP Subversion 0x8723 Realtek Bluetooth :EVersion 2 Realtek Bluetooth :IC: RTL8723DS Realtek Bluetooth :Firmware/config: rtl8723d_fw, rtl8723d_config Realtek Bluetooth :Couldnt open extra config /opt/rtk_btconfig.txt, No such file or directory Realtek Bluetooth :Couldnt access customer BT MAC file /opt/bdaddr Realtek Bluetooth :Origin cfg len 48 Realtek Bluetooth :55 ab 23 87 2a 00 0c 00 10 02 80 92 04 50 c5 ea Realtek Bluetooth :19 e1 1b fd af 5f 01 a4 0b d9 00 01 0f e4 00 01 Realtek Bluetooth :08 f3 00 01 0c f4 00 08 01 00 01 90 00 00 09 04 Realtek Bluetooth :Config baudrate: 04928002 Realtek Bluetooth :uart flow ctrl: 1 Realtek Bluetooth :Vendor baud from Config file: 04928002 Realtek Bluetooth :New cfg len 48 Realtek Bluetooth :55 ab 23 87 2a 00 0c 00 10 02 80 92 04 50 c5 ea Realtek Bluetooth :19 e1 1b fd af 5f 01 a4 0b d9 00 01 0f e4 00 01 Realtek Bluetooth :08 f3 00 01 0c f4 00 08 01 00 01 90 00 00 09 04 Realtek Bluetooth :Load FW /lib/firmware/rtlbt/rtl8723d_fw OK, size 52096 Realtek Bluetooth :rtb_get_fw_project_id: opcode 0, len 1, data 9 Realtek Bluetooth :FW version 0xaa7add92, Patch num 3 Realtek Bluetooth :Chip id 0x0001 Realtek Bluetooth :Chip id 0x0002 Realtek Bluetooth :Chip id 0x0003 Realtek Bluetooth :Patch length 0x81b8 Realtek Bluetooth :Start offset 0x00004980 Realtek Bluetooth :Svn version: 20318 Realtek Bluetooth :Coexistence: BTCOEX_20180125-2323 Realtek Bluetooth :FW exists, Config file exists Realtek Bluetooth :Total len 33256 for fwc Realtek Bluetooth :baudrate in change speed command: 0x02 0x80 0x92 0x04 Realtek Bluetooth :Receive cmd complete event of command: fc17 Realtek Bluetooth :Received cc of vendor change baud Realtek Bluetooth :Final speed 1500000 Realtek Bluetooth :end_idx: 131, lp_len: 244, additional pkts: 0 Realtek Bluetooth :Start downloading... Realtek Bluetooth :Send last pkt Realtek Bluetooth :Enable host hw flow control Realtek Bluetooth :h5_hci_reset: Issue hci reset cmd Realtek Bluetooth :Receive cmd complete event of command: 0c03 Realtek Bluetooth :Received cc of hci reset cmd Realtek Bluetooth :Init Process finished Realtek Bluetooth ERROR: Can't set device 93, Protocol not supported Realtek Bluetooth ERROR: Can't initialize device 93, Protocol not supported
各位大佬指教一下!!!
-
我记得RTL8723DS CTS/RTS其中一条腿要下拉到地,这个有没有做呢?
-
@whycan 我测了的时候已经是拉低了(不上电默认和GND导通的),但是我还是把100k的电阻接上去做下拉了。还是出现这个问题。
-
@shz18877605430
看下蓝牙使能脚有没有拉高? -
@whycan 这个蓝牙使能管脚会一直高吗?还是瞬间拉高然后回到低电平?
-
@whycan 测过了,是拉高的。高电平
-
-
一定要勾选H5协议:
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号