Jump to content

[Armbian build PR] - Disable patch breaks Bluetooth


RSS Bot

Recommended Posts

Description

This patch breaks Bluetooth.

Before patch disable:

root@rockpi-4b:~# dmesg | grep -E 'brcm|Blue|ieee'
[    8.488266] Bluetooth: Core ver 2.22
[    8.488355] Bluetooth: HCI device and connection manager initialized
[    8.488367] Bluetooth: HCI socket layer initialized
[    8.488372] Bluetooth: L2CAP socket layer initialized
[    8.488385] Bluetooth: SCO socket layer initialized
[    8.594739] Bluetooth: HCI UART driver ver 2.3
[    8.594761] Bluetooth: HCI UART protocol H4 registered
[    8.594766] Bluetooth: HCI UART protocol BCSP registered
[    8.594868] Bluetooth: HCI UART protocol LL registered
[    8.594875] Bluetooth: HCI UART protocol ATH3K registered
[    8.606072] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    8.606460] Bluetooth: HCI UART protocol Intel registered
[    8.608127] Bluetooth: HCI UART protocol Broadcom registered
[    8.608203] Bluetooth: HCI UART protocol QCA registered
[    8.608209] Bluetooth: HCI UART protocol AG6XX registered
[    8.608266] Bluetooth: HCI UART protocol Marvell registered
[    8.705945] brcmfmac: F1 signature read @0x18000000=0x15294345
[    8.763547] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[    8.792519] usbcore: registered new interface driver brcmfmac
[    8.895010] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[    8.902046] 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
[    9.156475] systemd[1]: Reached target Bluetooth.
[   10.879382] Bluetooth: hci0: command 0x0c03 tx timeout
[   18.911324] Bluetooth: hci0: BCM: Reset failed (-110)
[  119.493183] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[  119.493929] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation

After patch disable:

root@rockpi-4b:~# dmesg | grep -E 'brcm|Blue|ieee'
[    8.472541] Bluetooth: Core ver 2.22
[    8.472677] Bluetooth: HCI device and connection manager initialized
[    8.472696] Bluetooth: HCI socket layer initialized
[    8.472706] Bluetooth: L2CAP socket layer initialized
[    8.472724] Bluetooth: SCO socket layer initialized
[    8.666875] brcmfmac: F1 signature read @0x18000000=0x15294345
[    8.679608] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[    8.716907] usbcore: registered new interface driver brcmfmac
[    8.744207] Bluetooth: HCI UART driver ver 2.3
[    8.744233] Bluetooth: HCI UART protocol H4 registered
[    8.744238] Bluetooth: HCI UART protocol BCSP registered
[    8.744340] Bluetooth: HCI UART protocol LL registered
[    8.744346] Bluetooth: HCI UART protocol ATH3K registered
[    8.744401] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    8.744687] Bluetooth: HCI UART protocol Intel registered
[    8.744930] Bluetooth: HCI UART protocol Broadcom registered
[    8.744988] Bluetooth: HCI UART protocol QCA registered
[    8.744993] Bluetooth: HCI UART protocol AG6XX registered
[    8.745043] Bluetooth: HCI UART protocol Marvell registered
[    8.819294] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[    8.826630] 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
[    9.044867] systemd[1]: Reached target Bluetooth.
[    9.132055] Bluetooth: hci0: BCM: chip id 130
[    9.134426] Bluetooth: hci0: BCM: features 0x0f
[    9.157625] Bluetooth: hci0: BCM4345C5
[    9.157659] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0000
[    9.160790] Bluetooth: hci0: BCM4345C5 'brcm/BCM4345C5.hcd' Patch
[   14.345213] Bluetooth: hci0: BCM4345C5 Ampak_CL1 UART 37.4 MHz BT 5.0 [Version: Version: 0039.0089]
[   14.345242] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0089

Also see this MR: https://github.com/armbian/build/pull/4609 and thread on forum: https://forum.armbian.com/topic/24869-bluetoothap6256-with-kernel-6011-dose-not-work/

How Has This Been Tested?

  • [x] Rock Pi 4 Model B

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] Any dependent changes have been merged and published in downstream modules

View the full article

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines