Bug 1213699

Summary: Cannot detect QCA bluetooth using 6.4.4, but works with 6.4.3
Product: [openSUSE] openSUSE Tumbleweed Reporter: Christopher Cox <chriscox>
Component: KernelAssignee: openSUSE Kernel Bugs <kernel-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium    
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christopher Cox 2023-07-27 06:10:33 UTC
Below is the lsmod and dmesg output from kernel 6.4.4 where bluetooth device fails to be correctly seen:

bluetooth            1081344  15 btrtl,btqca,btintel,hci_uart,btbcm,bnep
ecdh_generic           16384  1 bluetooth
rfkill                 40960  8 bluetooth,dell_laptop,cfg80211

[   41.366558] Bluetooth: Core ver 2.22
[   41.366603] NET: Registered PF_BLUETOOTH protocol family
[   41.366604] Bluetooth: HCI device and connection manager initialized
[   41.366609] Bluetooth: HCI socket layer initialized
[   41.366612] Bluetooth: L2CAP socket layer initialized
[   41.366616] Bluetooth: SCO socket layer initialized
[   41.380984] Bluetooth: HCI UART driver ver 2.3
[   41.380989] Bluetooth: HCI UART protocol H4 registered
[   41.380991] Bluetooth: HCI UART protocol BCSP registered
[   41.381014] Bluetooth: HCI UART protocol LL registered
[   41.381015] Bluetooth: HCI UART protocol ATH3K registered
[   41.381025] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   41.381093] Bluetooth: HCI UART protocol Intel registered
[   41.381190] Bluetooth: HCI UART protocol Broadcom registered
[   41.381212] Bluetooth: HCI UART protocol QCA registered
[   41.381215] Bluetooth: HCI UART protocol AG6XX registered
[   41.381234] Bluetooth: HCI UART protocol Marvell registered
[   41.393676] hci_uart_qca serial0-0: failed to acquire enable gpio
[   41.394134] Bluetooth: hci0: setting up ROME/QCA6390
[   41.482500] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   41.482506] Bluetooth: BNEP filters: protocol multicast
[   41.482514] Bluetooth: BNEP socket layer initialized
[   41.737977] Bluetooth: hci0: QCA Product ID   :0x00000010
[   41.737986] Bluetooth: hci0: QCA SOC Version  :0x400a0200
[   41.737991] Bluetooth: hci0: QCA ROM Version  :0x00000200
[   41.737996] Bluetooth: hci0: QCA Patch Version:0x00003ac0
[   41.738004] Bluetooth: hci0: QCA controller version 0x02000200
[   41.738012] Bluetooth: hci0: QCA Downloading qca/htbtfw20.tlv
[   41.771027] Bluetooth: hci0: QCA Failed to send TLV segment (-110)
[   41.771041] Bluetooth: hci0: QCA Failed to download patch (-110)
[   41.771045] Bluetooth: hci0: Retry BT power ON:0
[   44.350660] Bluetooth: hci0: command 0xfc00 tx timeout
[   52.243752] Bluetooth: hci0: Reading QCA version information failed (-110)
[   52.243786] Bluetooth: hci0: Retry BT power ON:1
[   54.590374] Bluetooth: hci0: command 0xfc00 tx timeout



And here is a successful detection using kernel 6.4.3:

bluetooth            1081344  44 btrtl,btqca,btintel,hci_uart,btbcm,bnep,rfcomm
ecdh_generic           16384  2 bluetooth
rfkill                 40960  8 bluetooth,dell_laptop,cfg80211

[   95.981602] Bluetooth: Core ver 2.22
[   95.981637] NET: Registered PF_BLUETOOTH protocol family
[   95.981638] Bluetooth: HCI device and connection manager initialized
[   95.981644] Bluetooth: HCI socket layer initialized
[   95.981647] Bluetooth: L2CAP socket layer initialized
[   95.981650] Bluetooth: SCO socket layer initialized
[   95.995036] Bluetooth: HCI UART driver ver 2.3
[   95.995040] Bluetooth: HCI UART protocol H4 registered
[   95.995041] Bluetooth: HCI UART protocol BCSP registered
[   95.995062] Bluetooth: HCI UART protocol LL registered
[   95.995062] Bluetooth: HCI UART protocol ATH3K registered
[   95.995070] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   95.995126] Bluetooth: HCI UART protocol Intel registered
[   95.995152] Bluetooth: HCI UART protocol Broadcom registered
[   95.995158] Bluetooth: HCI UART protocol QCA registered
[   95.995159] Bluetooth: HCI UART protocol AG6XX registered
[   95.995165] Bluetooth: HCI UART protocol Marvell registered
[   96.007587] hci_uart_qca serial0-0: failed to acquire enable gpio
[   96.007954] Bluetooth: hci0: setting up ROME/QCA6390
[   96.099001] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   96.099008] Bluetooth: BNEP filters: protocol multicast
[   96.099014] Bluetooth: BNEP socket layer initialized
[   96.351369] Bluetooth: hci0: QCA Product ID   :0x00000010
[   96.351380] Bluetooth: hci0: QCA SOC Version  :0x400a0200
[   96.351382] Bluetooth: hci0: QCA ROM Version  :0x00000200
[   96.351384] Bluetooth: hci0: QCA Patch Version:0x00000d2b
[   96.351387] Bluetooth: hci0: QCA controller version 0x02000200
[   96.351390] Bluetooth: hci0: QCA Downloading qca/htbtfw20.tlv
[   97.353494] Bluetooth: hci0: QCA Downloading qca/htnv20.bin
[   97.567822] Bluetooth: hci0: QCA setup on UART is completed
[   97.594690] Bluetooth: MGMT ver 1.22
[   97.608745] NET: Registered PF_ALG protocol family
[   97.627841] Bluetooth: RFCOMM TTY layer initialized
[   97.627852] Bluetooth: RFCOMM socket layer initialized
[   97.627855] Bluetooth: RFCOMM ver 1.11
[  108.663637] input: Creative D100 (AVRCP) as /devices/virtual/input/input26
Comment 1 Christopher Cox 2023-07-29 04:09:00 UTC
Problem is fixed in 6.4.6