Skip to contentSkip to conversation

btusb: add realtek 8723 in the blacklist

PATCH In review Bruce.Ma 3 participants 3 messages Nov 4, 2013 Bluetooth drivers

lore
Share & tools
lore

Bruce.Ma

author
#0 lore raw

PATCH 1/1 btusb: add realtek 8723 in the blacklist

From: Bruce Ma <[email protected]>
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.

---
 drivers/bluetooth/btusb.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bluetooth/btusb.c +0 -0
index eae58a1..3097ac8 100644
@@ -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

#1 lore raw

Hi Bruce,

Quoted 17 lines · Bruce.Ma

From: Bruce Ma <[email protected]>
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.

---
 drivers/bluetooth/btusb.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bluetooth/btusb.c +0 -0
index eae58a1..3097ac8 100644

drivers/bluetooth/btusb.c static struct usb_device_id blacklist_table[] = { · line 145

Quoted 8 lines
drivers/bluetooth/btusb.c +3 -0
@@ -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

maintainer
#2 lore raw
In reply to Bruce.Ma

Hi Bruce,

Quoted 6 lines

From: Bruce Ma <[email protected]>
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