Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 686580 Details for
Bug 762041
sys-kernel/gentoo-sources-5.10 causes a Bluetooth error that stops loading of ath3k bluetooth device
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from bluetooth-next
qualcom-btusb.patch (text/plain), 1.97 KB, created by
Mike Pagano
on 2021-02-13 18:56:46 UTC
(
hide
)
Description:
Patch from bluetooth-next
Filename:
MIME Type:
Creator:
Mike Pagano
Created:
2021-02-13 18:56:46 UTC
Size:
1.97 KB
patch
obsolete
>From 234f414efd1164786269849b4fbb533d6c9cdbbf Mon Sep 17 00:00:00 2001 >From: Hui Wang <hui.wang@canonical.com> >Date: Mon, 8 Feb 2021 13:02:37 +0800 >Subject: Bluetooth: btusb: Some Qualcomm Bluetooth adapters stop working > >This issue starts from linux-5.10-rc1, I reproduced this issue on my >Dell Inspiron 7447 with BT adapter 0cf3:e005, the kernel will print >out: "Bluetooth: hci0: don't support firmware rome 0x31010000", and >someone else also reported the similar issue to bugzilla #211571. > >I found this is a regression introduced by 'commit b40f58b97386 >("Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support"), the >patch assumed that if high ROM version is not zero, it is an adapter >on WCN6855, but many old adapters don't need to load rampatch or nvm, >and they have non-zero high ROM version. > >To fix it, let the driver match the rom_version in the >qca_devices_table first, if there is no entry matched, check the >high ROM version, if it is not zero, we assume this adapter is ready >to work and no need to load rampatch and nvm like previously. > >BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=211571 >Fixes: b40f58b97386 ("Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support") >Signed-off-by: Hui Wang <hui.wang@canonical.com> >Signed-off-by: Marcel Holtmann <marcel@holtmann.org> >--- > drivers/bluetooth/btusb.c | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c >index 9c6836ee3c9b3..52683fd22e050 100644 >--- a/drivers/bluetooth/btusb.c >+++ b/drivers/bluetooth/btusb.c >@@ -4273,6 +4273,13 @@ static int btusb_setup_qca(struct hci_dev *hdev) > info = &qca_devices_table[i]; > } > if (!info) { >+ /* If the rom_version is not matched in the qca_devices_table >+ * and the high ROM version is not zero, we assume this chip no >+ * need to load the rampatch and nvm. >+ */ >+ if (ver_rom & ~0xffffU) >+ return 0; >+ > bt_dev_err(hdev, "don't support firmware rome 0x%x", ver_rom); > return -ENODEV; > } >-- >cgit 1.2.3-1.el7 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 762041
: 686580