Skip to contentSkip to conversation

New: kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

Bug 210681 [email protected] 2 participants 27 messages Dec 14, 2020 – Mar 2, 2021 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=210681

            Bug ID: 210681
           Summary: kernel: Bluetooth: hci0: don't support firmware rome
                    0x31010000
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.10
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Bluetooth
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

after upgrade kernel to version 5.10:

kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

previous kernel 5.9.13 was ok.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #1 from anthony ([email protected]) ---
For test: if I replace the entire drivers/bluetooth subdir with that of kernel 5.9.14 and recompile, then it works again.

This means that it depends on some modification introduced.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #3 from anthony ([email protected]) --- The problem seems to be this commit:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/bluetooth/btusb.c?h=v5.10&id=b40f58b973865ee98ead884d2bdc7880b896ddb8

"Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support"

Removing this commit solves the problem (for me).

---

My notebook is:
- Notebook X555LN (i7-4510U)
- Qualcomm Atheros QCA9565/AR9565 Wireless Network Adapter (rev 01)

Thanks

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#4 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

Lorenzo N ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from Lorenzo N ([email protected]) --- Same here.

With 5.9.16 it works fine

I have an atheros ar3012 (bluetooth chipset) with kernel 5.10.2

sudo dmesg | grep hci0

[    9.739696] Bluetooth: hci0: don't support firmware rome 0x1020200
Quoted 1 line
Quoted 1 line
Quoted 1 line

lsusb

Bus 001 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 005: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 002 Device 004: ID 04f2:b3d8 Chicony Electronics Co., Ltd USB2.0 HD UVC WebCam
Bus 002 Device 006: ID 13d3:3402 IMC Networks Bluetooth USB Host Controller Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#5 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #5 from Lorenzo N ([email protected]) --- (In reply to anthony from comment #2)

Quoted 1 line

Seems to be enough keep only the previous drivers/bluetooth/btusb.c file

Yep, from what I have understood that's the file that needs to be edited.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#6 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #7 from anthony ([email protected]) --- (In reply to Lorenzo N from comment #5)

Quoted 4 lines

