[pulseaudio-discuss] Bluetooth device

John Tobias john.tobias.ph at gmail.com
Tue Jul 1 13:09:51 PDT 2014


Hi All,

I am using iMX6SL-eval board, running kernel 3.16.0-rc3-next-20140630,
PulseAudio 5.0, Bluez 5.20. I ran bluetoothd and pulseaudio as
follows:

/usr/libexec/bluetooth/bluetoothd -EC
/usr/bin/pulseaudio --system

Then, load the following modules:

pactl load-module module-bluez5-discover
pactl load-module module-bluetooth-policy

I paired my phone on my device and able to see the blues_source
interface if I run pactl list sources short.

0       alsa_output.platform-sound.analog-stereo.monitor
module-alsa-card.c      s16le 2ch 44100Hz       SUSPENDED
1       alsa_input.platform-sound.analog-stereo module-alsa-card.c
 s16le 2ch 44100Hz       SUSPENDED
2       bluez_source.D8_D1_XX_XX_XX_XX  module-bluez5-device.c  s16le
2ch 44100Hz       IDLE

Then, for pact list sinks short:

0       alsa_output.platform-sound.analog-stereo
module-alsa-card.c      s16le 2ch 44100Hz       SUSPENDED


Before loading the module-loopback, I ran the two commands below to
check if the sink is working - it's working..
1. pactl upload-sample ./Front_Center.wav FC
2. pactl play-sample FC alsa_output.platform-sound.analog-stereo


Then, load the module-loopback.

pactl load-module module-loopback \
source=bluez_source.D8_D1_XX_XX_XX_XX \
sink=alsa_output.platform-sound.analog-stereo

Now, I can stream music from my phone through my device and able to
use the play or pause as well. But, the problem is that I did not hear
the music on my device and I am not sure why?.

Any idea?

Regards,

john


More information about the pulseaudio-discuss mailing list