linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] rattling noise with bluefritz 2.0
@ 2008-02-25 19:10 Jens-Erik Hansen
  2008-02-26  7:05 ` Leszek Koltunski
  0 siblings, 1 reply; 8+ messages in thread
From: Jens-Erik Hansen @ 2008-02-25 19:10 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] rattling noise with bluefritz 2.0
  2008-02-25 19:10 [Bluez-users] rattling noise with bluefritz 2.0 Jens-Erik Hansen
@ 2008-02-26  7:05 ` Leszek Koltunski
  2008-02-26 18:27   ` Christian Schuglitsch
  2008-02-28 16:29   ` Jens-Erik Hansen
  0 siblings, 2 replies; 8+ messages in thread
From: Leszek Koltunski @ 2008-02-26  7:05 UTC (permalink / raw)
  To: BlueZ users



> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] rattling noise with bluefritz 2.0
  2008-02-26  7:05 ` Leszek Koltunski
@ 2008-02-26 18:27   ` Christian Schuglitsch
  2008-02-28  4:02     ` Brian J. Murrell
  2008-02-28 16:29   ` Jens-Erik Hansen
  1 sibling, 1 reply; 8+ messages in thread
From: Christian Schuglitsch @ 2008-02-26 18:27 UTC (permalink / raw)
  To: BlueZ users

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
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] rattling noise with bluefritz 2.0
  2008-02-26 18:27   ` Christian Schuglitsch
@ 2008-02-28  4:02     ` Brian J. Murrell
  0 siblings, 0 replies; 8+ messages in thread
From: Brian J. Murrell @ 2008-02-28  4:02 UTC (permalink / raw)
  To: BlueZ users


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

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

Me three!  Especially Ekiga.

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

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] rattling noise with bluefritz 2.0
  2008-02-26  7:05 ` Leszek Koltunski
  2008-02-26 18:27   ` Christian Schuglitsch
@ 2008-02-28 16:29   ` Jens-Erik Hansen
  2008-02-28 22:43     ` Brian J. Murrell
  1 sibling, 1 reply; 8+ messages in thread
From: Jens-Erik Hansen @ 2008-02-28 16:29 UTC (permalink / raw)
  To: BlueZ users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] rattling noise with bluefritz 2.0
  2008-02-28 16:29   ` Jens-Erik Hansen
@ 2008-02-28 22:43     ` Brian J. Murrell
  2008-02-29 17:09       ` Jens-Erik Hansen
  0 siblings, 1 reply; 8+ messages in thread
From: Brian J. Murrell @ 2008-02-28 22:43 UTC (permalink / raw)
  To: BlueZ users


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

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] rattling noise with bluefritz 2.0
  2008-02-28 22:43     ` Brian J. Murrell
@ 2008-02-29 17:09       ` Jens-Erik Hansen
  2008-03-01  1:19         ` Brian J. Murrell
  0 siblings, 1 reply; 8+ messages in thread
From: Jens-Erik Hansen @ 2008-02-29 17:09 UTC (permalink / raw)
  To: BlueZ users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Bluez-users] rattling noise with bluefritz 2.0
  2008-02-29 17:09       ` Jens-Erik Hansen
@ 2008-03-01  1:19         ` Brian J. Murrell
  0 siblings, 0 replies; 8+ messages in thread
From: Brian J. Murrell @ 2008-03-01  1:19 UTC (permalink / raw)
  To: BlueZ users


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

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.


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

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-03-01  1:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-25 19:10 [Bluez-users] rattling noise with bluefritz 2.0 Jens-Erik Hansen
2008-02-26  7:05 ` Leszek Koltunski
2008-02-26 18:27   ` Christian Schuglitsch
2008-02-28  4:02     ` Brian J. Murrell
2008-02-28 16:29   ` Jens-Erik Hansen
2008-02-28 22:43     ` Brian J. Murrell
2008-02-29 17:09       ` Jens-Erik Hansen
2008-03-01  1:19         ` Brian J. Murrell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).