2012-07-18 09:05:05

by Chen, Peng

[permalink] [raw]
Subject: [patch]Add Vendor/Device ID for AR3012

>From 7340f148e72f2bee78563c0ca9a37d82a5b99d64 Mon Sep 17 00:00:00 2001=0A=
From: Peng Chen <[email protected]>=0A=
Date: Wed, 18 Jul 2012 16:58:28 +0800=0A=
Subject: [PATCH] [patch]Add Vendor/Device ID for AR3012=0A=
=0A=
Add Vendor/Device ID for Qualcomm Atheros AR3012.=0A=
=0A=
Signed-off-by: Peng Chen <[email protected]>=0A=
---=0A=
drivers/bluetooth/ath3k.c | 1 +=0A=
1 file changed, 1 insertion(+)=0A=
=0A=
diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c=0A=
index 10308cd..7ce0aa2 100644=0A=
--- a/drivers/bluetooth/ath3k.c=0A=
+++ b/drivers/bluetooth/ath3k.c=0A=
@@ -79,6 +79,7 @@ static struct usb_device_id ath3k_table[] =3D {=0A=
{ USB_DEVICE(0x13d3, 0x3362) },=0A=
{ USB_DEVICE(0x0CF3, 0xE004) },=0A=
{ USB_DEVICE(0x0930, 0x0219) },=0A=
+ { USB_DEVICE(0x0489, 0xE057) },=0A=
=0A=
/* Atheros AR5BBU12 with sflash firmware */=0A=
{ USB_DEVICE(0x0489, 0xE02C) },=0A=
-- =0A=
1.7.9.5=0A=
=0A=
=0A=
=0A=
=0A=


2012-08-01 01:52:08

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [patch]Add Vendor/Device ID for AR3012

Hi Peng,

> How about this patch? Is there any problem?

please use git send-email so we can just use git am to apply them. You
need to submit patches the right way.

Regards

Marcel



2012-07-23 06:25:37

by Chen, Peng

[permalink] [raw]
Subject: RE: [patch]Add Vendor/Device ID for AR3012

Hi Holtmann,

Sorry. I am not familiar with using git to send mail right now.
_________________________


>From a1653337899ad56b23b52c43824445b8f23a24fd Mon Sep 17 00:00:00 2001
From: Peng Chen <[email protected]>
Date: Mon, 23 Jul 2012 12:56:20 +0800
Subject: [PATCH] Bluetooth: add support for atheros 0489:e057

Add support for the AR3012 chip found on Foxconn.

usb-devices shows:

T: Bus=06 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 44 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0489 ProdID=e057 Rev= 0.02
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms

Signed-off-by: Peng Chen <[email protected]>
---
drivers/bluetooth/ath3k.c | 2 ++
drivers/bluetooth/btusb.c | 1 +
2 files changed, 3 insertions(+)

diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
index 10308cd..11f36e5 100644
--- a/drivers/bluetooth/ath3k.c
+++ b/drivers/bluetooth/ath3k.c
@@ -79,6 +79,7 @@ static struct usb_device_id ath3k_table[] = {
{ USB_DEVICE(0x13d3, 0x3362) },
{ USB_DEVICE(0x0CF3, 0xE004) },
{ USB_DEVICE(0x0930, 0x0219) },
+ { USB_DEVICE(0x0489, 0xe057) },

/* Atheros AR5BBU12 with sflash firmware */
{ USB_DEVICE(0x0489, 0xE02C) },
@@ -104,6 +105,7 @@ static struct usb_device_id ath3k_blist_tbl[] = {
{ USB_DEVICE(0x13d3, 0x3362), .driver_info = BTUSB_ATH3012 },
{ USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 },
{ USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
+ { USB_DEVICE(0x0489, 0xe057), .driver_info = BTUSB_ATH3012 },

/* Atheros AR5BBU22 with sflash firmware */
{ USB_DEVICE(0x0489, 0xE03C), .driver_info = BTUSB_ATH3012 },
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index e272214..4e007ac 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -133,6 +133,7 @@ static struct usb_device_id blacklist_table[] = {
{ USB_DEVICE(0x13d3, 0x3362), .driver_info = BTUSB_ATH3012 },
{ USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 },
{ USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
+ { USB_DEVICE(0x0489, 0xe057), .driver_info = BTUSB_ATH3012 },

/* Atheros AR5BBU12 with sflash firmware */
{ USB_DEVICE(0x0489, 0xe02c), .driver_info = BTUSB_IGNORE },
--
1.7.9.5


2012-07-19 05:34:01

by Bala Shanmugam

[permalink] [raw]
Subject: Re: [patch]Add Vendor/Device ID for AR3012

On 07/18/2012 02:35 PM, Chen, Peng wrote:
> From 7340f148e72f2bee78563c0ca9a37d82a5b99d64 Mon Sep 17 00:00:00 2001
> From: Peng Chen<[email protected]>
> Date: Wed, 18 Jul 2012 16:58:28 +0800
> Subject: [PATCH] [patch]Add Vendor/Device ID for AR3012
>
> Add Vendor/Device ID for Qualcomm Atheros AR3012.
>
> Signed-off-by: Peng Chen<[email protected]>
> ---
> drivers/bluetooth/ath3k.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
> index 10308cd..7ce0aa2 100644
> --- a/drivers/bluetooth/ath3k.c
> +++ b/drivers/bluetooth/ath3k.c
> @@ -79,6 +79,7 @@ static struct usb_device_id ath3k_table[] = {
> { USB_DEVICE(0x13d3, 0x3362) },
> { USB_DEVICE(0x0CF3, 0xE004) },
> { USB_DEVICE(0x0930, 0x0219) },
> + { USB_DEVICE(0x0489, 0xE057) },
>
> /* Atheros AR5BBU12 with sflash firmware */
> { USB_DEVICE(0x0489, 0xE02C) },
Hi Chen,

I think you also need to add these ids to ath3k blacklist table
[ath3k_blist_tbl] to load patch,
syscfg files and in btusb blacklist table [blacklist_table] in btusb.c
to give the control to ath3k
driver to load firmware.

Regards,
Bala.

2012-07-18 11:27:00

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [patch]Add Vendor/Device ID for AR3012

Hi Peng,

> From 7340f148e72f2bee78563c0ca9a37d82a5b99d64 Mon Sep 17 00:00:00 2001
> From: Peng Chen <[email protected]>
> Date: Wed, 18 Jul 2012 16:58:28 +0800
> Subject: [PATCH] [patch]Add Vendor/Device ID for AR3012

ever considered to just use git send-email.

> Add Vendor/Device ID for Qualcomm Atheros AR3012.

and please include the device parts from /sys/kernel/debug/usb/devices
here.

Regards

Marcel



2012-08-01 01:49:15

by Chen, Peng

[permalink] [raw]
Subject: RE: [patch]Add Vendor/Device ID for AR3012

Hi Hotmann,=0A=
=0A=
How about this patch? Is there any problem?=0A=
=0A=
=0A=
Best Regards=0A=
Peng=0A=
=0A=
________________________________________=0A=
From: Chen, Peng=0A=
Sent: Monday, July 23, 2012 2:25 PM=0A=
To: Marcel Holtmann=0A=
Cc: [email protected]; [email protected]; Waller, Carolyn; =
Jeang, Daniel; Shanmugam Kamatchi, Bala; Yao, Costa; Fan, Hong; Balasubrama=
nian, Senthil Kumar; Wu, Frank=0A=
Subject: RE: [patch]Add Vendor/Device ID for AR3012=0A=
=0A=
Hi Holtmann,=0A=
=0A=
Sorry. I am not familiar with using git to send mail right now.=0A=
_________________________=0A=
=0A=
=0A=
>From a1653337899ad56b23b52c43824445b8f23a24fd Mon Sep 17 00:00:00 2001=0A=
From: Peng Chen <[email protected]>=0A=
Date: Mon, 23 Jul 2012 12:56:20 +0800=0A=
Subject: [PATCH] Bluetooth: add support for atheros 0489:e057=0A=
=0A=
Add support for the AR3012 chip found on Foxconn.=0A=
=0A=
usb-devices shows:=0A=
=0A=
T: Bus=3D06 Lev=3D01 Prnt=3D01 Port=3D00 Cnt=3D01 Dev#=3D 44 Spd=3D12 =
MxCh=3D 0=0A=
D: Ver=3D 1.10 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 MxPS=3D64 #Cfgs=3D =
1=0A=
P: Vendor=3D0489 ProdID=3De057 Rev=3D 0.02=0A=
C:* #Ifs=3D 2 Cfg#=3D 1 Atr=3De0 MxPwr=3D100mA=0A=
I:* If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Driv=
er=3Dbtusb=0A=
E: Ad=3D81(I)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: If#=3D 1 Alt=3D 5 #EPs=3D 2 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Driv=
er=3Dbtusb=0A=
E: Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D 49 Ivl=3D1ms=0A=
E: Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D 49 Ivl=3D1ms=0A=
=0A=
Signed-off-by: Peng Chen <[email protected]>=0A=
---=0A=
drivers/bluetooth/ath3k.c | 2 ++=0A=
drivers/bluetooth/btusb.c | 1 +=0A=
2 files changed, 3 insertions(+)=0A=
=0A=
diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c=0A=
index 10308cd..11f36e5 100644=0A=
--- a/drivers/bluetooth/ath3k.c=0A=
+++ b/drivers/bluetooth/ath3k.c=0A=
@@ -79,6 +79,7 @@ static struct usb_device_id ath3k_table[] =3D {=0A=
{ USB_DEVICE(0x13d3, 0x3362) },=0A=
{ USB_DEVICE(0x0CF3, 0xE004) },=0A=
{ USB_DEVICE(0x0930, 0x0219) },=0A=
+ { USB_DEVICE(0x0489, 0xe057) },=0A=
=0A=
/* Atheros AR5BBU12 with sflash firmware */=0A=
{ USB_DEVICE(0x0489, 0xE02C) },=0A=
@@ -104,6 +105,7 @@ static struct usb_device_id ath3k_blist_tbl[] =3D {=0A=
{ USB_DEVICE(0x13d3, 0x3362), .driver_info =3D BTUSB_ATH3012 },=0A=
{ USB_DEVICE(0x0cf3, 0xe004), .driver_info =3D BTUSB_ATH3012 },=0A=
{ USB_DEVICE(0x0930, 0x0219), .driver_info =3D BTUSB_ATH3012 },=0A=
+ { USB_DEVICE(0x0489, 0xe057), .driver_info =3D BTUSB_ATH3012 },=0A=
=0A=
/* Atheros AR5BBU22 with sflash firmware */=0A=
{ USB_DEVICE(0x0489, 0xE03C), .driver_info =3D BTUSB_ATH3012 },=0A=
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c=0A=
index e272214..4e007ac 100644=0A=
--- a/drivers/bluetooth/btusb.c=0A=
+++ b/drivers/bluetooth/btusb.c=0A=
@@ -133,6 +133,7 @@ static struct usb_device_id blacklist_table[] =3D {=0A=
{ USB_DEVICE(0x13d3, 0x3362), .driver_info =3D BTUSB_ATH3012 },=0A=
{ USB_DEVICE(0x0cf3, 0xe004), .driver_info =3D BTUSB_ATH3012 },=0A=
{ USB_DEVICE(0x0930, 0x0219), .driver_info =3D BTUSB_ATH3012 },=0A=
+ { USB_DEVICE(0x0489, 0xe057), .driver_info =3D BTUSB_ATH3012 },=0A=
=0A=
/* Atheros AR5BBU12 with sflash firmware */=0A=
{ USB_DEVICE(0x0489, 0xe02c), .driver_info =3D BTUSB_IGNORE },=0A=
--=0A=
1.7.9.5=0A=
=0A=