Skip to contentSkip to conversation

rattling noise with bluefritz 2.0

Bluez-users Jens-Erik Hansen 4 participants 8 messages Feb 25, 2008 – Mar 1, 2008 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 4 lines

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

#2 lore raw

I'm very interested too.

Am 26.02.2008 08:05 schrieb Leszek Koltunski:

Quoted 8 lines
Quoted 4 lines

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 !

Quoted 11 lines

-------------------------------------------------------------------------
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

#3 lore raw
Quoted 1 line · Christian Schuglitsch

I'm very interested too.

Me three! Especially Ekiga.

b.

-------------------------------------------------------------------------
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

#4 lore raw
In reply to Leszek Koltunski

Hello,

Am Dienstag 26 Februar 2008 schrieb Leszek Koltunski:

Quoted 2 lines

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

#5 lore raw
Quoted 4 lines · Jens-Erik Hansen

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...

Quoted 2 lines

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.

Quoted 3 lines

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.

-------------------------------------------------------------------------
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

#6 lore raw

Am Donnerstag, 28. Februar 2008 schrieb Brian J. Murrell:

Quoted 1 line

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

#7 lore raw
Quoted 5 lines · Jens-Erik Hansen

Am Donnerstag, 28. Februar 2008 schrieb Brian J. Murrell:

Quoted 1 line

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.

-------------------------------------------------------------------------
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