2020-12-14 10:14:44

by bugzilla-daemon

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

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.

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


2020-12-14 14:48:22

by bugzilla-daemon

[permalink] [raw]
Subject: [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.

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

2020-12-14 15:24:34

by bugzilla-daemon

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

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

--- Comment #2 from anthony ([email protected]) ---
Seems to be enough keep only the previous drivers/bluetooth/btusb.c file

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

2020-12-14 20:10:14

by bugzilla-daemon

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

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

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

2020-12-24 11:10:45

by bugzilla-daemon

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

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

>>> 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

--
You may reply to this email to add a comment.

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

2020-12-24 13:39:49

by bugzilla-daemon

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

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

--- Comment #5 from Lorenzo N ([email protected]) ---
(In reply to anthony from comment #2)
> 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.

--
You may reply to this email to add a comment.

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

2020-12-24 14:02:46

by bugzilla-daemon

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

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

--- Comment #7 from anthony ([email protected]) ---
(In reply to Lorenzo N from comment #5)
> (In reply to anthony from comment #2)
> > 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

--
You may reply to this email to add a comment.

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

2020-12-24 17:03:38

by bugzilla-daemon

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

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

--- Comment #8 from Lorenzo N ([email protected]) ---
(In reply to anthony from comment #7)
> (In reply to Lorenzo N from comment #5)
> > (In reply to anthony from comment #2)
> > > 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 :)

--
You may reply to this email to add a comment.

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

2020-12-29 10:53:46

by bugzilla-daemon

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

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

--
You may reply to this email to add a comment.

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

2020-12-30 09:18:20

by bugzilla-daemon

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

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

--- Comment #11 from Antonio ([email protected]) ---
(In reply to Bradley Jarvis from comment #10)
> 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.
>
> 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.

--
You may reply to this email to add a comment.

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

2021-01-20 00:01:05

by bugzilla-daemon

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

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.

--
You may reply to this email to add a comment.

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

2021-01-20 15:21:07

by bugzilla-daemon

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

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.

--
You may reply to this email to add a comment.

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

2021-01-21 09:02:22

by bugzilla-daemon

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

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

--- Comment #17 from [email protected] ---
(In reply to jefferson from comment #16)
> 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

--
You may reply to this email to add a comment.

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

2021-01-22 11:33:32

by bugzilla-daemon

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

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)
> 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.

--
You may reply to this email to add a comment.

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

2021-01-22 12:20:20

by bugzilla-daemon

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

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

--
You may reply to this email to add a comment.

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

2021-01-22 13:53:44

by bugzilla-daemon

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

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.

--
You may reply to this email to add a comment.

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

2021-01-26 10:38:49

by bugzilla-daemon

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

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

--- Comment #21 from [email protected] ---
(In reply to Hans de Goede from comment #20)
> 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]

--
You may reply to this email to add a comment.

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

2021-01-27 11:27:55

by bugzilla-daemon

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

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)
> 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.
>
> 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

--
You may reply to this email to add a comment.

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

2021-01-31 02:20:55

by bugzilla-daemon

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

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
>--------------------------------------------------------
Arch Linux 5.10.11-arch1-1
>03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter
>(rev 01)

--
You may reply to this email to add a comment.

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

2021-01-31 14:26:21

by bugzilla-daemon

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

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

--- Comment #25 from Hans de Goede ([email protected]) ---
> Is a fix for this bug planned?

As I've mentioned before someone needs to report this to the upstream bluetooth
developers. Please send an email to:

Rocky Liao <[email protected]>

Who is the author of the troublesome "Bluetooth: btusb: Add Qualcomm Bluetooth
SoC WCN6855 support" commit and add:

[email protected]

To the Cc of this email.

--
You may reply to this email to add a comment.

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

2021-01-31 14:37:53

by bugzilla-daemon

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

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

--- Comment #26 from Steeve McCauley ([email protected]) ---
I'm composing something now.

--
You may reply to this email to add a comment.

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

2021-02-01 01:26:05

by bugzilla-daemon

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

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

--- Comment #27 from igorog ([email protected]) ---
[email protected] - not available

--
You may reply to this email to add a comment.

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

2021-02-13 07:12:57

by bugzilla-daemon

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

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]/

--
You may reply to this email to add a comment.

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

2021-02-13 07:12:57

by bugzilla-daemon

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

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

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

On Tue, Dec 29, 2020 at 10:50:10AM +0000, [email protected]
wrote:
> 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

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

--
You may reply to this email to add a comment.

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

2021-02-13 07:15:47

by Salvatore Bonaccorso

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

Hi

On Tue, Dec 29, 2020 at 10:50:10AM +0000, [email protected] wrote:
> 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

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

2021-02-18 17:27:46

by bugzilla-daemon

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

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.

--
You may reply to this email to add a comment.

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

2021-02-25 02:19:34

by bugzilla-daemon

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

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

--- Comment #43 from Antonio ([email protected]) ---
kernel 5.11.1: problem still exists, need to patch.

--
You may reply to this email to add a comment.

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

2021-03-04 07:23:20

by bugzilla-daemon

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

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

--- Comment #52 from Gobinda Joy ([email protected]) ---
(In reply to Max Fedotov from comment #49)
> Fedora 33 5.10.18-200 fixed.

Confirmed.

Fixed in Fedora Kernel 5.10.18-200.fc33.x86_64

--
You may reply to this email to add a comment.

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