[gentoo-user] bluetooth and headset with gentoo...

2012-01-05 Thread Tamer Higazi
Hi people!
I am not getting smart how to connect my bluetooth headset on gentoo
linux having a continues connection with an alsa device.

Is there anybody here who did that before?!


For any support from you I would thank you.


Tamer



Re: [gentoo-user] bluetooth and headset with gentoo...

2012-01-05 Thread Canek Peláez Valdés
On Thu, Jan 5, 2012 at 10:39 PM, Tamer Higazi th9...@googlemail.com wrote:
 Hi people!
 I am not getting smart how to connect my bluetooth headset on gentoo
 linux having a continues connection with an alsa device.

 Is there anybody here who did that before?!

I do it all the time.

 For any support from you I would thank you.

I use GNOME and PulseAudio. It just works. You go to Bluetooth
Settings, add a new device, detect the headset, do the pairing and
that's it. You can dynamically change from the headset to the built in
sound card (or cards), or set individual programs to work with the
headset (like Skype, for example).

I'm using GNOME 3.0 and PulseAudio 1.0, but it worked like this since
GNOME 2.2x.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] bluetooth and headset with gentoo...

2012-01-05 Thread Tamer Higazi
I am not interisted in Pulseaudio.

I am using freeswitch, and Portaudio doesn't support PulseAudio,
therefor I need to make it with bluez and to make a alsadevice for
in/output.

This is the problem.

What you advised, doesn't work for me. the hell I know why. I added the
device, and the headset was in discovery mode. I added it, okay. but
even though on pulseaudio I don't see the device at all.


however, I need to see it as an alsa device. this is my problem.


But thanks so far



Tamer


Am 06.01.2012 05:47, schrieb Canek Peláez Valdés:
 On Thu, Jan 5, 2012 at 10:39 PM, Tamer Higazi th9...@googlemail.com wrote:
 Hi people!
 I am not getting smart how to connect my bluetooth headset on gentoo
 linux having a continues connection with an alsa device.

 Is there anybody here who did that before?!
 
 I do it all the time.
 
 For any support from you I would thank you.
 
 I use GNOME and PulseAudio. It just works. You go to Bluetooth
 Settings, add a new device, detect the headset, do the pairing and
 that's it. You can dynamically change from the headset to the built in
 sound card (or cards), or set individual programs to work with the
 headset (like Skype, for example).
 
 I'm using GNOME 3.0 and PulseAudio 1.0, but it worked like this since
 GNOME 2.2x.
 
 Regards.




Re: [gentoo-user] bluetooth and headset with gentoo...

2012-01-05 Thread victor romanchuk
Tamer Higazi wrote, at 01/06/2012 09:17 AM:
 however, I need to see it as an alsa device. this is my problem.

it's not a problem, according to alsa docs http://alsa.opensrc.org/.asoundrc

pcm.genius {
  type bluetooth
}
pcm.genius-in {
  type plug
  slave {
pcm genius
rate 48000
  }
}
ctl.genius {
  type bluetooth
}

does it all: the headset works pretty good with audio apps i'm using in that
context: skype and mplayer -ao alsa:device=genius. however i have no clue on how
to integrate bluetooth audio with desktop (gnome2 in my case). without
pulseaudio of course. anyone did that?

victor



Re: [gentoo-user] bluetooth and headset with gentoo...

2012-01-05 Thread Tamer Higazi
People!
I am not a bluetooth expert how do I configure bluez to make a
permanent connection with the bluez headset???


I did:

pcm.jabra {
  type bluetooth
}
pcm.jabra-in {
  type plug
  slave {
pcm jabra
rate 48000
  }
}
ctl.jabra {
  type bluetooth
}

but for sure it's not all enough


Please, help me i am still a small baby in this subject

Am 06.01.2012 07:36, schrieb victor romanchuk:
 pcm.genius {
   type bluetooth
 }
 pcm.genius-in {
   type plug
   slave {
 pcm genius
 rate 48000
   }
 }
 ctl.genius {
   type bluetooth
 }




Re: [gentoo-user] bluetooth and headset with gentoo...

2012-01-05 Thread victor romanchuk
Tamer Higazi wrote, at 01/06/2012 11:14 AM:
 People!
 I am not a bluetooth expert how do I configure bluez to make a
 permanent connection with the bluez headset???


 I did:

 pcm.jabra {
   type bluetooth
 }

[snip]

.asoundrc is an audio part of configuration. bebore that you have to:

  * configure the kernel to support audio over bluetooth (these settings are for
3.x kernel, for earlier versions these are slightly deffer from showed):

CONFIG_BT=m
CONFIG_BT_L2CAP=y
CONFIG_BT_SCO=y

  * install net-wireless/bluez
  * configure and pair your headset with host bluetooth adapter using desktop
applet - net-wireless/blueman in my case, or manually - hcitool etc
  * enjoy the result :)

hth

victor




Re: [gentoo-user] bluetooth and headset with gentoo...

2012-01-05 Thread W.Kenworthy
To extend this thread - because of other apps I am using pulse and the
BT headset (Jabra Halo) generally works fine - my only problem is the
microphone when using sjphone which is an oss app.  I can hear audio,
pulse indicates it can hear me speaking but sjphone is silent so it
seems to be the oss mic thats the problem - any hints/ideas on what to
do?

BillK



-Original Message-
From: victor romanchuk r...@persimplex.net
Reply-to: gentoo-user@lists.gentoo.org
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] bluetooth and headset with gentoo...
Date: Fri, 06 Jan 2012 11:34:26 +0400

Tamer Higazi wrote, at 01/06/2012 11:14 AM:
 People!
 I am not a bluetooth expert how do I configure bluez to make a
 permanent connection with the bluez headset???


 I did:

 pcm.jabra {
   type bluetooth
 }

[snip]

.asoundrc is an audio part of configuration. bebore that you have to:

  * configure the kernel to support audio over bluetooth (these settings are for
3.x kernel, for earlier versions these are slightly deffer from showed):

CONFIG_BT=m
CONFIG_BT_L2CAP=y
CONFIG_BT_SCO=y

  * install net-wireless/bluez
  * configure and pair your headset with host bluetooth adapter using desktop
applet - net-wireless/blueman in my case, or manually - hcitool etc
  * enjoy the result :)

hth

victor