Skip to contentSkip to conversation

quirky dongle for hci_usb

PATCH Marcel Holtmann 1 participant 3 messages May 16, 2007 3 messages not in the archive Bluetooth drivers

lore
Share & tools
lore

Marcel Holtmann

author maintainer
#1 lore raw
In reply to a message not in the archive

Hi Oliver,

Quoted 5 lines

here's an additional device with the reset quirk.

Regards
Oliver

that patch doesn't apply since we already have this:

        /* Dell laptop with Broadcom chip */
        { USB_DEVICE(0x413c, 0x8126), .driver_info = HCI_WRONG_SCO_MTU },

Why do you think HCI_RESET is needed? Did Dell switched to using a HID proxy dongle or what?

Regards

Marcel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

author maintainer
#3 lore raw
In reply to a message not in the archive

Hi Oliver,

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines

here's an additional device with the reset quirk.

Regards
Oliver

that patch doesn't apply since we already have this:

Quoted 8 lines
Quoted 5 lines
        /* Dell laptop with Broadcom chip */
        { USB_DEVICE(0x413c, 0x8126), .driver_info = HCI_WRONG_SCO_MTU },

Why do you think HCI_RESET is needed? Did Dell switched to using a HID proxy dongle or what?

A user reported that his dongle needs a reset to work. A manual reset, the module option and that patch solved the issue.

an manual reset is not possible. The HCI_RESET quirk only end up sending HCI Reset as the first command. This actually only resets the Bluetooth chip and nothing on the USB bus. Only in cases of Broadcom HID proxy it triggers the HID to HCI switch.

I am simply not convinced that this is a HID proxy adapter and thus this patch is not needed at all.

Regards

Marcel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

author maintainer
#5 lore raw
In reply to a message not in the archive

Hi Oliver,

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines

A user reported that his dongle needs a reset to work. A manual reset, the module option and that patch solved the issue.

an manual reset is not possible. The HCI_RESET quirk only end up sending HCI Reset as the first command. This actually only resets the Bluetooth chip and nothing on the USB bus. Only in cases of Broadcom HID proxy it triggers the HID to HCI switch.

Quoted 7 lines
Quoted 2 lines

I am simply not convinced that this is a HID proxy adapter and thus this patch is not needed at all.

Well,

have a look yourself:
https://bugzilla.novell.com/show_bug.cgi?id=257303

I think that it is a userspace bug which we were dealing with for quite some time, but it is safe to send HCI Reset. So lets do that for all Broadcom based dongles.

Regards

Marcel

drivers/bluetooth/hci_usb.c +7 -7
index 406af57..caf9a3b 100644
@@ -115,24 +115,24 @@ static struct usb_device_id blacklist_ids[] = {
 	{ USB_DEVICE(0x0a5c, 0x2009), .driver_info = HCI_BCM92035 },
 
 	/* IBM/Lenovo ThinkPad with Broadcom chip */
-	{ USB_DEVICE(0x0a5c, 0x201e), .driver_info = HCI_WRONG_SCO_MTU },
-	{ USB_DEVICE(0x0a5c, 0x2110), .driver_info = HCI_WRONG_SCO_MTU },
+	{ USB_DEVICE(0x0a5c, 0x201e), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU },
+	{ USB_DEVICE(0x0a5c, 0x2110), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU },
 
 	/* ANYCOM Bluetooth USB-200 and USB-250 */
 	{ USB_DEVICE(0x0a5c, 0x2111), .driver_info = HCI_RESET },
 
 	/* HP laptop with Broadcom chip */
-	{ USB_DEVICE(0x03f0, 0x171d), .driver_info = HCI_WRONG_SCO_MTU },
+	{ USB_DEVICE(0x03f0, 0x171d), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU },
 
 	/* Dell laptop with Broadcom chip */
-	{ USB_DEVICE(0x413c, 0x8126), .driver_info = HCI_WRONG_SCO_MTU },
+	{ USB_DEVICE(0x413c, 0x8126), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU },
 
 	/* Microsoft Wireless Transceiver for Bluetooth 2.0 */
 	{ USB_DEVICE(0x045e, 0x009c), .driver_info = HCI_RESET },
 
 	/* Kensington Bluetooth USB adapter */
 	{ USB_DEVICE(0x047d, 0x105d), .driver_info = HCI_RESET },
-	{ USB_DEVICE(0x047d, 0x105e), .driver_info = HCI_WRONG_SCO_MTU },
+	{ USB_DEVICE(0x047d, 0x105e), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU },
 
 	/* ISSC Bluetooth Adapter v3.1 */
 	{ USB_DEVICE(0x1131, 0x1001), .driver_info = HCI_RESET },
@@ -142,8 +142,8 @@ static struct usb_device_id blacklist_ids[] = {
 	{ USB_DEVICE(0x0400, 0x080a), .driver_info = HCI_BROKEN_ISOC },
 
 	/* Belkin F8T012 and F8T013 devices */
-	{ USB_DEVICE(0x050d, 0x0012), .driver_info = HCI_WRONG_SCO_MTU },
-	{ USB_DEVICE(0x050d, 0x0013), .driver_info = HCI_WRONG_SCO_MTU },
+	{ USB_DEVICE(0x050d, 0x0012), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU },
+	{ USB_DEVICE(0x050d, 0x0013), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU },
 
 	/* Digianswer devices */
 	{ USB_DEVICE(0x08fd, 0x0001), .driver_info = HCI_DIGIANSWER },

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel