2012-03-29 02:14:15

by AceLan Kao

[permalink] [raw]
Subject: [PATCH] Bluetooth: Add support for AR3012 [0cf3:e004]

Add another vendor specific ID for Atheros AR3012

output of usb-devices:
T: Bus=02 Lev=02 Prnt=02 Port=04 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0cf3 ProdID=e004 Rev=00.02
S: Manufacturer=Atheros Communications
S: Product=Bluetooth USB Host Controller
S: SerialNumber=Alaska Day 2006
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
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb

BugLink: https://bugs.launchpad.net/bugs/922715

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

diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
index ae9edca..e35a9c8 100644
--- a/drivers/bluetooth/ath3k.c
+++ b/drivers/bluetooth/ath3k.c
@@ -75,6 +75,7 @@ static struct usb_device_id ath3k_table[] = {
{ USB_DEVICE(0x0CF3, 0x311D) },
{ USB_DEVICE(0x13d3, 0x3375) },
{ USB_DEVICE(0x04CA, 0x3005) },
+ { USB_DEVICE(0x0CF3, 0xE004) },

/* Atheros AR5BBU12 with sflash firmware */
{ USB_DEVICE(0x0489, 0xE02C) },
@@ -94,6 +95,7 @@ static struct usb_device_id ath3k_blist_tbl[] = {
{ USB_DEVICE(0x0cf3, 0x311D), .driver_info = BTUSB_ATH3012 },
{ USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
{ USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 },
+ { USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 },

{ } /* Terminating entry */
};
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index ba89cd0..74f1ee4 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -133,6 +133,7 @@ static struct usb_device_id blacklist_table[] = {
{ USB_DEVICE(0x0cf3, 0x311d), .driver_info = BTUSB_ATH3012 },
{ USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 },
{ USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 },
+ { USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 },

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


2012-03-29 02:09:59

by AceLan Kao

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: Add support for AR3012 [0cf3:e004]

Dear Kris,

Actually, I don't know.
This id is found in the DW1703 combo card, it combo with ath9k wifi.
And the OEM/OEM engineer told us that the BT could be enabled by just
adding the id in the list.

BTW, sorry, this patch is not against the bluetooth-next tree, I'll
resend it again.

Best regards,
AceLan Kao.

=A6b 2012=A6~3=A4=EB28=A4=E9=A4U=A4=C89:44=A1AKris, Chen <bluefrog2012@gmai=
l.com> =BCg=B9D=A1G
> Hi, Acelan
>
> I want to know, compared with { USB_DEVICE(0x0CF3, 0x3004) }, is {
> USB_DEVICE(0x0CF3, 0xE004) } a new product of Atheros, or for a specific
> customer of Atheros?
>
> Thanks!
>
> Kris
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of AceLan Kao
> Sent: 2012=A6~3=A4=EB15=A4=E9 16:23
> To: [email protected]; Gustavo F. Padovan; Marcel Holtmann
> Subject: [PATCH] Bluetooth: Add support for AR3012 [0cf3:e004]
>
> Add another vendor specific ID for Atheros AR3012
>
> output of usb-devices:
> T: Bus=3D02 Lev=3D02 Prnt=3D02 Port=3D04 Cnt=3D01 Dev#=3D 4 Spd=3D12 M=
xCh=3D 0
> D: Ver=3D 1.10 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 MxPS=3D64 #Cfgs=3D 1
> P: Vendor=3D0cf3 ProdID=3De004 Rev=3D00.02
> S: Manufacturer=3DAtheros Communications
> S: Product=3DBluetooth USB Host Controller
> S: SerialNumber=3DAlaska Day 2006
> C: #Ifs=3D 2 Cfg#=3D 1 Atr=3De0 MxPwr=3D100mA
> I: If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Driver=
=3Dbtusb
> I: If#=3D 1 Alt=3D 0 #EPs=3D 2 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Driver=
=3Dbtusb
>
> BugLink: https://bugs.launchpad.net/bugs/922715
>
> Signed-off-by: AceLan Kao <[email protected]>
> ---
> drivers/bluetooth/ath3k.c | 2 ++
> drivers/bluetooth/btusb.c | 1 +
> 2 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
> index 07f14d1..b55fc76 100644
> --- a/drivers/bluetooth/ath3k.c
> +++ b/drivers/bluetooth/ath3k.c
> @@ -71,6 +71,7 @@ static struct usb_device_id ath3k_table[] =3D {
>
> /* Atheros AR3012 with sflash firmware*/
> { USB_DEVICE(0x0CF3, 0x3004) },
> + { USB_DEVICE(0x0CF3, 0xE004) },
>
> /* Atheros AR5BBU12 with sflash firmware */
> { USB_DEVICE(0x0489, 0xE02C) },
> @@ -87,6 +88,7 @@ static struct usb_device_id ath3k_blist_tbl[] =3D {
>
> /* Atheros AR3012 with sflash firmware*/
> { USB_DEVICE(0x0cf3, 0x3004), .driver_info =3D BTUSB_ATH3012 },
> + { USB_DEVICE(0x0cf3, 0xe004), .driver_info =3D BTUSB_ATH3012 },
>
> { } /* Terminating entry */
> };
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index 789c9b5..2b7d2d1 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -127,6 +127,7 @@ static struct usb_device_id blacklist_table[] =3D {
>
> /* Atheros 3012 with sflash firmware */
> { USB_DEVICE(0x0cf3, 0x3004), .driver_info =3D BTUSB_ATH3012 },
> + { USB_DEVICE(0x0cf3, 0xe004), .driver_info =3D BTUSB_ATH3012 },
>
> /* Atheros AR5BBU12 with sflash firmware */
> { USB_DEVICE(0x0489, 0xe02c), .driver_info =3D BTUSB_IGNORE },
> --
> 1.7.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth=
"
> in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>



--=20
Chia-Lin Kao(AceLan)
http://blog.acelan.idv.tw/
E-Mail: acelan.kaoATcanonical.com (s/AT/@/)

2012-03-28 13:44:00

by Bluefrog

[permalink] [raw]
Subject: RE: [PATCH] Bluetooth: Add support for AR3012 [0cf3:e004]

Hi, Acelan

I want to know, compared with { USB_DEVICE(0x0CF3, 0x3004) }, is {
USB_DEVICE(0x0CF3, 0xE004) } a new product of Atheros, or for a specific
customer of Atheros?

Thanks!

Kris

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of AceLan Kao
Sent: 2012=C4=EA3=D4=C215=C8=D5 16:23
To: [email protected]; Gustavo F. Padovan; Marcel Holtmann
Subject: [PATCH] Bluetooth: Add support for AR3012 [0cf3:e004]

Add another vendor specific ID for Atheros AR3012

output of usb-devices:
T: Bus=3D02 Lev=3D02 Prnt=3D02 Port=3D04 Cnt=3D01 Dev#=3D 4 Spd=3D12 =
MxCh=3D 0
D: Ver=3D 1.10 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 MxPS=3D64 #Cfgs=3D 1
P: Vendor=3D0cf3 ProdID=3De004 Rev=3D00.02
S: Manufacturer=3DAtheros Communications
S: Product=3DBluetooth USB Host Controller
S: SerialNumber=3DAlaska Day 2006
C: #Ifs=3D 2 Cfg#=3D 1 Atr=3De0 MxPwr=3D100mA
I: If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 =
Driver=3Dbtusb
I: If#=3D 1 Alt=3D 0 #EPs=3D 2 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 =
Driver=3Dbtusb

BugLink: https://bugs.launchpad.net/bugs/922715

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

diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
index 07f14d1..b55fc76 100644
--- a/drivers/bluetooth/ath3k.c
+++ b/drivers/bluetooth/ath3k.c
@@ -71,6 +71,7 @@ static struct usb_device_id ath3k_table[] =3D {
=20
/* Atheros AR3012 with sflash firmware*/
{ USB_DEVICE(0x0CF3, 0x3004) },
+ { USB_DEVICE(0x0CF3, 0xE004) },
=20
/* Atheros AR5BBU12 with sflash firmware */
{ USB_DEVICE(0x0489, 0xE02C) },
@@ -87,6 +88,7 @@ static struct usb_device_id ath3k_blist_tbl[] =3D {
=20
/* Atheros AR3012 with sflash firmware*/
{ USB_DEVICE(0x0cf3, 0x3004), .driver_info =3D BTUSB_ATH3012 },
+ { USB_DEVICE(0x0cf3, 0xe004), .driver_info =3D BTUSB_ATH3012 },
=20
{ } /* Terminating entry */
};
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 789c9b5..2b7d2d1 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -127,6 +127,7 @@ static struct usb_device_id blacklist_table[] =3D {
=20
/* Atheros 3012 with sflash firmware */
{ USB_DEVICE(0x0cf3, 0x3004), .driver_info =3D BTUSB_ATH3012 },
+ { USB_DEVICE(0x0cf3, 0xe004), .driver_info =3D BTUSB_ATH3012 },
=20
/* Atheros AR5BBU12 with sflash firmware */
{ USB_DEVICE(0x0489, 0xe02c), .driver_info =3D BTUSB_IGNORE },
--=20
1.7.9.1

2012-04-19 09:15:18

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: Add support for AR3012 [0cf3:e004]

Hi AceLan,

> Add another vendor specific ID for Atheros AR3012
>
> output of usb-devices:
> T: Bus=02 Lev=02 Prnt=02 Port=04 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
> D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
> P: Vendor=0cf3 ProdID=e004 Rev=00.02
> S: Manufacturer=Atheros Communications
> S: Product=Bluetooth USB Host Controller
> S: SerialNumber=Alaska Day 2006
> 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
> I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
>
> BugLink: https://bugs.launchpad.net/bugs/922715
>
> Signed-off-by: AceLan Kao <[email protected]>
> ---
> drivers/bluetooth/ath3k.c | 2 ++
> drivers/bluetooth/btusb.c | 1 +
> 2 files changed, 3 insertions(+)

patch has been applied to bluetooth and bluetooth-next trees.

Regards

Marcel