@airfru 板子是r16parrot的,tina3.0 - linux 3.4
A
Latest posts made by AIRFRU
-
Reply: Tina linux 3.4 移植rtl8733bs 蓝牙模组 hci0起不来,有大佬帮忙看看咋回事吗
-
Tina linux 3.4 移植rtl8733bs 蓝牙模组 hci0起不来,有大佬帮忙看看咋回事吗
这是lsmod 和 用了rtkattach 后再用hciconfig看的
root@TinaLinux:/# root@TinaLinux:/# lsmod 8733bs 1792265 0 bnep 7157 0 disp 973820 2 mali gt82x 6569 0 hci_uart 27963 1 hidp 11441 0 lcd 34701 0 mali 410930 0 xt_LOG 6190 0 xt_TCPMSS 1923 0 xt_comment 569 0 xt_limit 1202 0 xt_mac 697 0 xt_mark 762 0 xt_multiport 1322 0 xt_time 1605 0 root@TinaLinux:/# hciconfig [ 98.120552] CPU1: Booted secondary processor hci0: Type: Primary Bus: UART BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0 DOWN RX bytes:0 acl:0 sco:0 events:0 errors:0 TX bytes:0 acl:0 sco:0 commands:0 errors:0
这是关键报错信息
Realtek Bluet[ 68.091828] Bluetooth: hci0 sending frame failed (-16) ooth :Device setup complete [ 68.705760] CPU1: shutdown [ 68.709738] [hotplug]: cpu(0) try to kill cpu(1) [ 68.719963] [hotplug]: cpu1 is killed! . [ 70.100422] Bluetooth: hci0 command 0xfc1b tx timeout [ 70.107174] Bluetooth: hci0 sending frame failed (-16) [ 72.110242] Bluetooth: hci0 command 0x1003 tx timeout [ 72.116945] Bluetooth: hci0 sending frame failed (-16) [ 74.120361] Bluetooth: hci0 command 0x1001 tx timeout [ 74.127096] Bluetooth: hci0 sending frame failed (-16) [ 76.130243] Bluetooth: hci0 command 0x1009 tx timeout [ 78.090279] Bluetooth: __hci_uart_flush: hdev d71a5000 tty d6f6b000 [ 78.099245] Bluetooth: hci_uart_close: hdev d71a5000
这是全部日志
root@TinaLinux:/# lsmod 8733bs 1792265 0 bnep 7157 0 disp 973820 2 mali gt82x 6569 0 hci_uart 27963 0 hidp [ 20.460472] CPU1: Booted secondary processor 11441 0 lcd 34701 0 mali 410930 0 xt_LOG 6190 0 xt_TCPMSS 1923 0 xt_comment 569 0 xt_limit 1202 0 xt_mac 697 0 xt_mark 762 0 xt_multiport 1322 0 xt_time 1605 0 root@TinaLinux:/# [ 21.985806] CPU1: shutdown [ 21.989782] [hotplug]: cpu(0) try to kill cpu(1) [ 22.000015] [hotplug]: cpu1 is killed! . root@TinaLinux:/# echo 0 > /sys/class/rfkill/rfkill0/state; [ 44.745643] [rfkill]: rfkill set power 0 root@TinaLinux:/# echo 1 > /sys/class/rfkill/rfkill0/state; [ 56.557328] [rfkill]: rfkill set power 1 root@TinaLinux:/# rtk_hciattach -n -s 115200 /dev/ttyS1 rtk_h5 & root@TinaLinux:/# Realtek Bluetooth :Realtek Bluetooth init uart with init speed:115200, type:HCI UART H5 Realtek Bluetooth :Realtek hciattach ve[ 67.200501] CPU1: Booted secondary processor rsion 3.1.7fc4ab2.20231103-131406 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: fc61 Realtek Bluetooth :LMP Subversion 0xbeef Realtek Bluetooth :Receive cmd complete event of command: 1001 Realtek Bluetooth :HCI Version 0x0b Realtek Bluetooth :HCI Revision 0x000f 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: RTL8733BS, chip_type 0x76 Realtek Bluetooth :Firmware/config: rtl8733bs_fw, rtl8733bs_config Realtek Bluetooth :Couldnt open extra config /opt/rtk_btconfig.txt, No such file or directory Realtek Bluetooth :Couldnt open BT MAC file /opt/bdaddr, No such file or directory Realtek Bluetooth :Origin cfg len 33 Realtek Bluetooth :55 ab 23 87 1b 00 0c 00 10 02 80 92 04 50 c5 ea Realtek Bluetooth :19 e1 1b fd af 5f 01 a4 0b 8d 00 01 fa 8f 00 01 Realtek Bluetooth :bf Realtek Bluetooth :Config baudrate: 04928002 Realtek Bluetooth :uart flow ctrl: 1 Realtek Bluetooth :Vendor baud from Config file: 04928002 Realtek Bluetooth :New cfg len 33 Realtek Bluetooth :55 ab 23 87 1b 00 0c 00 10 02 80 92 04 50 c5 ea Realtek Bluetooth :19 e1 1b fd af 5f 01 a4 0b 8d 00 01 fa 8f 00 01 Realtek Bluetooth :bf Realtek Bluetooth :Load FW /lib/firmware/rtlbt/rtl8733bs_fw OK, size 55580 Realtek Bluetooth :rtb_get_fw_project_id: opcode 0, len 1, data 19 Realtek Bluetooth :FW version 0xdcc76fec, Patch num 2 Realtek Bluetooth :Chip id 0x0001 Realtek Bluetooth :Chip id 0x0003 Realtek Bluetooth :Patch length 0xa815 Realtek Bluetooth :Start offset 0x000030c0 Realtek Bluetooth :Svn version: 1756454059 Realtek Bluetooth :Coexistence: BTCOEX_20230616-0e0e Realtek Bluetooth :FW exists, Config file exists Realtek Bluetooth :Total len 43062 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: 170, lp_len: 222, 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 c[ 68.055268] Bluetooth: h5_open omplete event of command: 0c03 [ 68.062160] Bluetooth: hci_uart_register_dev Realtek Bluetooth :Received cc of hci reset cmd Realtek Bluetooth :Init Process finished [ 68.075305] rtk_btcoex: Open BTCOEX Realtek Bluetooth :Realtek Bluet[ 68.081311] rtk_btcoex: rtk_vendor_cmd_to_fw: opcode 0xfc1b ooth post process Realtek Bluet[ 68.091828] Bluetooth: hci0 sending frame failed (-16) ooth :Device setup complete [ 68.705760] CPU1: shutdown [ 68.709738] [hotplug]: cpu(0) try to kill cpu(1) [ 68.719963] [hotplug]: cpu1 is killed! . [ 70.100422] Bluetooth: hci0 command 0xfc1b tx timeout [ 70.107174] Bluetooth: hci0 sending frame failed (-16) [ 72.110242] Bluetooth: hci0 command 0x1003 tx timeout [ 72.116945] Bluetooth: hci0 sending frame failed (-16) [ 74.120361] Bluetooth: hci0 command 0x1001 tx timeout [ 74.127096] Bluetooth: hci0 sending frame failed (-16) [ 76.130243] Bluetooth: hci0 command 0x1009 tx timeout [ 78.090279] Bluetooth: __hci_uart_flush: hdev d71a5000 tty d6f6b000 [ 78.099245] Bluetooth: hci_uart_close: hdev d71a5000