2004-01-14 05:19:57

by Ron Murray

[permalink] [raw]
Subject: [Bluez-devel] bt950 driver (again)

Did what I should have done earlier and dug up some datasheets. It
seems that the Ericsson chip defaults to 57600 baud on startup, and
the present bt950 driver makes no attempt to change that. This
explains the 5.5kB/sec transfer rate (async serial is usually 10
bits/character these days).

Poking around the archives, I found a note from somebody who wanted
to change the speed of his Pretec card, which also uses the bt950
driver. Somebody else (dunno who, can't find the message again)
suggested lifting the baud rate switching code out of the bluecard_cs
driver, which also uses the Ericsson chip (but a different UART).

So I did just that, as a quick hack. It seems to work though, and I
was able to get the baud rate up to 460800, which gives me a transfer
rate of a much more respectable 40k bytes/sec. I'll test it out
further, there's still a couple of things I'm not sure of. Besides, I
still have to figure out how to compile it for the Zaurus.

While searching the archives, I found the following:

> > what is the status of teh bt950 driver wrt stability and inclusion in
> > the main kernels?
> > Is btuart needed for PCMCIA bluetooth adapters?I saw a post form last
> > fall which stated these cards will not rely on the kernel uart code and
> > will not need hciattach.
>
> I don't have time to work on it. And it is not included in the kernel
> sources, because it has some problems with the interupt handling which
> are needed to be fixed first.
>
> Regards
>
> Marcel

Can you tell me what the interrupt handling problems were? I'll see
what I can do about them.

.....Ron

--
Ron Murray ([email protected])
http://www.rjmx.net/~ron
GPG Public Key Fingerprint: F2C1 FC47 5EF7 0317 133C D66B 8ADA A3C4 D86C 74DE


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel