Author Topic: High speed driver for Ambicom/Pretec bluetooth CF cards  (Read 4129 times)

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
High speed driver for Ambicom/Pretec bluetooth CF cards
« on: January 21, 2004, 05:15:56 am »
I\'ve always been unsatisfied with the speed of my bluetooth connection using Ambicom BT200E CF card (only 5 Kb/s). After some investigation and reading bluez-devel mail archives I found out that the problem was in driver itself - it did not initialise UART for the chipset at proper speed, so it defaulted to the lowest one.

I\'ve tried to update the driver but failed, since I don\'t have enough expirience in UART programming. Fortunately, Ron Murray was kind enough to update the driver and provide me with the source. I\'ve build the new driver and got a performance boost up to 40 Kb/s compared to previous 5 Kb/s!

I hope the new driver will eventualy be included int the updated bluez package from tumnus. Meanwhile, I created an ipk so that it can be installed on top of existing drivers.

Check it out at:
http://my-zaurus.narod.ru/bluetooth.html

Anonymous

  • Guest
High speed driver for Ambicom/Pretec bluetooth CF cards
« Reply #1 on: February 04, 2004, 04:52:47 pm »
Anton, nice catch! Thanks. I\'ll update the bt950uart_cs driver as well.
-albertr

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
High speed driver for Ambicom/Pretec bluetooth CF cards
« Reply #2 on: February 05, 2004, 02:56:57 am »
Quote
Anton, nice catch! Thanks. I\'ll update the bt950uart_cs driver as well.
-albertr

When you\'re done, I\'ll test your driver as well and compare to the bluez default one.

hibisu

  • Newbie
  • *
  • Posts: 4
    • View Profile
High speed driver for Ambicom/Pretec bluetooth CF cards
« Reply #3 on: February 23, 2004, 06:08:46 pm »
I just installed Ambicom Blurtooth CF card BT2000-CF I have already installed the Driver also.But still it can not detect my Bluetooth phone.
As you are using Ambicom if you can help me out how should i process to configure it properly so that it can detect my Bluetooth phone.

If you can help me out tht will be great...

Thanks in advance,
Biswajit De
hibisu@yahoo.com

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
High speed driver for Ambicom/Pretec bluetooth CF cards
« Reply #4 on: February 25, 2004, 07:04:25 pm »
Is this driver OK for use with the pre-emptive/special kernels?
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
High speed driver for Ambicom/Pretec bluetooth CF cards
« Reply #5 on: February 26, 2004, 10:34:28 am »
Quote
Is this driver OK for use with the pre-emptive/special kernels?

No

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
High speed driver for Ambicom/Pretec bluetooth CF cards
« Reply #6 on: March 18, 2004, 12:32:42 am »
Anton,

I seem to fix suspend/resume problem on BT2000E, finally
If you\'d like to give it a try, feel free to grab src from http://www.iral.com/~albertr/zaurus/bt2000e/
I\'ve tried to send you an email, but unfortunately mail.ru started blocking comcast cable network block. I didn\'t have much time to test the new driver yet, let me know if you have any questions, spot any problems, etc...
-albertr

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
High speed driver for Ambicom/Pretec bluetooth CF cards
« Reply #7 on: March 20, 2004, 01:40:25 pm »
Quote
Anton,

I seem to fix suspend/resume problem on BT2000E, finally
If you\'d like to give it a try, feel free to grab src from http://www.iral.com/~albertr/zaurus/bt2000e/
I\'ve tried to send you an email, but unfortunately mail.ru started blocking comcast cable network block. I didn\'t have much time to test the new driver yet, let me know if you have any questions, spot any problems, etc...
-albertr

Just noticed this message. This is terrific! I will test your driver first thing on Monday.

Sorry about mail.ru - they think they\'re too smart... I\'ll send you another mail address.

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
High speed driver for Ambicom/Pretec bluetooth CF cards
« Reply #8 on: March 21, 2004, 06:12:44 pm »
Just had a few minutes today to run a quick test on two bluetooth cards that I have. Was primary interested in max up/down-stream throughput, so didn\'t mesure latency. One end was a Zaurus 5500 running latest BlueZ as a panu client, the other end - Win2K running Bluesoeil 1.4.2 with CSR usb dongle. Z was connected via BNEP to Bluesoeil NAP profile. I was transferring a 0.3MB file via tftp (tftp has low protocol overhead), and measuring transfer speed. Filesystem cache didn\'t play much role in this scenario, only raw network link bandwidth. All the conditions were the same for all test runs. Here\'s the results:


Card      Driver      In/Downstream, B/s   Out/Upstream, B/s
====      ======      ==================   =================
Socket Rev.F   dtl1_cs      11,059          9,714
BT2000E      bt2000e_cs    8,167         11,333
BT2000E      bt950_cs    8,045         10,950



Quite interesting, isn\'t it?

One subjective observation - during transmission, both Socket and BT2000E with bt2000e_cs driver were demonstrating consistent throughput, while BT2000E with bt950_cs driver was jumping up and down quite a bit. There were no errors reported by either side during transmissions. Socket rev.F card uses Nokia bluetooth module, while BT2000E uses Ericsson\'s. Too bad I didn\'t have a CSR-based card to fire up against Nokia and Ericsson.
Well, that\'s all I have to say, folks. Sorry, was very limited in time, so not much testing.
Anton, if you\'d like to conduct more testing, please share results, I would be interested to see...
-albertr