* [PATCH] Bluetooth: btusb: add Realtek 8822CE to blacklist_table
@ 2020-07-03 1:11 Joseph Hwang
2020-07-03 7:27 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Joseph Hwang @ 2020-07-03 1:11 UTC (permalink / raw)
To: linux-bluetooth, marcel, luiz.dentz
Cc: josephsih, chromeos-bluetooth-upstreaming, Joseph Hwang,
Johan Hedberg, linux-kernel
This patch adds the Realtek 8822CE controller to the blacklist_table
to support the wideband speech capability.
Signed-off-by: Joseph Hwang <josephsih@chromium.org>
---
drivers/bluetooth/btusb.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 0e143c0cecf2a1..34a84c64e4c83e 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -359,6 +359,10 @@ static const struct usb_device_id blacklist_table[] = {
{ USB_VENDOR_AND_INTERFACE_INFO(0x8087, 0xe0, 0x01, 0x01),
.driver_info = BTUSB_IGNORE },
+ /* Realtek 8822CE Bluetooth devices */
+ { USB_DEVICE(0x0bda, 0xb00c), .driver_info = BTUSB_REALTEK |
+ BTUSB_WIDEBAND_SPEECH },
+
/* Realtek Bluetooth devices */
{ USB_VENDOR_AND_INTERFACE_INFO(0x0bda, 0xe0, 0x01, 0x01),
.driver_info = BTUSB_REALTEK },
--
2.27.0.212.ge8ba1cc988-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Bluetooth: btusb: add Realtek 8822CE to blacklist_table
2020-07-03 1:11 [PATCH] Bluetooth: btusb: add Realtek 8822CE to blacklist_table Joseph Hwang
@ 2020-07-03 7:27 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2020-07-03 7:27 UTC (permalink / raw)
To: Joseph Hwang
Cc: linux-bluetooth, Luiz Augusto von Dentz, josephsih,
chromeos-bluetooth-upstreaming, Johan Hedberg, linux-kernel
Hi Joseph,
> This patch adds the Realtek 8822CE controller to the blacklist_table
> to support the wideband speech capability.
>
> Signed-off-by: Joseph Hwang <josephsih@chromium.org>
> ---
>
> drivers/bluetooth/btusb.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index 0e143c0cecf2a1..34a84c64e4c83e 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -359,6 +359,10 @@ static const struct usb_device_id blacklist_table[] = {
> { USB_VENDOR_AND_INTERFACE_INFO(0x8087, 0xe0, 0x01, 0x01),
> .driver_info = BTUSB_IGNORE },
>
> + /* Realtek 8822CE Bluetooth devices */
> + { USB_DEVICE(0x0bda, 0xb00c), .driver_info = BTUSB_REALTEK |
> + BTUSB_WIDEBAND_SPEECH },
> +
> /* Realtek Bluetooth devices */
> { USB_VENDOR_AND_INTERFACE_INFO(0x0bda, 0xe0, 0x01, 0x01),
> .driver_info = BTUSB_REALTEK },
I rather not have to list these one-by-one. Can we just not globally declare support for this? Or can we have a Realtek vendor command to read this out?
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-03 7:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03 1:11 [PATCH] Bluetooth: btusb: add Realtek 8822CE to blacklist_table Joseph Hwang
2020-07-03 7:27 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).