[pulseaudio-discuss] pulsaudio on embedded system: bluetooth hfgw do not play

Paolo Tagliavini paolo.tagliavini at gmail.com
Mon Jul 8 04:03:22 PDT 2013


Dear all,

I'm using bluez 4.101 stack, ofono 1.6 and pulsaudio 3.0 on imx23 embedded
system.
A2dp profile work fine, but , when profile change to hfgw due to smart
phone call do not listen anything.
Close phone call, profile switch to a2dp and system play track right.
Follow pulsaudio log.


D: [pulseaudio] bluetooth-util.c: dbus:
interface=org.bluez.HandsfreeGateway,
path=/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: Device
/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D interface
org.bluez.HandsfreeGateway property 'State' changed to value 'playing'
D: [pulseaudio] bluetooth-util.c: Transport
/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D/fd10 (profile hfgw) changed state
from idle to playing.
D: [pulseaudio] card.c: Setting card bluez_card.50_EA_D6_3B_76_5D profile
hfgw to availability status yes
D: [pulseaudio] device-port.c: Setting port phone-output to status yes
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
D: [pulseaudio] device-port.c: Setting port phone-input to status yes
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
D: [pulseaudio] module-bluetooth-device.c: Acquiring transport
/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D/fd10
I: [pulseaudio] module-bluetooth-device.c: Transport
/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D/fd10 acquired: fd 34
D: [pulseaudio] module-bluetooth-device.c: Resuming source
bluez_source.50_EA_D6_3B_76_5D, because the bluetooth audio state changed
to 'playing'.
D: [pulseaudio] source.c: Suspend cause of source
bluez_source.50_EA_D6_3B_76_5D is 0x0000, resuming
I: [bluetooth] module-bluetooth-device.c: Transport
/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D/fd10 resuming
D: [bluetooth] module-bluetooth-device.c: Stream properly set up, we're
ready to roll!
D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] sink-input.c: Requesting rewind
due to uncorking
D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: Requested to rewind
64000 bytes.
D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: Limited to 1588 bytes.
D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: before: 397
D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: after: 397
D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: Rewound 1588 bytes.
D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] sink.c: Processing rewind...
D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] source.c: Processing rewind...
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
D: [pulseaudio] module-bluetooth-device.c: Resuming sink
bluez_sink.50_EA_D6_3B_76_5D, because the bluetooth audio state changed to
'playing'.
D: [pulseaudio] sink.c: Suspend cause of sink bluez_sink.50_EA_D6_3B_76_5D
is 0x0000, resuming
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
I: [bluetooth] module-bluetooth-device.c: FD error: POLLERR POLLHUP
D: [bluetooth] module-bluetooth-device.c: Audio stream torn down
D: [pulseaudio] bluetooth-util.c: dbus:
interface=org.bluez.HandsfreeGateway,
path=/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: Device
/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D interface
org.bluez.HandsfreeGateway property 'State' changed to value 'connected'
D: [pulseaudio] bluetooth-util.c: Transport
/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D/fd10 (profile hfgw) changed state
from playing to idle.
D: [pulseaudio] card.c: Setting card bluez_card.50_EA_D6_3B_76_5D profile
hfgw to availability status unknown
D: [pulseaudio] device-port.c: Setting port phone-output to status unknown
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
D: [pulseaudio] device-port.c: Setting port phone-input to status unknown
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change
event.
D: [pulseaudio] module-bluetooth-device.c: Suspending source
bluez_source.50_EA_D6_3B_76_5D, because the remote end closed the stream.
D: [pulseaudio] source.c: Suspend cause of source
bluez_source.50_EA_D6_3B_76_5D is 0x0001, suspending
I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek
into queue
D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] sink-input.c: Requesting rewind
due to corking
D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: Requested to rewind 0
bytes.
D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: Mhmm, actually there
is nothing to rewind.
D: [pulseaudio] module-bluetooth-device.c: Suspending sink
bluez_sink.50_EA_D6_3B_76_5D, because the remote end closed the stream.
D: [pulseaudio] sink.c: Suspend cause of sink bluez_sink.50_EA_D6_3B_76_5D
is 0x0001, suspending
D: [bluetooth] module-bluetooth-device.c: Releasing transport
/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D/fd10
I: [bluetooth] bluetooth-util.c: Transport
/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D/fd10 released
D: [bluetooth] module-bluetooth-device.c: Audio stream torn down
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20130708/9cd1bd1e/attachment.html>


More information about the pulseaudio-discuss mailing list