(In reply to anthony from comment #2)

Quoted 1 line

Seems to be enough keep only the previous drivers/bluetooth/btusb.c file

Yep, from what I have understood that's the file that needs to be edited.

before compiling try to revert the commit (see above), for me it worked on 5.10.x kernels

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#7 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #8 from Lorenzo N ([email protected]) --- (In reply to anthony from comment #7)

Quoted 8 lines

(In reply to Lorenzo N from comment #5)

Quoted 4 lines

(In reply to anthony from comment #2)

Quoted 1 line

Seems to be enough keep only the previous drivers/bluetooth/btusb.c file

Yep, from what I have understood that's the file that needs to be edited.

before compiling try to revert the commit (see above), for me it worked on 5.10.x kernels

Glad it did. I'll see if this fix will be implemented. Otherwise I'll stick with 5.9 till I'll be forced to update :)

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#8 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

Bradley Jarvis ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected].
                   |                            |au

--- Comment #10 from Bradley Jarvis ([email protected]) --- Created attachment 294393
--> https://bugzilla.kernel.org/attachment.cgi?id=294393&action=edit
fix hci0: don't support firmware rome error

Avoid returning error code when bluetooth version match is not made from qca_devices_table and version high is set.

This reverts an error check that was removed to support WCN6855 which does have the high version set. The fix is to move the check after the table is scanned and no version match is made.

This fix will still produce the error message for example (for ATK3K 13d3:3402 IMC Networks Bluetooth USB Host Controller)

Bluetooth: hci0: don't support firmware rome 0x1020200

But the bluetooth hardware still works as it used to

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#10 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #11 from Antonio ([email protected]) --- (In reply to Bradley Jarvis from comment #10)

Quoted 10 lines

Created attachment 294393 [details]
fix hci0: don't support firmware rome error

Avoid returning error code when bluetooth version match is not made from qca_devices_table and version high is set.

This reverts an error check that was removed to support WCN6855 which does have the high version set. The fix is to move the check after the table is scanned and no version match is made.

Quoted 6 lines

This fix will still produce the error message for example (for ATK3K 13d3:3402 IMC Networks Bluetooth USB Host Controller)

Bluetooth: hci0: don't support firmware rome 0x1020200

But the bluetooth hardware still works as it used to

I have tried it (kernel 5.10.3), I confirm that it works.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#11 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

Drew Simmonds ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #15 from Drew Simmonds ([email protected]) ---
Can confirm on Debian Buster as well. Upgrading to 5.10.4 on Testing causes Bluetooth to fail to enable, reverting to 5.9.15 on Backports solves the issue.

It would be very nice if there was a way to fix this not involving recompiling the kernel.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#12 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

jefferson ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |janetesalesdeoliveira@gmail
                   |                            |.com

--- Comment #16 from jefferson ([email protected]) --- Install the kernel
https://mirror.netzspielplatz.de/manjaro/packages/pool/overlay/linux419-4.19.169-1-x86_64.pkg.tar.zst

$ sudo pacman -U linux419-4.19.169-1-x86_64 .pkg.tar.zst and reconfigure
grub.cfg $ sudo grub-mkconfig -o /boot/grub/grub.cfg. This kernel works well.
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#13 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #17 from [email protected] ---
(In reply to jefferson from comment #16)

Quoted 5 lines

Install the kernel
https://mirror.netzspielplatz.de/manjaro/packages/pool/overlay/linux419-4.19.
169-1-x86_64.pkg.tar.zst $ sudo pacman -U linux419-4.19.169-1-x86_64 .pkg.tar.zst and reconfigure grub.cfg $ sudo grub-mkconfig -o /boot/grub/grub.cfg. This kernel works well.

All kernel below 5.10 works well. You dont need to use 419, you can use eg 5.9. Also if you are using manjaro you can just use MHWD or pacman -S to manage kernels

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#14 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

Steeve McCauley ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #18 from Steeve McCauley ([email protected]) --- (In reply to Bradley Jarvis from comment #10)

Quoted 4 lines

Created attachment 294393 [details]
fix hci0: don't support firmware rome error

Avoid returning error code when bluetooth version match is not made from

Can confirm that this issue exists on fedora 33 5.10.x kernel for atheros usb bluetooth. Installing a kernel.org kernel with Bradley's fix solves the problem.
The adaptor shows up as Lite-On Technologoy Corp: Bus 001 Device 004: ID 04ca:3006 Lite-On Technology Corp.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#15 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #19 from Steeve McCauley ([email protected]) --- This is the firmware rome for the lite-on adaptor Bluetooth: hci0: don't support firmware rome 0x11020000

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#16 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

Hans de Goede ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
                   |                            |g

--- Comment #20 from Hans de Goede ([email protected]) --- Has anyone send a (direct) email to Rocky Liao, the author of the troublesome "Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support" commit about this?

That is likely the fastest way to get this resolved.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#17 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #21 from [email protected] ---
(In reply to Hans de Goede from comment #20)

Quoted 5 lines

Has anyone send a (direct) email to Rocky Liao, the author of the troublesome "Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support" commit about this?

That is likely the fastest way to get this resolved.

It's in the commit author:
[email protected]

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#18 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

Moreno G ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |moreno.giussani@protonmail.
                   |                            |com

--- Comment #22 from Moreno G ([email protected]) --- Created attachment 294865
--> https://bugzilla.kernel.org/attachment.cgi?id=294865&action=edit
fix hci0: warn only if high rome

(In reply to Bradley Jarvis from comment #10)

Quoted 10 lines

Created attachment 294393 [details]
fix hci0: don't support firmware rome error

Avoid returning error code when bluetooth version match is not made from qca_devices_table and version high is set.

This reverts an error check that was removed to support WCN6855 which does have the high version set. The fix is to move the check after the table is scanned and no version match is made.

Quoted 6 lines

This fix will still produce the error message for example (for ATK3K 13d3:3402 IMC Networks Bluetooth USB Host Controller)

Bluetooth: hci0: don't support firmware rome 0x1020200

But the bluetooth hardware still works as it used to

Like Bradley Jarvis' fix, but it won't produce an error message but a warning message for a possible incompatibility. Reverted the "don't care" comments for other high ROM versions. Just my 2 cents

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#19 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

igorog ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #23 from igorog ([email protected]) ---
Bluetooth: hci0: don't support firmware rome 0x1020200

Quoted 1 line

--------------------------------------------------------

Arch Linux 5.10.11-arch1-1

Quoted 2 lines

03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#22 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #30 from Salvatore Bonaccorso ([email protected]) --- The fix is pending in bluetooth-next three according to
https://lore.kernel.org/linux-bluetooth/[email protected]/

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#9 lore raw

Re: [Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

Hi

Quoted 21 lines · On Tue, Dec 29, 2020 at 10:50:10AM +0000, [email protected]…

https://bugzilla.kernel.org/show_bug.cgi?id=210681

Bradley Jarvis ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected].
                   |                            |au

--- Comment #10 from Bradley Jarvis ([email protected]) --- Created attachment 294393
--> https://bugzilla.kernel.org/attachment.cgi?id=294393&action=edit
fix hci0: don't support firmware rome error

Avoid returning error code when bluetooth version match is not made from qca_devices_table and version high is set.

This reverts an error check that was removed to support WCN6855 which does have the high version set. The fix is to move the check after the table is scanned and no version match is made.

Quoted 6 lines

This fix will still produce the error message for example (for ATK3K 13d3:3402 IMC Networks Bluetooth USB Host Controller)

Bluetooth: hci0: don't support firmware rome 0x1020200

But the bluetooth hardware still works as it used to

Several people have reported that since b40f58b97386 ("Bluetooth:
btusb: Add Qualcomm Bluetooth SoC WCN6855 support") they have issues with their Bluetooth adapter stopping working. It was reported at bugzilla[1].

Bradley Jarvis posted/attached a patch which seems to resolve the issue, Moreno has added an alternative patch.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=210681

But there is another report at

[2] https://bugzilla.kernel.org/show_bug.cgi?id=211571

and that last one was applied to bluetooth-next tree according to
https://lore.kernel.org/linux-bluetooth/[email protected]/

Regards,
Salvatore

#23 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #31 from Salvatore Bonaccorso ([email protected]) --- Hi

Quoted 22 lines · On Tue, Dec 29, 2020 at 10:50:10AM +0000, [email protected]…

https://bugzilla.kernel.org/show_bug.cgi?id=210681

Bradley Jarvis ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected].
                   |                            |au

--- Comment #10 from Bradley Jarvis ([email protected]) --- Created attachment 294393
--> https://bugzilla.kernel.org/attachment.cgi?id=294393&action=edit
fix hci0: don't support firmware rome error

Avoid returning error code when bluetooth version match is not made from qca_devices_table and version high is set.

This reverts an error check that was removed to support WCN6855 which does have
the high version set. The fix is to move the check after the table is scanned and no version match is made.

Quoted 7 lines

This fix will still produce the error message for example (for ATK3K 13d3:3402
IMC Networks Bluetooth USB Host Controller)

Bluetooth: hci0: don't support firmware rome 0x1020200

But the bluetooth hardware still works as it used to

Several people have reported that since b40f58b97386 ("Bluetooth:
btusb: Add Qualcomm Bluetooth SoC WCN6855 support") they have issues with their Bluetooth adapter stopping working. It was reported at bugzilla[1].

Bradley Jarvis posted/attached a patch which seems to resolve the issue, Moreno has added an alternative patch.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=210681

But there is another report at

[2] https://bugzilla.kernel.org/show_bug.cgi?id=211571

and that last one was applied to bluetooth-next tree according to
https://lore.kernel.org/linux-bluetooth/[email protected]/

Regards,
Salvatore

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#24 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #38 from Hans de Goede ([email protected]) --- Unfortunately it is taking quite a long time to get the fix for this into Linus' tree and the stable rules say that only fixes which are in Linus' tree can be cherry-picked into the stable series.

For Fedora users I've added the upstream patch:
https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=234f414efd1164786269849b4fbb533d6c9cdbbf

Fixing this as a downstream patch for the Fedora kernels. So this should be fixed in the next F32 and F33 kernel builds, which will likely be the 5.10.18 builds.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#26 lore raw

[Bug 210681] kernel: Bluetooth: hci0: don't support firmware rome 0x31010000

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=210681

--- Comment #52 from Gobinda Joy ([email protected]) --- (In reply to Max Fedotov from comment #49)

Quoted 1 line

Fedora 33 5.10.18-200 fixed.

Confirmed.

Fixed in Fedora Kernel 5.10.18-200.fc33.x86_64

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.