Jump to content

swordow

Members
  • Posts

    8
  • Joined

  • Last visited

  1. @koftikes As iamdrp said, remove the patch file:
  2. @iamdrq i remove the patch and bt works, thanks! wzkiro@rockpi4bp:~$ uname -a Linux rockpi4bp 5.15.85-rockchip64 #trunk SMP PREEMPT Thu Dec 22 03:00:28 PST 2022 aarch64 GNU/Linux wzkiro@rockpi4bp:~$ sudo dmesg | grep -E "Blue|brcm" [ 8.468214] Bluetooth: Core ver 2.22 [ 8.469180] Bluetooth: HCI device and connection manager initialized [ 8.469193] Bluetooth: HCI socket layer initialized [ 8.469198] Bluetooth: L2CAP socket layer initialized [ 8.469221] Bluetooth: SCO socket layer initialized [ 8.732341] Bluetooth: HCI UART driver ver 2.3 [ 8.732356] Bluetooth: HCI UART protocol H4 registered [ 8.732359] Bluetooth: HCI UART protocol BCSP registered [ 8.732419] Bluetooth: HCI UART protocol LL registered [ 8.732423] Bluetooth: HCI UART protocol ATH3K registered [ 8.732448] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 8.732700] Bluetooth: HCI UART protocol Intel registered [ 8.732820] Bluetooth: HCI UART protocol Broadcom registered [ 8.732863] Bluetooth: HCI UART protocol QCA registered [ 8.732866] Bluetooth: HCI UART protocol AG6XX registered [ 8.735141] Bluetooth: HCI UART protocol Marvell registered [ 8.819001] brcmfmac: F1 signature read @0x18000000=0x15294345 [ 8.822932] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 8.828068] usbcore: registered new interface driver brcmfmac [ 8.991602] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 9.000345] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3 [ 9.001146] systemd[1]: Reached target Bluetooth. [ 9.095718] Bluetooth: hci0: BCM: chip id 130 [ 9.096138] Bluetooth: hci0: BCM: features 0x0f [ 9.098290] Bluetooth: hci0: BCM4345C5 [ 9.098312] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0000 [ 9.115258] Bluetooth: hci0: BCM4345C5 'brcm/BCM4345C5.hcd' Patch [ 9.946082] Bluetooth: hci0: BCM4345C5 Ampak_CL1 UART 37.4 MHz BT 5.0 [Version: Version: 0039.0089] [ 9.946115] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0089
  3. @iamdrq Oh! Thanks. How do you find that? Maybe i can update to 5.15.y, ahhh
  4. em.. i tested 5.15.63: root@rockpi-4b:~# uname -r 5.15.63-rockchip64 root@rockpi-4b:~# dmesg | grep -E "Blue|brcm" [ 6.081261] Bluetooth: Core ver 2.22 [ 6.082275] Bluetooth: HCI device and connection manager initialized [ 6.082318] Bluetooth: HCI socket layer initialized [ 6.082332] Bluetooth: L2CAP socket layer initialized [ 6.082400] Bluetooth: SCO socket layer initialized [ 6.155682] brcmfmac: F1 signature read @0x18000000=0x15294345 [ 6.181312] Bluetooth: HCI UART driver ver 2.3 [ 6.181335] Bluetooth: HCI UART protocol H4 registered [ 6.181339] Bluetooth: HCI UART protocol BCSP registered [ 6.181420] Bluetooth: HCI UART protocol LL registered [ 6.181425] Bluetooth: HCI UART protocol ATH3K registered [ 6.181475] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 6.181818] Bluetooth: HCI UART protocol Intel registered [ 6.182021] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 6.182080] Bluetooth: HCI UART protocol Broadcom registered [ 6.182140] Bluetooth: HCI UART protocol QCA registered [ 6.182145] Bluetooth: HCI UART protocol AG6XX registered [ 6.182195] Bluetooth: HCI UART protocol Marvell registered [ 6.182698] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.radxa,rockpi4b.bin failed with error -2 [ 6.188317] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.radxa,rockpi4b.txt failed with error -2 [ 6.211295] usbcore: registered new interface driver brcmfmac [ 6.315392] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 6.321302] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3 [ 6.571175] Bluetooth: hci0: BCM: chip id 130 [ 6.573449] Bluetooth: hci0: BCM: features 0x0f [ 6.573887] systemd[1]: Reached target Bluetooth. [ 6.596565] Bluetooth: hci0: BCM4345C5 [ 6.596593] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0000 [ 6.597625] Bluetooth: hci0: BCM4345C5 'brcm/BCM4345C5.hcd' Patch [ 11.760691] Bluetooth: hci0: BCM4345C5 Ampak_CL1 UART 37.4 MHz BT 5.0 [Version: Version: 0039.0089] [ 11.760709] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0089 root@rockpi-4b:~# With kernel 5.15.63, the bluetooth works, and as this following topic said, from 5.15.76, the bluetook may does not work... I built the armbian with kernel 5.15.74, the bluetooth works... root@rockpi-4bplus:~# uname -r 5.15.74-rockchip64 root@rockpi-4bplus:~# dmesg | grep -E "Blue|brcm" [ 8.107498] Bluetooth: Core ver 2.22 [ 8.107585] Bluetooth: HCI device and connection manager initialized [ 8.107597] Bluetooth: HCI socket layer initialized [ 8.107602] Bluetooth: L2CAP socket layer initialized [ 8.107614] Bluetooth: SCO socket layer initialized [ 8.225772] brcmfmac: F1 signature read @0x18000000=0x15294345 [ 8.230225] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 8.230903] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.radxa,rockpi4b-plus.bin failed with error -2 [ 8.235162] usbcore: registered new interface driver brcmfmac [ 8.235913] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.radxa,rockpi4b-plus.txt failed with error -2 [ 8.288469] Bluetooth: HCI UART driver ver 2.3 [ 8.288481] Bluetooth: HCI UART protocol H4 registered [ 8.288484] Bluetooth: HCI UART protocol BCSP registered [ 8.288533] Bluetooth: HCI UART protocol LL registered [ 8.288535] Bluetooth: HCI UART protocol ATH3K registered [ 8.288555] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 8.288731] Bluetooth: HCI UART protocol Intel registered [ 8.288817] Bluetooth: HCI UART protocol Broadcom registered [ 8.301058] Bluetooth: HCI UART protocol QCA registered [ 8.301070] Bluetooth: HCI UART protocol AG6XX registered [ 8.301114] Bluetooth: HCI UART protocol Marvell registered [ 8.344998] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 8.351696] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Jun 16 2017 12:38:26 version 7.45.96.2 (66c4e21@sh-git) (r) FWID 01-1813af84 [ 8.647379] systemd[1]: Reached target Bluetooth. [ 8.699723] Bluetooth: hci0: BCM: chip id 130 [ 8.700080] Bluetooth: hci0: BCM: features 0x0f [ 8.702178] Bluetooth: hci0: BCM4345C5 [ 8.702198] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0000 [ 8.703234] Bluetooth: hci0: BCM4345C5 'brcm/BCM4345C5.hcd' Patch [ 9.554374] Bluetooth: hci0: BCM4345C5 Ampak_CL1 UART 37.4 MHz BT 5.0 [Version: Version: 0039.0089] [ 9.554423] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0089 root@rockpi-4bplus:~# Test kernel 5.15.75, bluetooh failed to start. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/?id=v5.15.75&id2=v5.15.74&dt=2 from kernel 5.15.74 to 5.15.75, there are some bluetooh related patches: ... -rw-r--r-- drivers/bluetooth/btintel.c 17 -rw-r--r-- drivers/bluetooth/btusb.c 14 -rw-r--r-- drivers/bluetooth/hci_ldisc.c 7 -rw-r--r-- drivers/bluetooth/hci_serdev.c 10 ... -rw-r--r-- net/bluetooth/hci_core.c 34 -rw-r--r-- net/bluetooth/hci_sysfs.c 3 -rw-r--r-- net/bluetooth/l2cap_core.c 17 -rw-r--r-- net/bluetooth/rfcomm/sock.c 3 .... Maybe some of them break the bluetooth or maybe other uart related drivers(8250 etc) patches break it...
  5. @Константин Литвинов wzkiro@rockpi-4b:~$ uname -r 5.10.60-rockchip64 wzkiro@rockpi-4b:~$ sudo iwlist wlan0 freq wlan0 32 channels in total; available frequencies : Channel 01 : 2.412 GHz Channel 02 : 2.417 GHz Channel 03 : 2.422 GHz Channel 04 : 2.427 GHz Channel 05 : 2.432 GHz Channel 06 : 2.437 GHz Channel 07 : 2.442 GHz Channel 08 : 2.447 GHz Channel 09 : 2.452 GHz Channel 10 : 2.457 GHz Channel 11 : 2.462 GHz Channel 36 : 5.18 GHz Channel 40 : 5.2 GHz Channel 44 : 5.22 GHz Channel 48 : 5.24 GHz Channel 52 : 5.26 GHz Channel 56 : 5.28 GHz Channel 60 : 5.3 GHz Channel 64 : 5.32 GHz Channel 100 : 5.5 GHz Channel 104 : 5.52 GHz Channel 108 : 5.54 GHz Channel 112 : 5.56 GHz Channel 116 : 5.58 GHz Channel 120 : 5.6 GHz Channel 124 : 5.62 GHz Channel 128 : 5.64 GHz Channel 132 : 5.66 GHz Channel 136 : 5.68 GHz Channel 140 : 5.7 GHz Channel 144 : 5.72 GHz Channel 149 : 5.745 GHz wzkiro@rockpi-4b:~$
  6. @Igor The firmware from https://github.com/armbian/firmware (which is built at 2017) does not work. wzkiro@rockpi-4bplus:~$ dmesg | grep -E "Blue|brcm" [ 7.214555] Bluetooth: Core ver 2.22 [ 7.214678] Bluetooth: HCI device and connection manager initialized [ 7.214698] Bluetooth: HCI socket layer initialized [ 7.214707] Bluetooth: L2CAP socket layer initialized [ 7.214727] Bluetooth: SCO socket layer initialized [ 7.321477] brcmfmac: F1 signature read @0x18000000=0x15294345 [ 7.352797] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 7.474137] usbcore: registered new interface driver brcmfmac [ 7.475277] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 7.481798] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Jun 16 2017 12:38:26 version 7.45.96.2 (66c4e21@sh-git) (r) FWID 01-1813af84 [ 7.647372] Bluetooth: HCI UART driver ver 2.3 [ 7.647401] Bluetooth: HCI UART protocol H4 registered [ 7.647405] Bluetooth: HCI UART protocol BCSP registered [ 7.647489] Bluetooth: HCI UART protocol LL registered [ 7.647494] Bluetooth: HCI UART protocol ATH3K registered [ 7.647547] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 7.647870] Bluetooth: HCI UART protocol Intel registered [ 7.648088] Bluetooth: HCI UART protocol Broadcom registered [ 7.648244] Bluetooth: HCI UART protocol QCA registered [ 7.648249] Bluetooth: HCI UART protocol AG6XX registered [ 7.648299] Bluetooth: HCI UART protocol Marvell registered [ 7.811743] Bluetooth: null: hu (____ptrval____) [ 7.932867] Bluetooth: hci0: Set Controller UART speed to 1500000 bit/s [ 7.934219] Bluetooth: hci0: hu (____ptrval____) skb (____ptrval____) [ 9.951102] Bluetooth: hci0: command 0xfc18 tx timeout [ 14.271949] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 14.271980] Bluetooth: BNEP filters: protocol multicast [ 14.272003] Bluetooth: BNEP socket layer initialized [ 18.142933] Bluetooth: hci0: BCM: failed to write update baudrate (-110) [ 18.142963] Bluetooth: hci0: Failed to set baudrate [ 18.142968] Bluetooth: hci0: hu 000000002add66b5 [ 18.143005] Bluetooth: hci0: hu 000000002add66b5 skb 00000000b978f471 [ 20.158883] Bluetooth: hci0: command 0x0c03 tx timeout [ 28.659471] Bluetooth: hci0: BCM: Reset failed (-110) [ 28.659542] Bluetooth: hci0: hu 000000002add66b5 [ 28.659577] Bluetooth: hci0: hu 000000002add66b5 Also the firmware from https://gitlab.manjaro.org/manjaro-arm/packages/community/ap6256-firmware (which is built in 2020) does not work The weird thing is that using kernel 5.15.y (armbian current version) also does not work... I dont know if the kernel 5.10 would make it work... em... I tested the armbian image(https://fi.mirror.armbian.de/archive/rockpi-4b/archive/Armbian_21.08.1_Rockpi-4b_bullseye_current_5.10.60.img.xz.txt) in rockpi 4b+ roughly, it works: wzkiro@rockpi-4b:~$ dmesg | grep -E "Bluetooth|brcm" [ 29.724565] Bluetooth: Core ver 2.22 [ 29.724717] Bluetooth: HCI device and connection manager initialized [ 29.724738] Bluetooth: HCI socket layer initialized [ 29.724748] Bluetooth: L2CAP socket layer initialized [ 29.724773] Bluetooth: SCO socket layer initialized [ 29.871182] Bluetooth: HCI UART driver ver 2.3 [ 29.871189] Bluetooth: HCI UART protocol H4 registered [ 29.871193] Bluetooth: HCI UART protocol BCSP registered [ 29.871252] Bluetooth: HCI UART protocol LL registered [ 29.871255] Bluetooth: HCI UART protocol ATH3K registered [ 29.871276] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 29.871449] Bluetooth: HCI UART protocol Intel registered [ 29.871561] Bluetooth: HCI UART protocol Broadcom registered [ 29.871591] Bluetooth: HCI UART protocol QCA registered [ 29.871594] Bluetooth: HCI UART protocol AG6XX registered [ 29.871616] Bluetooth: HCI UART protocol Marvell registered [ 29.877985] brcmfmac: F1 signature read @0x18000000=0x15294345 [ 29.888339] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 29.893679] usbcore: registered new interface driver brcmfmac [ 29.895916] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.radxa,rockpi4b.txt failed with error -2 [ 30.011957] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 30.012057] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available [ 30.012402] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3 [ 30.122616] systemd[1]: Reached target Bluetooth. [ 30.235644] Bluetooth: hci0: BCM: chip id 130 [ 30.238004] Bluetooth: hci0: BCM: features 0x0f [ 30.261185] Bluetooth: hci0: BCM4345C5 [ 30.261213] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0000 [ 30.270058] Bluetooth: hci0: BCM4345C5 'brcm/BCM4345C5.hcd' Patch [ 35.433001] Bluetooth: hci0: BCM4345C5 Ampak_CL1 UART 37.4 MHz BT 5.0 [Version: Version: 0039.0089] [ 35.433043] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0089
  7. Yeap. I also tried the 5.15kernel(armbian current version), the same issue.
  8. Hi guys, I am building armbian image for rockpi4b+ and its kernel is 6.0.11(edge version) and the bluetooth failed start up. If anyone knows what kernel 6.0.11 did that cause the problem: wzkiro@rockpi-4bplus:~$ dmesg | grep brcm [ 7.069061] brcmfmac: F1 signature read @0x18000000=0x15294345 [ 7.108688] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 7.109142] usbcore: registered new interface driver brcmfmac [ 7.236547] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 7.245940] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3 wzkiro@rockpi-4bplus:~$ dmesg | grep Bluetooth [ 7.089775] Bluetooth: Core ver 2.22 [ 7.089894] Bluetooth: HCI device and connection manager initialized [ 7.089914] Bluetooth: HCI socket layer initialized [ 7.089922] Bluetooth: L2CAP socket layer initialized [ 7.089943] Bluetooth: SCO socket layer initialized [ 7.394043] Bluetooth: HCI UART driver ver 2.3 [ 7.394074] Bluetooth: HCI UART protocol H4 registered [ 7.394081] Bluetooth: HCI UART protocol BCSP registered [ 7.403820] Bluetooth: HCI UART protocol LL registered [ 7.403831] Bluetooth: HCI UART protocol ATH3K registered [ 7.405384] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 7.416771] Bluetooth: HCI UART protocol Intel registered [ 7.440646] Bluetooth: HCI UART protocol Broadcom registered [ 7.453388] Bluetooth: HCI UART protocol QCA registered [ 7.453410] Bluetooth: HCI UART protocol AG6XX registered [ 7.459664] Bluetooth: HCI UART protocol Marvell registered [ 9.738700] Bluetooth: hci0: command 0xfc18 tx timeout [ 13.642153] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 13.642193] Bluetooth: BNEP filters: protocol multicast [ 13.642220] Bluetooth: BNEP socket layer initialized [ 17.894543] Bluetooth: hci0: BCM: failed to write update baudrate (-110) [ 17.894570] Bluetooth: hci0: Failed to set baudrate [ 19.910475] Bluetooth: hci0: command 0x0c03 tx timeout [ 28.484626] Bluetooth: hci0: BCM: Reset failed (-110)
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines