[pulseaudio-discuss] Bluetooth headset on Karmic

Colin Guthrie gmane at colin.guthr.ie
Fri Nov 13 05:42:34 PST 2009

'Twas brillig, and Josu Lazkano at 13/11/09 12:31 did gyre and gimble:
> 2009/11/13 Ng Oon-Ee <ngoonee at gmail.com <mailto:ngoonee at gmail.com>>
>     On Fri, 2009-11-13 at 12:27 +0100, Josu Lazkano wrote:
>      > Thanks for yourresponse, I have a Jabra BT2010 headset and I paired
>      > with Bluetooth Applet 1.8. Is this the correct way to pair?
>      >
>      > In other laptop I just pair with the same Applet and it works! It
>      > appear as new harware and I could switch on it. I don't know what
>      > happen with my laptop.
>      >
>      > I apreciate your help, thanks and best regards.
>     Please bottom-post, like this, below the email you're replying to.
>     What's the output when you run `pactl list | grep bluetooth`? Did you
>     make any changes to your default /etc/pulse/default.pa
>     <http://default.pa> such that the
>     bluetooth-discover module does not load?
>     Also try running pulseaudio -vvvv and watch the output when you do
>     pairing, does anything happen?
>     _______________________________________________
>     pulseaudio-discuss mailing list
>     pulseaudio-discuss at mail.0pointer.de
>     <mailto:pulseaudio-discuss at mail.0pointer.de>
>     https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
> Thanks for your reply and sorry for the top-posting.
> This is the "pactl list | grep bluetooth" output:
> $ pactl list | grep bluetooth
>     Nombre: module-bluetooth-discover
>         module.description = "Detect available bluetooth audio devices 
> and load bluetooth audio drivers"
> I didn't make any change to my default /etc/pulse/default.pa 
> <http://default.pa>. I must make changes?
> When I execute "pulseaudio -vvv", this is the output:
> $ pulseaudio -vvv
> I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) falló: Operación no permitida
> I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) falló: Operación no permitida
> D: core-rtclock.c: Timer slack is set to 50 us.
> I: core-util.c: Failed to acquire high-priority scheduling: No existe el 
> fichero ó directorio
> I: main.c: Esto es PulseAudio 0.9.19
> D: main.c: Anfitrión de compilación: i486-pc-linux-gnu
> D: main.c: Compilación CFLAGS: -g -O2 -g -Wall -O3 -Wall -W -Wextra 
> -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings 
> -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op 
> -Wsign-compare -Wformat-security -Wmissing-include-dirs 
> -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self 
> -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
> -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations 
> -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align 
> -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math 
> -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
> D: main.c: Ejecutándose en el anfitrión: Linux i686 2.6.31-14-generic 
> #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009
> D: main.c: Se encontraron 1 CPU.
> I: main.c: El tamaño de la página es de 4096 bytes
> D: main.c: Soporte para compilar con Valgrind: no
> D: main.c: Ejecutándose en modo valgrind: no
> D: main.c: Build optimizado: si
> D: main.c: Todas las comprobaciones activadas
> I: main.c: El ID de la máquina es 6d98218af87453b101fa38204aeda545
> I: main.c: El ID de la sesión es 
> 6d98218af87453b101fa38204aeda545-1258107767.630660-1077696301.
> I: main.c: Utilizando directorio ejecutable 
> /home/lazkano/.pulse/6d98218af87453b101fa38204aeda545-runtime.
> I: main.c: Utilizando directorio de estado /home/lazkano/.pulse.
> I: main.c: Utilizando directorio de módulos /usr/lib/pulse-0.9.19/modules.
> I: main.c: Ejecutándose en modo de sistema: no
> E: pid.c: Daemon already running.
> E: main.c: Ha fallado pa_pid_file_create().
> It is in spanish, tha last line says that "Failed pa_pid_file_create()."

You have to stop the currently running PA before the new one will run.

Usually the following will do this:

pulseaudio -k; pulseaudio -vvv

Sadly due to the autospawning nature of PA (and clients like libcanberra 
which trigger the respawn almost immeidately), you sometimes have to run 
the above commands several times before the actually work. You certainly 
have to run them together (i.e. as I wrote above)

When doing this, it may alsa be wise to "export LC_ALL=c" first as that 
will prevent the translations kicking in an confusing us non-spanish devs :)

Overall the bluetooth problems could relate to the dongles used. I'm 
guessing your laptop has BT built in? If so can you try disabling it (in 
bios maybe) and using instead the dongle from your desktop (which I 
presume is a USB device?) This helps to rule out (or blame) that bit of 
the puzzle.



Colin Guthrie

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]

More information about the pulseaudio-discuss mailing list