主控平台是stm157 linux5.4, 目前加载系统自带的hci_uart.ko 加载固件的时候超时 wifi功能正常,但是有蓝牙设备出来。模组是cyw43438的模组。帮忙看下 .
谢谢。
[root@100:~]# cp -r bcm43438a1.hcd /lib/firmware/brcm/BCM43430A1.hcd
[root@100:~]# ls -l /lib/firmware/brcm/BCM43430A1.hcd
-rw------- 1 root root 33664 Feb 7 15:54 /lib/firmware/brcm/BCM43430A1.hcd
[root@100:~]#
[root@100:~]#
[root@100:~]# echo 0 > /sys/class/rfkill/rfkill1/state
[root@100:~]#
[root@100:~]#
[root@100:~]# echo 1 > /sys/class/rfkill/rfkill1/state
[root@100:~]#
[root@100:~]#
[root@100:~]#
[root@100:~]# insmod hci_uart.ko
[ 242.383223] Bluetooth: HCI UART driver ver 2.3
[ 242.386241] Bluetooth: HCI UART protocol H4 registered
[ 242.392495] Bluetooth: HCI UART protocol BCSP registered
[ 242.396903] Bluetooth: HCI UART protocol LL registered
[ 242.402009] Bluetooth: HCI UART protocol ATH3K registered
[ 242.407350] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 242.419884] Bluetooth: HCI UART protocol Intel registered
[ 242.431427] hci_uart_bcm serial0-0: serial0-0 supply vbat not found, using dummy regulator
[ 242.434557] Bluetooth: HCI UART protocol Broadcom registered
[ 242.448011] Bluetooth: HCI UART protocol QCA registered
[ 242.451981] Bluetooth: HCI UART protocol AG6XX registered
[ 242.459467] hci_uart_bcm serial0-0: serial0-0 supply vddio not found, using dummy regulator
[ 242.461506] Bluetooth: HCI UART protocol Marvell registered
[root@100ask:~]# [ 242.859958] Bluetooth: hci0: BCM: chip id 94
[ 242.863263] Bluetooth: hci0: BCM: features 0x2e
[ 242.868568] Bluetooth: hci0: BCM43430A1
[ 242.871312] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[ 245.129207] Bluetooth: hci0: command 0x1a1a tx
timeout
[ 253.289132] Bluetooth: hci0: BCM: Patch command 1a1a failed (-110)
[ 253.293861] Bluetooth: hci0: BCM: Patch failed (-110)
[ 255.369133] Bluetooth: hci0: command 0x0c03 tx timeout
[ 263.529199] Bluetooth: hci0: BCM: Reset failed (-110)
[root@100ask:~]#
[root@100ask:~]# hciconfig
hci0: Type: Primary Bus: UART
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:1411 acl:0 sco:0 events:163 errors:0
TX bytes:33820 acl:0 sco:0 commands:165 errors:0