Re: [PATCH v2] Bluetooth: qca: Add BT FW build version to kernel log

From: Xiuzhuo Shang

Date: Wed Jun 10 2026 - 22:53:00 EST




On 6/11/2026 4:54 AM, Paul Menzel wrote:
> Dear Xiuzhuo,
>
>
> Thank you for the patch, which was applied today.
>
> Am 10.06.26 um 08:42 schrieb Xiuzhuo Shang:
>> Firmware version is critical for bug triage. Users reporting issues
>> typically share dmesg output rather than debugfs contents, requiring
>> extra communication rounds to collect this information. Log the FW
>> build version directly to the kernel log so it is immediately
>> available in bug reports.
>>
>> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
>> Signed-off-by: Xiuzhuo Shang <xiuzhuo.shang@xxxxxxxxxxxxxxxx>
>> ---
>> Example output:
>>    Bluetooth: hci0: QCA FW build version: BTFW.MOSELLE.1.1.3-00106-MSL_PATCHZ-1
>
> Please put it in the commit message next time.
>
> Also, just for completeness, could you please paste all the Bluetooth/hci0/QCA logs, so that maybe a more condensed logging format can be found?

Hi,Paul,
Thanks for your suggestion.

root@rb3gen2-core-kit:/# dmesg | grep -iE "bluetooth|hci|wcn|btqca|btfm|rfkill"
[ 5.159228] sdhci_msm 8804000.mmc: Got CD GPIO
[ 5.219919] mmc2: SDHCI controller on 8804000.mmc [8804000.mmc] using ADMA 64-bit
[ 11.806187] ath11k 17a10040.wifi: wcn6750 hw1.0
[ 11.818575] ath11k 17a10040.wifi: wcn6750 hw1.0
[ 11.823714] ath11k 17a10040.wifi: wcn6750 hw1.0
[ 20.284824] pci 0001:04:00.0: xHCI HW not ready after 5 sec (HC bug?) status = 0x801
[ 20.338018] Bluetooth: Core ver 2.22
[ 20.341805] NET: Registered PF_BLUETOOTH protocol family
[ 20.347310] Bluetooth: HCI device and connection manager initialized
[ 20.347327] Bluetooth: HCI socket layer initialized
[ 20.347333] Bluetooth: L2CAP socket layer initialized
[ 20.347352] Bluetooth: SCO socket layer initialized
[ 20.479734] Bluetooth: HCI UART driver ver 2.3
[ 20.496850] Bluetooth: HCI UART protocol H4 registered
[ 20.515949] Bluetooth: HCI UART protocol LL registered
[ 20.516004] Bluetooth: HCI UART protocol QCA registered
[ 20.528204] Bluetooth: hci0: setting up wcn6750
[ 20.699447] Modules linked in: iris_vpu(O+) nf_conntrack audioreach_driver(O) qcom_pbs nf_defrag_ipv6 v4l2_mem2mem videobuf2_v4l2 snd_q6dsp_common qcom_spmi_temp_alarm qcom_spmi_adc_tm5 nf_defrag_ipv4 qcom_spmi_adc5 rtc_pm8xxx qcom_pon nvmem_qcom_spmi_sdam videobuf2_common qcom_vadc_common videodev iptable_filter hci_uart ip_tables btqca gpio_shared_proxy x_tables apr mc msm_kgsl(O+) pwrseq_qcom_wcn videocc_sc7280 phy_qcom_qmp_combo dispcc_sc7280 coresight_stm camcc_sc7280 qcom_refgen_regulator qcom_stats spi_geni_qcom dwc3_qcom usb_f_fs aux_bridge stm_p_basic msm typec gpi phy_qcom_snps_femto_v2 qcom_eud icc_bwmon bluetooth stm_core bridge ubwc_config coresight_cti coresight_tpdm ecdh_generic stp kpp llc overlay ecc libcomposite ath11k_ahb llcc_qcom ath11k snd_soc_lpass_va_macro snd_soc_lpass_wsa_macro ocmem mac80211 qcom_q6v5_pas soundwire_qcom snd_soc_lpass_macro_common coresight_replicator gpu_sched qcom_pil_info libarc4 coresight_tmc qcom_q6v5 drm_gpuvm snd_soc_core snd_compress coresight_etm4x qcom_sysmon
[ 20.791274] coresight_funnel qrtr gpucc_sc7280 qcrypto drm_display_helper snd_pcm qcom_common sha256 snd_timer cec qcom_glink_smem coresight pmic_glink sha1 soundwire_bus lpassaudiocc_sc7280 snd drm_dp_aux_bus mdt_loader libdes pdr_interface pinctrl_sc7280_lpass_lpi cfg80211 drm_client_lib soundcore qcom_pdr_msg authenc pinctrl_lpass_lpi slimbus pci_pwrctrl_tc9563 rfkill icc_osm_l3 socinfo qmi_helpers display_connector drm_kms_helper qcom_rng nvmem_reboot_mode sch_fq_codel fuse
[ 21.170589] xhci-pci-renesas 0001:04:00.0: failed to load firmware renesas_usb_fw.mem: -2
[ 21.213198] xhci-pci-renesas 0001:04:00.0: probe with driver xhci-pci-renesas failed with error -2
[ 22.627369] Bluetooth: hci0: command 0xfc00 tx timeout
[ 22.639919] Bluetooth: hci0: Reading QCA version information failed (-110)
[ 22.652097] Bluetooth: hci0: Retry BT power ON:0
[ 22.706596] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 22.719197] Bluetooth: BNEP filters: protocol multicast
[ 22.719204] Bluetooth: BNEP socket layer initialized
[ 23.123401] Bluetooth: hci0: QCA Product ID :0x00000015
[ 23.132217] Bluetooth: hci0: QCA SOC Version :0x40140110
[ 23.150091] Bluetooth: hci0: QCA ROM Version :0x00000101
[ 23.155714] Bluetooth: hci0: QCA Patch Version:0x000024c7
[ 23.165303] Bluetooth: hci0: QCA controller version 0x01100101
[ 23.172966] Bluetooth: hci0: QCA Downloading qca/msbtfw11.mbn
[ 24.193137] Bluetooth: hci0: QCA Downloading qca/msnv11.bin
[ 24.325620] Bluetooth: hci0: QCA FW build version: BTFW.MOSELLE.1.1.3-00106-MSL_PATCHZ-1
[ 24.335237] Bluetooth: hci0: QCA setup on UART is completed
[ 287.493900] Bluetooth: MGMT ver 1.23
[ 287.498546] Bluetooth: hci0: setting up wcn6750
[ 287.562270] Bluetooth: hci0: QCA Product ID :0x00000015
[ 287.567880] Bluetooth: hci0: QCA SOC Version :0x40140110
[ 287.573507] Bluetooth: hci0: QCA ROM Version :0x00000101
[ 287.579290] Bluetooth: hci0: QCA Patch Version:0x000024c
[ 287.596249] Bluetooth: hci0: QCA controller version 0x01100101
[ 287.602763] Bluetooth: hci0: QCA Downloading qca/msbtfw11.mbn
[ 288.629814] Bluetooth: hci0: QCA Downloading qca/msnv11.bin
[ 288.751030] Bluetooth: hci0: QCA FW build version: BTFW.MOSELLE.1.1.3-00106-MSL_PATCHZ-1
[ 288.759441] Bluetooth: hci0: QCA setup on UART is completed
[ 288.834672] Bluetooth: RFCOMM TTY layer initialized
[ 288.839721] Bluetooth: RFCOMM socket layer initialized
[ 288.845032] Bluetooth: RFCOMM ver 1.11

>
>>   drivers/bluetooth/btqca.c | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/bluetooth/btqca.c b/drivers/bluetooth/btqca.c
>> index dda76365726f..04ebe290bc78 100644
>> --- a/drivers/bluetooth/btqca.c
>> +++ b/drivers/bluetooth/btqca.c
>> @@ -143,6 +143,8 @@ static int qca_read_fw_build_info(struct hci_dev *hdev)
>>         hci_set_fw_info(hdev, "%s", build_label);
>>   +    bt_dev_info(hdev, "QCA FW build version: %s", build_label);
>> +
>>       kfree(build_label);
>>   out:
>>       kfree_skb(skb);
>
>
> Kind regards,
>
> Paul