Skip to contentSkip to conversation

bt-sco problem

Bluez-devel Marco Zavagno 3 participants 3 messages Jan 14, 2008 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,
I'm using a Mitsumi WML-C29AH bluetooth serial adapter.
Every bt function works well but when I try to send/recieve audio data using bluetooth-alsa package I've got noisy audio during playback and very noisy audio during recording operations.
I'm using a 2.6.22 kernel on arm pxa cpu with alsa-utils 1.0.15 and bluez-libs and bluez-utils-alsa 3.22.
The adapter is binded to bluez stack using "hciattach /dev/ttyS1 csr 921600".

To setup the system I paired the bt headset, created an .asoundrc file inside my home directory and execute bluetoothd-service-audio.
Then I try to record/playback audio using aplay/arecord utils but noise issue arise. At this point if I perform a hciconfig on the system the TX counter for SCO packets always reports 0.

I'm also using same setup with a USB BT adapter and everything works well. Any idea?

Thanx in advance

Signature · 6 lines
Only that in you which is me can hear what I'm saying.
		-- Baba Ram Dass
++
Marco Zavagno
Eurotech - The complete embedded PC solution
www.eurotech.it

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

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

#1 lore raw

Hi, experts,

I have a question about link level security as below:
When there are 2 Bluetooth keyboard both connected with the same 1 Laptop's Bluetooth controller, and enabled link layer data encryption function, both use the same PIN do the authentication, will the encryption key be the same for both links in data stream? If they are different, then, host controller's baseband need to maintain the 2 keys for the 2 links in the flying, right?

Thanks very much for your answer!

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

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

#2 lore raw
In reply to Marco Zavagno

Marco

WML-C29AH uses a bluecore4?

Quoted 1 line

The adapter is binded to bluez stack using "hciattach /dev/ttyS1 csr 921600".

are you putting the audio across hci or are you wired up to the chip's pcm lines?

Signature · 11 lines
Brad

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel