git: b25ba58adc04 - main - ng_ubt: Avoid attaching to several newer Intel controllers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Dec 2021 15:52:41 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=b25ba58adc04ca475df1e8125d2a16a07d68b49d
commit b25ba58adc04ca475df1e8125d2a16a07d68b49d
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-12-05 15:45:12 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-12-05 15:51:46 +0000
ng_ubt: Avoid attaching to several newer Intel controllers
Like other Intel controllers, these require firmware to be loaded, and
generic ng_ubt attach causes them to lock up until a power cycle.
However, their firmware interface for querying version info and loading
operational firmware is different from that implemented by ng_ubt_intel
and iwmbtfw, so they are not usable yet. Just disable attach for now to
avoid stalls during USB device enumeration.
PR: 260161
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
index 3e4dc0e80dec..a79a8cd48509 100644
--- a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
+++ b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
@@ -432,6 +432,13 @@ static const STRUCT_USB_HOST_ID ubt_ignore_devs[] =
{ USB_VPI(USB_VENDOR_INTEL2, 0x0025, 0) },
{ USB_VPI(USB_VENDOR_INTEL2, 0x0026, 0) },
{ USB_VPI(USB_VENDOR_INTEL2, 0x0029, 0) },
+
+ /*
+ * Some Intel controllers are not yet supported by ng_ubt_intel and
+ * should be ignored.
+ */
+ { USB_VPI(USB_VENDOR_INTEL2, 0x0032, 0) },
+ { USB_VPI(USB_VENDOR_INTEL2, 0x0033, 0) },
};
/* List of supported bluetooth devices */