Re: [Bluez-devel] btusb+sco failing to play sound through Jabra BT500v headset (was: SCO flowcontrol patch v4.4 on 2.6.25/6 causes) hardlocks when connecting to BT device

martin f krafft
2008-08-27T21:03:14Z

[-- Attachment #1.1: Type: text/plain, Size: 1644 bytes --]

also sprach Marcel Holtmann <marcel@holtmann.org> [2008.08.27.0618 +0100]:
> you don't have to. The bluez-utils-3.36 comes with an audio plugin
> that does all this for you. You just have to add 4 magic lines
> into .asoundrc. See wiki.bluez.org for these for it.

So I added

pcm.bluetooth {
type bluetooth
device 00:1A:45:14:EE:D7
}

to .asoundrc and if I try to play something with aplay, I am told that

Playing WAVE '/usr/share/twinkle/ringback.wav' : Unsigned 8 bit,
Rate 8287 Hz, Mono aplay: set_params:918: Sample format non
available

Trying to use the device with twinkle, the programme starts up
taking ages trying to connect (http://bugs.debian.org/475962) and
eventually just says that it cannot access the speaker/microphone.
When twinkle tries to talk to the headset, the bluetooth LED starts
to blink, the headset makes the
noise it makes when a connection is established, and after a while,
twinkle tells me

snd_pcm_hw_params failed: Invalid argument

and then

snd_pcm_hw_params failed: Input/output error

The bluetooth LED continues blinking and the headset will not make
the disconnection sound until I turn bluetooth off. Once I turn it
back on, the headset disconnects, and the cycle repeats.

I am using 2.6.27-rc4 and bluez-utils 3.36-1.

Any ideas what may be wrong?

--
martin | http://madduck.net/ | http://two.sentenc.es/

"it isn't pollution that's harming the environment.
it's the impurities in our air and water that are doing it."
- dan quayle

spamtraps: madduck.bogus@madduck.net

[-- Attachment #1.2: Digital signature (see http://martin-krafft.net/gpg/) --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 363 bytes --]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]