Re: [Bluez-users] rattling noise with bluefritz 2.0

Brian J. Murrell
2008-02-28T22:43:01Z

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

On Thu, 2008-02-28 at 17:29 +0100, Jens-Erik Hansen wrote:
>
> To get a bluetooth headset work with Twinkle/Ekiga/Skype I enhanced
> my .asoundrc at first.
> In several documents I read that you can use a pcm of type bluetooth

Yeah, that's what I did, but even with the patch you reference below for
pwlib, ekiga still barfs trying to open the audio device. More on that
below, but for now, following your procedure...

> but that
> never worked for me so I have to use type sco (see pcm.headset).

I tried your configuration but ekiga complains, on trying to open the
audio devices:

ALSA lib pcm.c:2105:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_sco.so
ALSA lib pcm.c:2105:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_sco.so
ALSA lib pcm.c:2105:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_sco.so

So obviously you have something providing that "sco" pcm module.

> To get ekiga working with this alsa devices please follow
> http://forums.droplinegnome.org/viewtopic.php?t=5538&sid=ca7c1f8a8b259c2bf3a9fc6a42ba573c
> If you use a debian sid distribution

Ubuntu Gutsy in fact.

When I use instead:

pcm.headset {
type bluetooth
device 00:1A:45:1B:19:89
profile "auto" #optional, supported profiles are: auto, hifi and voice
}

I can use arecord ... | aplay and I hear myself just fine, but ekiga
pukes out:

ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL headset
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL headset

and I do eventually get a connection and can hear on the headset but the
UI ends up hanging -- doesn't paint.

On a second invocation I get connected to a phone I have dialed but the
connection dies quite quickly and ekiga says:

(ekiga:24243): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.14.1/gobject/gsignal.c:1715: handler `2996' of instance `0x8466978' is not blocked
ALSA lib pcm_bluetooth.c:1179:(bluetooth_cfg) Error 22 while configuring device
ALSA lib pcm_bluetooth.c:1179:(bluetooth_cfg) Error 22 while configuring device
ALSA lib pcm_bluetooth.c:1179:(bluetooth_cfg) Error 22 while configuring device

and I get the warning dialogs about not being able to play or record
from the soundcard.

b.

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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