2008-11-04 16:24:48

by Tim Gardner

[permalink] [raw]
Subject: Dell Wireless 365 requires reset quirk

>From 931ccb629d739aa563347a4e866bc26107e6b545 Mon Sep 17 00:00:00 2001
From: Tim Gardner <[email protected]>
Date: Tue, 4 Nov 2008 09:18:06 -0700
Subject: [PATCH] Dell Wireless 365 needs BTUSB_RESET quirk.
OriginalAuthor: Mario Limonciello <[email protected]>

Signed-off-by: Tim Gardner <[email protected]>
Cc: [email protected]
---
drivers/bluetooth/btusb.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index af472e0..051b758 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -125,6 +125,9 @@ static struct usb_device_id blacklist_table[] = {
/* Dell laptop with Broadcom chip */
{ USB_DEVICE(0x413c, 0x8126), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },

+ /* Dell Wireless 365 */
+ { USB_DEVICE(0x413c, 0x8160), .driver_info = BTUSB_RESET },
+
/* Dell Wireless 370 */
{ USB_DEVICE(0x413c, 0x8156), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },

--
1.5.6.3



2008-11-30 10:33:39

by Marcel Holtmann

[permalink] [raw]
Subject: Re: Dell Wireless 365 requires reset quirk

Hi Tim,

> >> >From 931ccb629d739aa563347a4e866bc26107e6b545 Mon Sep 17 00:00:00 2001
> >> From: Tim Gardner <[email protected]>
> >> Date: Tue, 4 Nov 2008 09:18:06 -0700
> >> Subject: [PATCH] Dell Wireless 365 needs BTUSB_RESET quirk.
> >> OriginalAuthor: Mario Limonciello <[email protected]>
> >>
> >> Signed-off-by: Tim Gardner <[email protected]>
> >> Cc: [email protected]
> >> ---
> >> drivers/bluetooth/btusb.c | 3 +++
> >> 1 files changed, 3 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> >> index af472e0..051b758 100644
> >> --- a/drivers/bluetooth/btusb.c
> >> +++ b/drivers/bluetooth/btusb.c
> >> @@ -125,6 +125,9 @@ static struct usb_device_id blacklist_table[] = {
> >> /* Dell laptop with Broadcom chip */
> >> { USB_DEVICE(0x413c, 0x8126), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
> >>
> >> + /* Dell Wireless 365 */
> >> + { USB_DEVICE(0x413c, 0x8160), .driver_info = BTUSB_RESET },
> >> +
> >> /* Dell Wireless 370 */
> >> { USB_DEVICE(0x413c, 0x8156), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
> >>
> >
> > I shall assume that this patch was authored by Mario. This should have
> > been communicated by adding his From: line right at the top of the
> > changelog. Mario's signed-off-by: is absent, but that is tolerable
> > because we have yours.
> >
> > The (absent) changelog fails to explain what effect this patch has.
> > _why_ does this driver need this quirk?
> >
> > As it stands, there is insufficient information here for making
> > 2.6.28-vs-2.6.29 decisions, let alone 2.6.27.x, 2.6.26.x, etc.
> >
>
> Is this better (aside from being an attachment) ?

the patch will no longer be needed. I am making HCI Reset the default
and only letting the old drivers quirk a NO_RESET.

Regards

Marcel



2008-11-14 00:59:50

by Tim Gardner

[permalink] [raw]
Subject: Re: Dell Wireless 365 requires reset quirk

Andrew Morton wrote:
> On Tue, 4 Nov 2008 09:24:48 -0700 (MST)
> [email protected] (Tim Gardner) wrote:
>
>> >From 931ccb629d739aa563347a4e866bc26107e6b545 Mon Sep 17 00:00:00 2001
>> From: Tim Gardner <[email protected]>
>> Date: Tue, 4 Nov 2008 09:18:06 -0700
>> Subject: [PATCH] Dell Wireless 365 needs BTUSB_RESET quirk.
>> OriginalAuthor: Mario Limonciello <[email protected]>
>>
>> Signed-off-by: Tim Gardner <[email protected]>
>> Cc: [email protected]
>> ---
>> drivers/bluetooth/btusb.c | 3 +++
>> 1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
>> index af472e0..051b758 100644
>> --- a/drivers/bluetooth/btusb.c
>> +++ b/drivers/bluetooth/btusb.c
>> @@ -125,6 +125,9 @@ static struct usb_device_id blacklist_table[] = {
>> /* Dell laptop with Broadcom chip */
>> { USB_DEVICE(0x413c, 0x8126), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
>>
>> + /* Dell Wireless 365 */
>> + { USB_DEVICE(0x413c, 0x8160), .driver_info = BTUSB_RESET },
>> +
>> /* Dell Wireless 370 */
>> { USB_DEVICE(0x413c, 0x8156), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
>>
>
> I shall assume that this patch was authored by Mario. This should have
> been communicated by adding his From: line right at the top of the
> changelog. Mario's signed-off-by: is absent, but that is tolerable
> because we have yours.
>
> The (absent) changelog fails to explain what effect this patch has.
> _why_ does this driver need this quirk?
>
> As it stands, there is insufficient information here for making
> 2.6.28-vs-2.6.29 decisions, let alone 2.6.27.x, 2.6.26.x, etc.
>

Is this better (aside from being an attachment) ?

rtg
--
Tim Gardner [email protected]


Attachments:
0001--bluetooth-Dell-Wireless-365-needs-BTUSB_RESET-qui.patch (1.16 kB)

2008-11-11 23:41:21

by Mario Limonciello

[permalink] [raw]
Subject: Re: Dell Wireless 365 requires reset quirk

Andrew Morton wrote:
> On Tue, 4 Nov 2008 09:24:48 -0700 (MST)
> [email protected] (Tim Gardner) wrote:
>
>
>
> I shall assume that this patch was authored by Mario. This should have
> been communicated by adding his From: line right at the top of the
> changelog. Mario's signed-off-by: is absent, but that is tolerable
> because we have yours.
>
> The (absent) changelog fails to explain what effect this patch has.
> _why_ does this driver need this quirk?
>
> As it stands, there is insufficient information here for making
> 2.6.28-vs-2.6.29 decisions, let alone 2.6.27.x, 2.6.26.x, etc.
>
Hi Andrew:

This patch causes the BT365 to be reset when the driver is loaded.
Without it, you won't be able to connect to other devices or scan for
devices.

Regards

--
Mario Limonciello
*Dell | Linux Engineering*
[email protected]


Attachments:
signature.asc (260.00 B)
OpenPGP digital signature

2008-11-11 22:57:06

by Andrew Morton

[permalink] [raw]
Subject: Re: Dell Wireless 365 requires reset quirk

On Tue, 4 Nov 2008 09:24:48 -0700 (MST)
[email protected] (Tim Gardner) wrote:

> >From 931ccb629d739aa563347a4e866bc26107e6b545 Mon Sep 17 00:00:00 2001
> From: Tim Gardner <[email protected]>
> Date: Tue, 4 Nov 2008 09:18:06 -0700
> Subject: [PATCH] Dell Wireless 365 needs BTUSB_RESET quirk.
> OriginalAuthor: Mario Limonciello <[email protected]>
>
> Signed-off-by: Tim Gardner <[email protected]>
> Cc: [email protected]
> ---
> drivers/bluetooth/btusb.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index af472e0..051b758 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -125,6 +125,9 @@ static struct usb_device_id blacklist_table[] = {
> /* Dell laptop with Broadcom chip */
> { USB_DEVICE(0x413c, 0x8126), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
>
> + /* Dell Wireless 365 */
> + { USB_DEVICE(0x413c, 0x8160), .driver_info = BTUSB_RESET },
> +
> /* Dell Wireless 370 */
> { USB_DEVICE(0x413c, 0x8156), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
>

I shall assume that this patch was authored by Mario. This should have
been communicated by adding his From: line right at the top of the
changelog. Mario's signed-off-by: is absent, but that is tolerable
because we have yours.

The (absent) changelog fails to explain what effect this patch has.
_why_ does this driver need this quirk?

As it stands, there is insufficient information here for making
2.6.28-vs-2.6.29 decisions, let alone 2.6.27.x, 2.6.26.x, etc.