Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] btusb: add realtek 8723 in the blacklist
@ 2013-10-30  4:53 Bruce.Ma
  2013-10-30  7:21 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce.Ma @ 2013-10-30  4:53 UTC (permalink / raw)
  To: linux-bluetooth

From: Bruce Ma <bruce.ma@canonical.com>
Date: Tue, 22 Oct 2013 11:21:20 +0800
Subject: [PATCH] btusb: add realtek 8723 in the blacklist

The vendor realtek provides an off-tree driver for realtek 8723, so we
add realtek 8723 in the in-tree driver's blacklist.

Signed-off-by: Bruce Ma <bruce.ma@canonical.com>
---
 drivers/bluetooth/btusb.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index eae58a1..3097ac8 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -138,6 +138,9 @@ static struct usb_device_id blacklist_table[] = {
     { USB_DEVICE(0x0489, 0xe03d), .driver_info = BTUSB_IGNORE },
     { USB_DEVICE(0x0489, 0xe027), .driver_info = BTUSB_IGNORE },
 
+    /* Realtek 8723 Bluetooth */
+    { USB_DEVICE(0x0bda, 0xb728), .driver_info = BTUSB_IGNORE },
+
     /* Atheros AR9285 Malbec with sflash firmware */
     { USB_DEVICE(0x03f0, 0x311d), .driver_info = BTUSB_IGNORE },
 
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] btusb: add realtek 8723 in the blacklist
  2013-10-30  4:53 [PATCH] btusb: add realtek 8723 in the blacklist Bruce.Ma
