Skip to contentSkip to conversation

Broadcom 2035 SCO question

Bluez-devel Fabien Chevalier 2 participants 4 messages Jul 11, 2006 – Jul 18, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi all,

I recently purchased a class 1 "sweex" bluetooth USB dongle. It has a broadcom bcm2035
usb chip( idVendor = 0x0a5c, idProduct = 0x200a). It advertises SCO mtu=16, sco packets = 0.
I tryed to use it with SCO, no luck.(I wasn't surprised by that, given sco packets = 0) Then i looked at hci usb driver and found it was in the blacklist, with HCI_BROKEN_ISOC.

I then removed it from this list, forced SCO mtu to 48 and packets number to 8 by hacking hci_event.c... and guess what, it works !!

So my question is: shouldn't this product marked as HCI_WRONG_SCO_MTU mtu instead of HCI_BROKEN_ISOC?

Cheers,

Fabien

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Fabien,

Quoted 8 lines

I recently purchased a class 1 "sweex" bluetooth USB dongle. It has a broadcom bcm2035
usb chip( idVendor = 0x0a5c, idProduct = 0x200a). It advertises SCO mtu=16, sco packets = 0.
I tryed to use it with SCO, no luck.(I wasn't surprised by that, given sco packets = 0) Then i looked at hci usb driver and found it was in the blacklist, with HCI_BROKEN_ISOC.

Quoted 5 lines

I then removed it from this list, forced SCO mtu to 48 and packets number to 8 by hacking hci_event.c... and guess what, it works !!

So my question is: shouldn't this product marked as HCI_WRONG_SCO_MTU mtu instead of HCI_BROKEN_ISOC?

is it enough to change HCI_BROKEN_ISOC into HCI_WRONG_SCO_MTU to make this work. If yes, then I am happy to submit a patch.

Regards

Marcel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

Hi All,

Please see comments below :

Quoted 6 lines

Hi Fabien,

Quoted 4 lines

I recently purchased a class 1 "sweex" bluetooth USB dongle. It has a broadcom bcm2035
usb chip( idVendor = 0x0a5c, idProduct = 0x200a). It advertises SCO mtu=16, sco packets = 0.
I tryed to use it with SCO, no luck.(I wasn't surprised by that, given sco packets = 0) Then i looked at hci usb driver and found it was in the blacklist, with HCI_BROKEN_ISOC.

Quoted 7 lines
Quoted 3 lines

I then removed it from this list, forced SCO mtu to 48 and packets number to 8 by hacking hci_event.c... and guess what, it works !!

So my question is: shouldn't this product marked as HCI_WRONG_SCO_MTU mtu instead of HCI_BROKEN_ISOC?

is it enough to change HCI_BROKEN_ISOC into HCI_WRONG_SCO_MTU to make this work. If yes, then I am happy to submit a patch.

Yes. It is not perfect (i have some noise sometimes at startup), but it is enough to make it work.

Please find attached one-line patch for this.

cheers,

Fabien

hci_usb.c +1 -1
@@ -108,7 +108,7 @@
 	{ USB_DEVICE(0x0a5c, 0x2033), .driver_info = HCI_IGNORE },
 
 	/* Broadcom BCM2035 */
-	{ USB_DEVICE(0x0a5c, 0x200a), .driver_info = HCI_RESET | HCI_BROKEN_ISOC },
+	{ USB_DEVICE(0x0a5c, 0x200a), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU },
 	{ USB_DEVICE(0x0a5c, 0x2009), .driver_info = HCI_BCM92035 },
 
 	/* Microsoft Wireless Transceiver for Bluetooth 2.0 */

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#3 lore raw

Hi Fabien,

Quoted 14 lines
Quoted 14 lines
Quoted 13 lines

I recently purchased a class 1 "sweex" bluetooth USB dongle. It has a broadcom bcm2035
usb chip( idVendor = 0x0a5c, idProduct = 0x200a). It advertises SCO mtu=16, sco packets = 0.
I tryed to use it with SCO, no luck.(I wasn't surprised by that, given sco packets = 0) Then i looked at hci usb driver and found it was in the blacklist, with HCI_BROKEN_ISOC.

I then removed it from this list, forced SCO mtu to 48 and packets number to 8 by hacking hci_event.c... and guess what, it works !!

So my question is: shouldn't this product marked as HCI_WRONG_SCO_MTU mtu instead of HCI_BROKEN_ISOC?

Quoted 8 lines
Quoted 3 lines

is it enough to change HCI_BROKEN_ISOC into HCI_WRONG_SCO_MTU to make this work. If yes, then I am happy to submit a patch.

Yes. It is not perfect (i have some noise sometimes at startup), but it is enough to make it work.

Please find attached one-line patch for this.

a patch for this is in my tree now.

Regards

Marcel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel