public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Allow SCO with Asus WL-BTD202 dongle in btusb
@ 2008-10-28  0:00 Guillaume Bedot
  2008-10-28  2:10 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Bedot @ 2008-10-28  0:00 UTC (permalink / raw)
  To: BlueZ development

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

Hello again,

This an other patch that allows my dongle to be configured correctly for
the voice/sco profile.

I already sent one for hci_usb some time ago, so it may sound familiar,
but it probably didn't have correct style...

Regards,

Guillaume B.

PS:
The HT-820 combo headset can now quite reliably use alternatively voice
and hi-fi profiles (and the keys).
This sometimes makes pulseaudio crash though.
Anyway, thanks for your hard work.


[-- Attachment #2: btusb-wl-btd202.patch --]
[-- Type: text/x-patch, Size: 856 bytes --]

This patch allows the 0b05:1715 Asus WL-BTD202 dongle to be used with a SCO 
headset with having to specify "options btusb force_scofix=1".

Signed-off-by: Guillaume Bedot <littletux@zarb.org>
--- kernel-linus-2.6.28-0.rc1.1.1mdv.orig/drivers/bluetooth/btusb.c	2008-10-27 17:38:14.000000000 +0100
+++ kernel-linus-2.6.28-0.rc1.1.1mdv/drivers/bluetooth/btusb.c	2008-10-27 17:43:34.000000000 +0100
@@ -109,6 +109,9 @@
 	/* Apple MacBook Pro with Broadcom chip */
 	{ USB_DEVICE(0x05ac, 0x820f), .driver_info = BTUSB_RESET },
 
+	/* Asus dongle with Broadcom 2045 chip */
+	{ USB_DEVICE(0x0b05, 0x1715), .driver_info = BTUSB_WRONG_SCO_MTU },
+
 	/* IBM/Lenovo ThinkPad with Broadcom chip */
 	{ USB_DEVICE(0x0a5c, 0x201e), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
 	{ USB_DEVICE(0x0a5c, 0x2110), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },

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

* Re: [PATCH] Allow SCO with Asus WL-BTD202 dongle in btusb
  2008-10-28  0:00 [PATCH] Allow SCO with Asus WL-BTD202 dongle in btusb Guillaume Bedot
@ 2008-10-28  2:10 ` Marcel Holtmann
  2008-10-28  4:20   ` Guillaume Bedot
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2008-10-28  2:10 UTC (permalink / raw)
  To: Guillaume Bedot; +Cc: BlueZ development

Hi Guillaume,

> This an other patch that allows my dongle to be configured correctly for
> the voice/sco profile.
> 
> I already sent one for hci_usb some time ago, so it may sound familiar,
> but it probably didn't have correct style...

you have to prove this one. Boot a kernel without the patch and call
hciconfig hci0 up and then show me the output of hciconfig -a.

Regards

Marcel



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

* Re: [PATCH] Allow SCO with Asus WL-BTD202 dongle in btusb
  2008-10-28  2:10 ` Marcel Holtmann
@ 2008-10-28  4:20   ` Guillaume Bedot
  2008-11-30 10:46     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Bedot @ 2008-10-28  4:20 UTC (permalink / raw)
  To: BlueZ development

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

Le mardi 28 octobre 2008 à 03:10 +0100, Marcel Holtmann a écrit : 
> Hi Guillaume,
> 
> > This an other patch that allows my dongle to be configured correctly for
> > the voice/sco profile.
> > 
> > I already sent one for hci_usb some time ago, so it may sound familiar,
> > but it probably didn't have correct style...
> 
> you have to prove this one. Boot a kernel without the patch and call
> hciconfig hci0 up and then show me the output of hciconfig -a.

The file "hciconfig-...-before" was the output without the patch.
The file "hciconfig-...-after" is the output with the patch.
The last file contains some info from "/proc/bus/usb/devices".

Is it just proof that my dongle's firmware is out-of-date ?

Regards,

Guillaume B.

[-- Attachment #2: hciconfig-wl-btd202.before.txt --]
[-- Type: text/plain, Size: 574 bytes --]

hci0:	Type: USB
	BD Address: 00:0B:0D:4C:22:92 ACL MTU: 1017:8 SCO MTU: 64:0
	UP RUNNING 
	RX bytes:619 acl:0 sco:0 events:13 errors:0
	TX bytes:44 acl:0 sco:0 commands:13 errors:0
	Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: 
	Link mode: SLAVE ACCEPT 
	Name: 'localhost-0'
	Class: 0x4a0104
	Service Classes: Networking, Capturing, Telephony
	Device Class: Computer, Desktop workstation
	HCI Ver: 2.0 (0x3) HCI Rev: 0x40eb LMP Ver: 2.0 (0x3) LMP Subver: 0x430e
	Manufacturer: Broadcom Corporation (15)


[-- Attachment #3: hciconfig-wl-btd202.after.txt --]
[-- Type: text/plain, Size: 630 bytes --]

hci0:	Type: USB
	BD Address: 00:0B:0D:4C:22:92 ACL MTU: 1017:8 SCO MTU: 64:8
	UP RUNNING PSCAN 
	RX bytes:4055672 acl:48817 sco:72479 events:22711 errors:0
	TX bytes:79729659 acl:89869 sco:0 commands:107 errors:0
	Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF PARK 
	Link mode: SLAVE ACCEPT 
	Name: 'localhost-0'
	Class: 0x4a0104
	Service Classes: Networking, Capturing, Telephony
	Device Class: Computer, Desktop workstation
	HCI Ver: 2.0 (0x3) HCI Rev: 0x40eb LMP Ver: 2.0 (0x3) LMP Subver: 0x430e
	Manufacturer: Broadcom Corporation (15)


[-- Attachment #4: wl-btd202.txt --]
[-- Type: text/plain, Size: 1619 bytes --]

T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0b05 ProdID=1715 Rev= 1.00
S:  Manufacturer=Broadcom Corp
S:  Product=WL-BTD202
C:* #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) 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(unk. ) 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(unk. ) 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(unk. ) 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(unk. ) 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(unk. ) 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(unk. ) 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
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)

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

* Re: [PATCH] Allow SCO with Asus WL-BTD202 dongle in btusb
  2008-10-28  4:20   ` Guillaume Bedot
@ 2008-11-30 10:46     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2008-11-30 10:46 UTC (permalink / raw)
  To: Guillaume Bedot; +Cc: BlueZ development

Hi Guillaume,

> > > This an other patch that allows my dongle to be configured correctly for
> > > the voice/sco profile.
> > > 
> > > I already sent one for hci_usb some time ago, so it may sound familiar,
> > > but it probably didn't have correct style...
> > 
> > you have to prove this one. Boot a kernel without the patch and call
> > hciconfig hci0 up and then show me the output of hciconfig -a.
> 
> The file "hciconfig-...-before" was the output without the patch.
> The file "hciconfig-...-after" is the output with the patch.
> The last file contains some info from "/proc/bus/usb/devices".
> 
> Is it just proof that my dongle's firmware is out-of-date ?

I applied a modified patch to my tree since it didn't apply clean
anymore. Thanks.

Regards

Marcel



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

end of thread, other threads:[~2008-11-30 10:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-28  0:00 [PATCH] Allow SCO with Asus WL-BTD202 dongle in btusb Guillaume Bedot
2008-10-28  2:10 ` Marcel Holtmann
2008-10-28  4:20   ` Guillaume Bedot
2008-11-30 10:46     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox