All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bluetooth: ath3k: added Atheros AR3012 with ID 0x0b05:0x17d0
@ 2014-02-27 21:40 Bela Hausmann
  2014-02-27 22:43 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Bela Hausmann @ 2014-02-27 21:40 UTC (permalink / raw)
  To: linux-bluetooth

This adds support for the Atheros AR3012 chipset on the ASUS Z87-Pro (C2) mainboard (ID 0x0b05:0x17d0).

Signed-off-by: Bela Hausmann <bela.hausmann@gmail.com>
---
diff -uprN -X linux-3.13.5-gentoo/Documentation/dontdiff linux-3.13.5-gentoo/drivers/bluetooth/ath3k.c linux-3.13.5-gentoo-bela/drivers/bluetooth/ath3k.c
--- linux-3.13.5-gentoo/drivers/bluetooth/ath3k.c    2014-01-20 03:40:07.000000000 +0100
+++ linux-3.13.5-gentoo-bela/drivers/bluetooth/ath3k.c    2014-02-27 20:09:33.047878117 +0100
@@ -97,6 +97,7 @@ static const struct usb_device_id ath3k_
     { USB_DEVICE(0x13d3, 0x3402) },
     { USB_DEVICE(0x0cf3, 0x3121) },
     { USB_DEVICE(0x0cf3, 0xe003) },
+    { USB_DEVICE(0x0b05, 0x17d0) },

     /* Atheros AR5BBU12 with sflash firmware */
     { USB_DEVICE(0x0489, 0xE02C) },
@@ -140,6 +141,7 @@ static const struct usb_device_id ath3k_
     { USB_DEVICE(0x13d3, 0x3402), .driver_info = BTUSB_ATH3012 },
     { USB_DEVICE(0x0cf3, 0x3121), .driver_info = BTUSB_ATH3012 },
     { USB_DEVICE(0x0cf3, 0xe003), .driver_info = BTUSB_ATH3012 },
+    { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },

     /* Atheros AR5BBU22 with sflash firmware */
     { USB_DEVICE(0x0489, 0xE03C), .driver_info = BTUSB_ATH3012 },
diff -uprN -X linux-3.13.5-gentoo/Documentation/dontdiff linux-3.13.5-gentoo/drivers/bluetooth/btusb.c linux-3.13.5-gentoo-bela/drivers/bluetooth/btusb.c
--- linux-3.13.5-gentoo/drivers/bluetooth/btusb.c    2014-01-20 03:40:07.000000000 +0100
+++ linux-3.13.5-gentoo-bela/drivers/bluetooth/btusb.c    2014-02-27 20:10:20.825905643 +0100
@@ -164,6 +164,7 @@ static const struct usb_device_id blackl
     { USB_DEVICE(0x13d3, 0x3402), .driver_info = BTUSB_ATH3012 },
     { USB_DEVICE(0x0cf3, 0x3121), .driver_info = BTUSB_ATH3012 },
     { USB_DEVICE(0x0cf3, 0xe003), .driver_info = BTUSB_ATH3012 },
+    { USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] bluetooth: ath3k: added Atheros AR3012 with ID 0x0b05:0x17d0
  2014-02-27 21:40 [PATCH] bluetooth: ath3k: added Atheros AR3012 with ID 0x0b05:0x17d0 Bela Hausmann
@ 2014-02-27 22:43 ` Marcel Holtmann
  2014-02-27 22:54   ` Bela Hausmann
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2014-02-27 22:43 UTC (permalink / raw)
  To: Bela Hausmann; +Cc: linux-bluetooth

Hi Bela,

> This adds support for the Atheros AR3012 chipset on the ASUS Z87-Pro (C2) mainboard (ID 0x0b05:0x17d0).

include the content of /sys/kernel/debug/usb/devices for this controller.

> 
> Signed-off-by: Bela Hausmann <bela.hausmann@gmail.com>
> ---
> diff -uprN -X linux-3.13.5-gentoo/Documentation/dontdiff linux-3.13.5-gentoo/drivers/bluetooth/ath3k.c linux-3.13.5-gentoo-bela/drivers/bluetooth/ath3k.c
> --- linux-3.13.5-gentoo/drivers/bluetooth/ath3k.c    2014-01-20 03:40:07.000000000 +0100
> +++ linux-3.13.5-gentoo-bela/drivers/bluetooth/ath3k.c    2014-02-27 20:09:33.047878117 +0100
> @@ -97,6 +97,7 @@ static const struct usb_device_id ath3k_
>     { USB_DEVICE(0x13d3, 0x3402) },
>     { USB_DEVICE(0x0cf3, 0x3121) },
>     { USB_DEVICE(0x0cf3, 0xe003) },
> +    { USB_DEVICE(0x0b05, 0x17d0) },

Make sure that you email client does not screw up tabs. This looks pretty much like it is messed up.

Regards

Marcel



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] bluetooth: ath3k: added Atheros AR3012 with ID 0x0b05:0x17d0
  2014-02-27 22:43 ` Marcel Holtmann
@ 2014-02-27 22:54   ` Bela Hausmann
  2014-02-27 23:19     ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Bela Hausmann @ 2014-02-27 22:54 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: linux-bluetooth

Hi Marcel,

sorry for the messed up tabs.

Here is /sys/kernel/debug/usb/devices:
T:  Bus=02 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#=  4 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0b05 ProdID=17d0 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

An again the patch.

Best wishes,
Bela


This adds support for the Atheros AR3012 chipset on the ASUS Z87-Pro (C2) mainboard (ID 0x0b05:0x17d0).

Signed-off-by: Bela Hausmann <bela.hausmann@gmail.com>
---
diff -uprN -X linux-3.13.5-gentoo/Documentation/dontdiff linux-3.13.5-gentoo/drivers/bluetooth/ath3k.c linux-3.13.5-gentoo-bela/drivers/bluetooth/ath3k.c
--- linux-3.13.5-gentoo/drivers/bluetooth/ath3k.c	2014-01-20 03:40:07.000000000 +0100
+++ linux-3.13.5-gentoo-bela/drivers/bluetooth/ath3k.c	2014-02-27 20:09:33.047878117 +0100
@@ -97,6 +97,7 @@ static const struct usb_device_id ath3k_
 	{ USB_DEVICE(0x13d3, 0x3402) },
 	{ USB_DEVICE(0x0cf3, 0x3121) },
 	{ USB_DEVICE(0x0cf3, 0xe003) },
+	{ USB_DEVICE(0x0b05, 0x17d0) },

 	/* Atheros AR5BBU12 with sflash firmware */
 	{ USB_DEVICE(0x0489, 0xE02C) },
@@ -140,6 +141,7 @@ static const struct usb_device_id ath3k_
 	{ USB_DEVICE(0x13d3, 0x3402), .driver_info = BTUSB_ATH3012 },
 	{ USB_DEVICE(0x0cf3, 0x3121), .driver_info = BTUSB_ATH3012 },
 	{ USB_DEVICE(0x0cf3, 0xe003), .driver_info = BTUSB_ATH3012 },
+	{ USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },

 	/* Atheros AR5BBU22 with sflash firmware */
 	{ USB_DEVICE(0x0489, 0xE03C), .driver_info = BTUSB_ATH3012 },
diff -uprN -X linux-3.13.5-gentoo/Documentation/dontdiff linux-3.13.5-gentoo/drivers/bluetooth/btusb.c linux-3.13.5-gentoo-bela/drivers/bluetooth/btusb.c
--- linux-3.13.5-gentoo/drivers/bluetooth/btusb.c	2014-01-20 03:40:07.000000000 +0100
+++ linux-3.13.5-gentoo-bela/drivers/bluetooth/btusb.c	2014-02-27 20:10:20.825905643 +0100
@@ -164,6 +164,7 @@ static const struct usb_device_id blackl
 	{ USB_DEVICE(0x13d3, 0x3402), .driver_info = BTUSB_ATH3012 },
 	{ USB_DEVICE(0x0cf3, 0x3121), .driver_info = BTUSB_ATH3012 },
 	{ USB_DEVICE(0x0cf3, 0xe003), .driver_info = BTUSB_ATH3012 },
+	{ USB_DEVICE(0x0b05, 0x17d0), .driver_info = BTUSB_ATH3012 },

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



On 27/02/14 23:43, Marcel Holtmann wrote:
> Hi Bela,
> 
>> This adds support for the Atheros AR3012 chipset on the ASUS Z87-Pro (C2) mainboard (ID 0x0b05:0x17d0).
> 
> include the content of /sys/kernel/debug/usb/devices for this controller.
> 
>>
>> Signed-off-by: Bela Hausmann <bela.hausmann@gmail.com>
>> ---
>> diff -uprN -X linux-3.13.5-gentoo/Documentation/dontdiff linux-3.13.5-gentoo/drivers/bluetooth/ath3k.c linux-3.13.5-gentoo-bela/drivers/bluetooth/ath3k.c
>> --- linux-3.13.5-gentoo/drivers/bluetooth/ath3k.c    2014-01-20 03:40:07.000000000 +0100
>> +++ linux-3.13.5-gentoo-bela/drivers/bluetooth/ath3k.c    2014-02-27 20:09:33.047878117 +0100
>> @@ -97,6 +97,7 @@ static const struct usb_device_id ath3k_
>>     { USB_DEVICE(0x13d3, 0x3402) },
>>     { USB_DEVICE(0x0cf3, 0x3121) },
>>     { USB_DEVICE(0x0cf3, 0xe003) },
>> +    { USB_DEVICE(0x0b05, 0x17d0) },
> 
> Make sure that you email client does not screw up tabs. This looks pretty much like it is messed up.
> 
> Regards
> 
> Marcel
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] bluetooth: ath3k: added Atheros AR3012 with ID 0x0b05:0x17d0
  2014-02-27 22:54   ` Bela Hausmann
@ 2014-02-27 23:19     ` Marcel Holtmann
  2014-02-28 20:26       ` Bela Hausmann
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2014-02-27 23:19 UTC (permalink / raw)
  To: Bela Hausmann; +Cc: linux-bluetooth

Hi Bela,

> Hi Marcel,
> 
> sorry for the messed up tabs.
> 
> Here is /sys/kernel/debug/usb/devices:
> T:  Bus=02 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#=  4 Spd=12   MxCh= 0
> D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
> P:  Vendor=0b05 ProdID=17d0 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
> 
> An again the patch.
> 
> Best wishes,
> Bela

why don’t you use git-format-patch and git-send-email. Just save the email you send as raw text and see what happens if you apply it with git-am and then look at git-log.

Regards

Marcel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] bluetooth: ath3k: added Atheros AR3012 with ID 0x0b05:0x17d0
  2014-02-27 23:19     ` Marcel Holtmann
@ 2014-02-28 20:26       ` Bela Hausmann
  0 siblings, 0 replies; 5+ messages in thread
From: Bela Hausmann @ 2014-02-28 20:26 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: linux-bluetooth

Hi Marcel,

I would, but I just now noticed that you already added this device ID
a few days ago in commit a735f9e22432899cee188d167966782c29246390 to
linux-next [1]. Thank you!

Best wishes,
Bela

[1] https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit=
/drivers/bluetooth?id=3Da735f9e22432899cee188d167966782c29246390

2014-02-28 0:19 GMT+01:00 Marcel Holtmann <marcel@holtmann.org>:
> Hi Bela,
>
>> Hi Marcel,
>>
>> sorry for the messed up tabs.
>>
>> Here is /sys/kernel/debug/usb/devices:
>> T:  Bus=3D02 Lev=3D02 Prnt=3D02 Port=3D03 Cnt=3D02 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=3D0b05 ProdID=3D17d0 Rev=3D 0.02
>> 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 Drive=
r=3Dbtusb
>> E:  Ad=3D81(I) Atr=3D03(Int.) MxPS=3D  16 Ivl=3D1ms
>> E:  Ad=3D82(I) Atr=3D02(Bulk) MxPS=3D  64 Ivl=3D0ms
>> E:  Ad=3D02(O) Atr=3D02(Bulk) MxPS=3D  64 Ivl=3D0ms
>> I:* If#=3D 1 Alt=3D 0 #EPs=3D 2 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Drive=
r=3Dbtusb
>> E:  Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D   0 Ivl=3D1ms
>> E:  Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D   0 Ivl=3D1ms
>> I:  If#=3D 1 Alt=3D 1 #EPs=3D 2 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Drive=
r=3Dbtusb
>> E:  Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D   9 Ivl=3D1ms
>> E:  Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D   9 Ivl=3D1ms
>> I:  If#=3D 1 Alt=3D 2 #EPs=3D 2 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Drive=
r=3Dbtusb
>> E:  Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D  17 Ivl=3D1ms
>> E:  Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D  17 Ivl=3D1ms
>> I:  If#=3D 1 Alt=3D 3 #EPs=3D 2 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Drive=
r=3Dbtusb
>> E:  Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D  25 Ivl=3D1ms
>> E:  Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D  25 Ivl=3D1ms
>> I:  If#=3D 1 Alt=3D 4 #EPs=3D 2 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Drive=
r=3Dbtusb
>> E:  Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D  33 Ivl=3D1ms
>> E:  Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D  33 Ivl=3D1ms
>> I:  If#=3D 1 Alt=3D 5 #EPs=3D 2 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Drive=
r=3Dbtusb
>> E:  Ad=3D83(I) Atr=3D01(Isoc) MxPS=3D  49 Ivl=3D1ms
>> E:  Ad=3D03(O) Atr=3D01(Isoc) MxPS=3D  49 Ivl=3D1ms
>>
>> An again the patch.
>>
>> Best wishes,
>> Bela
>
> why don=E2=80=99t you use git-format-patch and git-send-email. Just save =
the email you send as raw text and see what happens if you apply it with gi=
t-am and then look at git-log.
>
> Regards
>
> Marcel
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-28 20:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-27 21:40 [PATCH] bluetooth: ath3k: added Atheros AR3012 with ID 0x0b05:0x17d0 Bela Hausmann
2014-02-27 22:43 ` Marcel Holtmann
2014-02-27 22:54   ` Bela Hausmann
2014-02-27 23:19     ` Marcel Holtmann
2014-02-28 20:26       ` Bela Hausmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.