2008-02-25 19:10:34

by Jens-Erik Hansen

[permalink] [raw]
Subject: [Bluez-users] rattling noise with bluefritz 2.0

Hi,

with a bluefritz usb v2.0 I hear a rattling noise in the headset which appears
about every 1.5 sec during a voip call (twinkle/ekiga/skype).

I noticed that the bfusb module is not loaded automatically and that a
modprobe bfusb doesn't pull the firmware (bfubase.frm) located
in /lib/firmware.

I'm a bit confused, is the firmware still needed? What could be the reason for
this background noise?

Greetings
Jens

-------------------------------------------------------------------------
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/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2008-03-01 01:19:55

by Brian J. Murrell

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

On Fri, 2008-02-29 at 18:09 +0100, Jens-Erik Hansen wrote:
> Am Donnerstag, 28. Februar 2008 schrieb Brian J. Murrell:
> > So obviously you have something providing that "sco" pcm module.
>
> This is included in the package bluetooth-alsa (debian sid), I don't know
> where to find libasound_module_pcm_sco.so in ubuntu gutsy.

Well, not surprisingly it's in bluetooth-alsa in Ubuntu as well.

Thanx!

b.


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part
(No filename) (228.00 B)
(No filename) (164.00 B)
Download all attachments

2008-02-29 17:09:01

by Jens-Erik Hansen

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

Am Donnerstag, 28. Februar 2008 schrieb Brian J. Murrell:
> So obviously you have something providing that "sco" pcm module.

This is included in the package bluetooth-alsa (debian sid), I don't know
where to find libasound_module_pcm_sco.so in ubuntu gutsy.

-------------------------------------------------------------------------
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/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2008-02-28 22:43:01

by Brian J. Murrell

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

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.


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part
(No filename) (228.00 B)
(No filename) (164.00 B)
Download all attachments

2008-02-28 16:29:42

by Jens-Erik Hansen

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

Hello,

Am Dienstag 26 Februar 2008 schrieb Leszek Koltunski:
> Eh? You using a bluetooth headset and bluez-audio to make calls with
> Twinkle/Ekiga/Skype? Please post a guide how did you do this !


sorry for the long delay, I was a bit busy the last few days.
Apparently I'm not a bluez/alsa specialist, anyway here is what I have done:

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 but that
never worked for me so I have to use type sco (see pcm.headset).
I had to reduce the volume of the headset mic to eliminate echo problems. Because
I found no working solution to control the mic volume with alsamixer, even softvol
doesn't help, I had to do it with a pcm of type plug (see pcm.headset-route-in).
To finetune the headset speaker volume I inserted the pcm-headset-route-out section
in my .asoundrc.

I wasn't able to find a solution for dmixing/dsnooping the headset, is it possible?

After pairing the headset with the bt dongle I used the alsa device headset-route-out
for speaker and the device headset-route-in for microphone in twinkle and skype.

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 you can find the needed patches in
/usr/share/doc/bluetooth-alsa/patches too.

Hope this helps.
Greeting
Jens



my .asoundrc
------------

pcm.headset-route-in {
type plug
slave {
pcm "headset"
format S16_LE
}
ttable {
0 {0 0.4}
1 {0 0.4}
}
}

pcm.headset-route-out{
type plug
slave {
pcm "headset"
format S16_LE
}
ttable {
0 {0 0.7}
1 {0 0.7}
}
}

pcm.headset {
@args [BDADDR TIMEOUT]
@args.BDADDR {
type string
# Enter address of your headset here
default "xx:xx:xx:xx:xx:xx"
}
@args.TIMEOUT {
type integer
default 6000
}

type sco
bdaddr $BDADDR
timeout $TIMEOUT
}

-------------------------------------------------------------------------
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/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2008-02-28 04:02:37

by Brian J. Murrell

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

On Tue, 2008-02-26 at 19:27 +0100, Christian Schuglitsch wrote:
> I'm very interested too.

Me three! Especially Ekiga.

b.


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part
(No filename) (228.00 B)
(No filename) (164.00 B)
Download all attachments

2008-02-26 18:27:09

by Christian Schuglitsch

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

I'm very interested too.

Am 26.02.2008 08:05 schrieb Leszek Koltunski:
>
>> with a bluefritz usb v2.0 I hear a rattling noise in the headset which appears
>> about every 1.5 sec during a voip call (twinkle/ekiga/skype).
>>
>
> Eh? You using a bluetooth headset and bluez-audio to make calls with
> Twinkle/Ekiga/Skype? Please post a guide how did you do this !
>
> -------------------------------------------------------------------------
> 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/
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>
>


-------------------------------------------------------------------------
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/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2008-02-26 07:05:32

by Leszek Koltunski

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



> with a bluefritz usb v2.0 I hear a rattling noise in the headset which appears
> about every 1.5 sec during a voip call (twinkle/ekiga/skype).

Eh? You using a bluetooth headset and bluez-audio to make calls with
Twinkle/Ekiga/Skype? Please post a guide how did you do this !

-------------------------------------------------------------------------
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/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users