2006-07-11 18:59:42

by Fabien Chevalier

[permalink] [raw]
Subject: [Bluez-devel] Broadcom 2035 SCO question


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


2006-07-18 17:12:03

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Broadcom 2035 SCO question

Hi Fabien,

> >> 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?
> >
> > 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

2006-07-11 19:04:30

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Broadcom 2035 SCO question

Hi Fabien,

> 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?

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