Re: Bluetooth Headsets in Opnesuse 11.1 with alsa and pulseaudio

Vladimir Botka <[email protected]>
Newsgroups gmane.linux.suse.multimedia
Organization SUSE Linux
Message-ID <[email protected]>
On Fri, 6 Feb 2009 07:38:03 +0100
Carlos Lorenzo Matés <[email protected]> wrote:

> Hi to All.
> 
> I had setup my Bluetooth Headsets (Neovoice) using the howto found in
> the opensuse.org wiki 
> 
> I'm using opensuse 11.1 (up to date)
> 
> The headsets are paired and working.
> 
> 
> this is my .asoundrc file
> 
> pcm.!default {
>                type pulse
>        }
> ctl.!default {
>                type pulse
>        }
> pcm.btheadset {
>                type bluetooth
>                device "00:0E:16:02:22:4D"
>                profile voice
>        }
> ctl.btheadset {
>    type bluetooth
> }
> 
> 
> if I type the command 
> 
>  arecord -D btheadset -f S16_LE | aplay -D btheadset -f S16_LE
> 
> I can talk and hear myself in the headset, so seems to work fine.
> 
> But I'm unable to use with applications like Teamspeak because they
> expect a device like /dev/dsp or similar.
> 
> I tried also the commands
> 
> pactl load-module module-alsa-source device=btheadset
> 
> and 
> 
> pactl load-module module-alsa-sink device=btheadset
> 
> like suggested in the howtos, but they segfault my pulseaudio and the
> daemon exists (I have to restart it with /usr/bin/pulseaudio --start)
> 
> also the headset is not listed as any kind of device with aplay -l or
> aplay -L
> 
> 
> Any help is appreciated.
> 
> Greetings

Hi,

thank you for the feedback. Unfortunately the microphone is not
supported yet. If you put profile "auto" into the .asoundrc you get

# arecord -D bths1 -f S16_LE | aplay -D bths1 -f S16_LE
ALSA lib pcm_bluetooth.c:1619:(bluetooth_init) BT_GETCAPABILITIES
failed : Unknown error 240(240) arecord: main:590: audio open error:
Unknown error 240 aplay: playback:2208: read error

and you see that the alsa is not able to open the bluetooth input
device. I use my bluetooth headset and notebook with built-in
microphone to use Skype with the configuration as described here [1].

As of the PulseAudio (PA). The 0.9.12 version does not provide you with
microphone support either, even if you succeed to set it up. The PA
receives/sends the sound via module-alsa-source/module-alsa-sink
from/to alsa again. wait for the PA 0.9.13. There will be PA native
bluetooth support. 

[1] http://en.opensuse.org/BT_headphones#Notes.

Ciao,
-- 
	-vlado
	Vladimir Botka
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.