@ 2013-10-30  7:21 ` Marcel Holtmann
  0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2013-10-30  7:21 UTC (permalink / raw)
  To: Bruce.Ma; +Cc: linux-bluetooth@vger.kernel.org development

Hi Bruce,

> From: Bruce Ma <bruce.ma@canonical.com>
> Date: Tue, 22 Oct 2013 11:21:20 +0800
> Subject: [PATCH] btusb: add realtek 8723 in the blacklist
> 
> The vendor realtek provides an off-tree driver for realtek 8723, so we
> add realtek 8723 in the in-tree driver's blacklist.

we do not care about out-of-tree drivers. Get the Realtek driver merged upstream.

> Signed-off-by: Bruce Ma <bruce.ma@canonical.com>
> ---
> drivers/bluetooth/btusb.c | 3 +++
> 1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index eae58a1..3097ac8 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -138,6 +138,9 @@ static struct usb_device_id blacklist_table[] = {
>     { USB_DEVICE(0x0489, 0xe03d), .driver_info = BTUSB_IGNORE },
>     { USB_DEVICE(0x0489, 0xe027), .driver_info = BTUSB_IGNORE },
> 
> +    /* Realtek 8723 Bluetooth */
> +    { USB_DEVICE(0x0bda, 0xb728), .driver_info = BTUSB_IGNORE },
> +
>     /* Atheros AR9285 Malbec with sflash firmware */
>     { USB_DEVICE(0x03f0, 0x311d), .driver_info = BTUSB_IGNORE },

And as an extra advice, using proper tabs vs spaces is important.

Regards

Marcel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] btusb: add realtek 8723 in the blacklist
@ 2013-11-04  7:20 Bruce.Ma
  2013-11-04  7:47 ` Johan Hedberg
  2013-11-04  7:49 ` Marcel Holtmann
  0 siblings, 2 replies; 5+ messages in thread
From: Bruce.Ma @ 2013-11-04  7:20 UTC (permalink / raw)
  To: linux-bluetooth

From: Bruce Ma <bruce.ma@canonical.com>
Date: Tue, 04 Nov 2013 11:21:20 +0800
Subject: [PATCH] btusb: add Realtek 8723 in the blacklist

The btusb doesn't work with Realtek 8723 bluetooth device,
so we want to add it to the blacklist.

Signed-off-by: Bruce Ma <bruce.ma@canonical.com>
---
 drivers/bluetooth/btusb.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index eae58a1..3097ac8 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -138,6 +138,9 @@ static struct usb_device_id blacklist_table[] = {
	{ USB_DEVICE(0x0489, 0xe03d), .driver_info = BTUSB_IGNORE },
	{ USB_DEVICE(0x0489, 0xe027), .driver_info = BTUSB_IGNORE },
+	/* Realtek 8723 Bluetooth */
+	{ USB_DEVICE(0x0bda, 0xb728), .driver_info = BTUSB_IGNORE },
+
	/* Atheros AR9285 Malbec with sflash firmware */
	{ USB_DEVICE(0x03f0, 0x311d), .driver_info = BTUSB_IGNORE },
 -- 1.8.1.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] btusb: add realtek 8723 in the blacklist
  2013-11-04  7:20 Bruce.Ma
@ 2013-11-04  7:47 ` Johan Hedberg
  2013-11-04  7:49 ` Marcel Holtmann
  1 sibling, 0 replies; 5+ messages in thread
From: Johan Hedberg @ 2013-11-04  7:47 UTC (permalink / raw)
  To: Bruce.Ma; +Cc: linux-bluetooth

Hi Bruce,

On Mon, Nov 04, 2013, Bruce.Ma wrote:
> From: Bruce Ma <bruce.ma@canonical.com>
> Date: Tue, 04 Nov 2013 11:21:20 +0800
> Subject: [PATCH] btusb: add Realtek 8723 in the blacklist
> 
> The btusb doesn't work with Realtek 8723 bluetooth device,
> so we want to add it to the blacklist.
> 
> Signed-off-by: Bruce Ma <bruce.ma@canonical.com>
> ---
>  drivers/bluetooth/btusb.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index eae58a1..3097ac8 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -138,6 +138,9 @@ static struct usb_device_id blacklist_table[] = {
> 	{ USB_DEVICE(0x0489, 0xe03d), .driver_info = BTUSB_IGNORE },
> 	{ USB_DEVICE(0x0489, 0xe027), .driver_info = BTUSB_IGNORE },
> +	/* Realtek 8723 Bluetooth */
> +	{ USB_DEVICE(0x0bda, 0xb728), .driver_info = BTUSB_IGNORE },
> +
> 	/* Atheros AR9285 Malbec with sflash firmware */
> 	{ USB_DEVICE(0x03f0, 0x311d), .driver_info = BTUSB_IGNORE },
>  -- 1.8.1.2

I suppose after adding the device to the blacklist it still doesn't
work? :)

What I mean is, what's the value of this patch if the experience the
user gets is the same both with and without it? Wouldn't it make more
sense to put some effort into fixing btusb so that this hardware *does*
work with it, or alternatively providing a separate driver to support
the hardware (after which it *would* be ok to add the id to the btusb
blacklist).

Johan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] btusb: add realtek 8723 in the blacklist
  2013-11-04  7:20 Bruce.Ma
  2013-11-04  7:47 ` Johan Hedberg
@ 2013-11-04  7:49 ` Marcel Holtmann
  1 sibling, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2013-11-04  7:49 UTC (permalink / raw)
  To: Bruce.Ma; +Cc: linux-bluetooth@vger.kernel.org development

Hi Bruce,

> From: Bruce Ma <bruce.ma@canonical.com>
> Date: Tue, 04 Nov 2013 11:21:20 +0800
> Subject: [PATCH] btusb: add Realtek 8723 in the blacklist
> 
> The btusb doesn't work with Realtek 8723 bluetooth device,
> so we want to add it to the blacklist.

this is the same answer as last time. I do not randomly blacklist devices for out of tree drivers. Changing the commit message to make this look more innocent is not going to help.

Someone has to do the real work and get the Realtek support integrated into btusb.ko driver.

Regards

Marcel


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-04  7:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30  4:53 [PATCH] btusb: add realtek 8723 in the blacklist Bruce.Ma
2013-10-30  7:21 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2013-11-04  7:20 Bruce.Ma
2013-11-04  7:47 ` Johan Hedberg
2013-11-04  7:49 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox