All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] please add VID/PID to ath3k (AR3012)
@ 2012-07-31 15:53 Yevgeniy Melnichuk
  2012-07-31 15:56 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Yevgeniy Melnichuk @ 2012-07-31 15:53 UTC (permalink / raw)
  To: marcel; +Cc: linux-bluetooth, shafi.ath9k, gustavo

[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]

hi,

the VID/PID in the patch belong to a Sony Vaio T-Series.

thx

diff -c2 drivers/bluetooth/ath3k.c drivers/bluetooth-patched/ath3k.c
*** drivers/bluetooth/ath3k.c    2012-07-31 16:09:41.274043862 +0200
--- drivers/bluetooth-patched/ath3k.c    2012-07-31 16:23:59.390051062 +0200
***************
*** 80,83 ****
--- 80,84 ----
      { USB_DEVICE(0x0CF3, 0xE004) },
      { USB_DEVICE(0x0930, 0x0219) },
+     { USB_DEVICE(0x0489, 0xe036) },

      /* Atheros AR5BBU12 with sflash firmware */
***************
*** 109,112 ****
--- 110,115 ----
      { USB_DEVICE(0x0489, 0xE03C), .driver_info = BTUSB_ATH3012 },

+     { USB_DEVICE(0x0489, 0xe036), .driver_info = BTUSB_ATH3012 },
+
      { }    /* Terminating entry */
  };
diff -c2 drivers/bluetooth/btusb.c drivers/bluetooth-patched/btusb.c
*** drivers/bluetooth/btusb.c    2012-07-31 16:09:41.274043862 +0200
--- drivers/bluetooth-patched/btusb.c    2012-07-31 16:23:59.390051062 +0200
***************
*** 142,145 ****
--- 142,146 ----
      { USB_DEVICE(0x0cf3, 0xe004), .driver_info = BTUSB_ATH3012 },
      { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 },
+     { USB_DEVICE(0x0489, 0xe036), .driver_info = BTUSB_ATH3012 },

      /* Atheros AR5BBU12 with sflash firmware */

[-- Attachment #2: Type: text/html, Size: 1375 bytes --]

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

* Re: [PATCH] please add VID/PID to ath3k (AR3012)
  2012-07-31 15:53 [PATCH] please add VID/PID to ath3k (AR3012) Yevgeniy Melnichuk
@ 2012-07-31 15:56 ` Marcel Holtmann
  2012-07-31 17:20   ` Yevgeniy Melnichuk
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2012-07-31 15:56 UTC (permalink / raw)
  To: Yevgeniy Melnichuk; +Cc: linux-bluetooth, shafi.ath9k, gustavo

Hi Yevgeniy,

> the VID/PID in the patch belong to a Sony Vaio T-Series.

read Documentation/SubmittingPatches first. And in addition
include /sys/kernel/debug/usb/devices.

Regards

Marcel



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

* Re: [PATCH] please add VID/PID to ath3k (AR3012)
  2012-07-31 15:56 ` Marcel Holtmann
@ 2012-07-31 17:20   ` Yevgeniy Melnichuk
  2012-07-31 18:55     ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Yevgeniy Melnichuk @ 2012-07-31 17:20 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: linux-bluetooth, shafi.ath9k, gustavo

Hi Marcel,

thank you for the hint. i hope i get it right the second time.

description:
the patch adds 0489:E036 to the blacklist in btusb and to the support
list in ath3k. The VID/PID belongs to AR3012 chips used by Sony Vaio
T-Series.
Signed-off-by: Yevgeniy Melnichuk <yevgeniy.melnichuk@googlemail.com>



patch:
diff -uprN linux-3.5-orig/drivers/bluetooth/ath3k.c
linux-3.5/drivers/bluetooth/ath3k.c
--- linux-3.5-orig/drivers/bluetooth/ath3k.c	2012-07-21 22:58:29.000000000 +0200
+++ linux-3.5/drivers/bluetooth/ath3k.c	2012-07-31 18:21:41.044493550 +0200
@@ -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, 0xe036) },

 	/* Atheros AR5BBU12 with sflash firmware */
 	{ USB_DEVICE(0x0489, 0xE02C) },
@@ -107,6 +108,7 @@ static struct usb_device_id ath3k_blist_

 	/* Atheros AR5BBU22 with sflash firmware */
 	{ USB_DEVICE(0x0489, 0xE03C), .driver_info = BTUSB_ATH3012 },
+	{ USB_DEVICE(0x0489, 0xe036), .driver_info = BTUSB_ATH3012 },

 	{ }	/* Terminating entry */
 };
diff -uprN linux-3.5-orig/drivers/bluetooth/btusb.c
linux-3.5/drivers/bluetooth/btusb.c
--- linux-3.5-orig/drivers/bluetooth/btusb.c	2012-07-21 22:58:29.000000000 +0200
+++ linux-3.5/drivers/bluetooth/btusb.c	2012-07-31 18:22:58.572494201 +0200
@@ -141,6 +141,7 @@ static struct usb_device_id blacklist_ta
 	{ 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, 0xe036), .driver_info = BTUSB_ATH3012 },

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



content of /sys/kernel/debug/usb/devices:
T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 4
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 3.05
S:  Manufacturer=Linux 3.5.0 xhci_hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:14.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 4
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.05
S:  Manufacturer=Linux 3.5.0 xhci_hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:14.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.05
S:  Manufacturer=Linux 3.5.0 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 6
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=8087 ProdID=0024 Rev= 0.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.05
S:  Manufacturer=Linux 3.5.0 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:1a.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 6
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=8087 ProdID=0024 Rev= 0.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  6 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0489 ProdID=e036 Rev= 0.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
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

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=  4 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=04f2 ProdID=b328 Rev=29.17
S:  Manufacturer=Chicony Electronics Co.,Ltd.
S:  Product=USB 2.0 Camera
S:  SerialNumber=0x0001
C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
A:  FirstIf#= 0 IfCount= 2 Cls=0e(video) Sub=03 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
E:  Ad=83(I) Atr=03(Int.) MxPS=  16 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
I:  If#= 1 Alt= 1 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E:  Ad=81(I) Atr=05(Isoc) MxPS= 128 Ivl=125us
I:  If#= 1 Alt= 2 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E:  Ad=81(I) Atr=05(Isoc) MxPS= 512 Ivl=125us
I:  If#= 1 Alt= 3 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E:  Ad=81(I) Atr=05(Isoc) MxPS=1024 Ivl=125us
I:  If#= 1 Alt= 4 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E:  Ad=81(I) Atr=05(Isoc) MxPS=1536 Ivl=125us
I:  If#= 1 Alt= 5 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E:  Ad=81(I) Atr=05(Isoc) MxPS=2048 Ivl=125us
I:  If#= 1 Alt= 6 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E:  Ad=81(I) Atr=05(Isoc) MxPS=2688 Ivl=125us
I:  If#= 1 Alt= 7 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E:  Ad=81(I) Atr=05(Isoc) MxPS=3072 Ivl=125us

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

* Re: [PATCH] please add VID/PID to ath3k (AR3012)
  2012-07-31 17:20   ` Yevgeniy Melnichuk
@ 2012-07-31 18:55     ` Marcel Holtmann
  2012-08-02 11:11       ` Mohammed Shafi
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2012-07-31 18:55 UTC (permalink / raw)
  To: Yevgeniy Melnichuk; +Cc: linux-bluetooth, shafi.ath9k, gustavo

Hi Yevgeniy,

> thank you for the hint. i hope i get it right the second time.

please use git format-patch and create a proper patch. This is just a
random collection of information.

Regards

Marcel



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

* Re: [PATCH] please add VID/PID to ath3k (AR3012)
  2012-07-31 18:55     ` Marcel Holtmann
@ 2012-08-02 11:11       ` Mohammed Shafi
  0 siblings, 0 replies; 5+ messages in thread
From: Mohammed Shafi @ 2012-08-02 11:11 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: Yevgeniy Melnichuk, linux-bluetooth, gustavo

Hi Marcel/Gustavo,

> please use git format-patch and create a proper patch. This is just a
> random collection of information.

I am sending the patch with proper format, with Yevgeniy as the author. thanks.

regards,
shafi

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

end of thread, other threads:[~2012-08-02 11:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-31 15:53 [PATCH] please add VID/PID to ath3k (AR3012) Yevgeniy Melnichuk
2012-07-31 15:56 ` Marcel Holtmann
2012-07-31 17:20   ` Yevgeniy Melnichuk
2012-07-31 18:55     ` Marcel Holtmann
2012-08-02 11:11       ` Mohammed Shafi

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.