[pulseaudio-discuss] Problem with bluez5 and a2dp.
Prathyush Thota
prathyushthota at gmail.com
Wed Sep 10 23:43:44 PDT 2014
Hello,
I have been trying my luck with bluez5.21 (built from source) and
pulseaudio (built from pulseaudio/vudentzs-mainline:hfp-ofono-5.0). My
intention is to get my Ubuntu 14.10 installation to be a handsfree unit.
But, I had trouble getting HFP and A2DP to work.
bluetoothctl shows that the 'Audio Source' and 'Audio Sink' profiles are
registered:
[bluetooth]# show
Controller 7C:E9:D3:DD:XX:XX
Name: wolv
Alias: ubuntu-0
Class: 0x2c010c
Powered: yes
Discoverable: yes
Pairable: yes
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0515
Discovering: no
[bluetooth]#
The debug log of pulseaudio had a bunch of messages similar to this :
D: [alsa-sink-CX20590 Analog] module-loopback.c: Requesting rewind due to
end of underrun.
D: [alsa-sink-CX20590 Analog] alsa-sink.c: Requested to rewind 65536 bytes.
D: [alsa-sink-CX20590 Analog] alsa-sink.c: Limited to 46336 bytes.
D: [alsa-sink-CX20590 Analog] alsa-sink.c: before: 5792
D: [alsa-sink-CX20590 Analog] alsa-sink.c: after: 0
I: [alsa-sink-CX20590 Analog] alsa-sink.c: Tried rewind, but was apparently
not possible.
Here's the complete debug log (when I tried to switch the audio sink on my
phone to bluetooth):
http://pastebin.com/8ACF92Sk
There were similar messages when I try to make a call using the test
scripts in ofono.
I'm not sure if it's relevant but - I had to uncomment few lines in
default.pa to load the alsa-sink and alsa-source (instead of relying on the
auto detect) modules to get audio to work on my ubuntu installation with
pulseaudio running. Otherwise, the null-sink was being picked up instead of
alsa-sink.
Any thoughts on why this is happening ?
Thanks,
Prathyush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140911/512d7310/attachment.html>
More information about the pulseaudio-discuss
mailing list