<div dir="ltr"><div style>Dear all,</div><div style><br></div><div style>I'm using bluez 4.101 stack, ofono 1.6 and pulsaudio 3.0 on imx23 embedded system.</div><div style>A2dp profile work fine, but , when profile change to hfgw due to smart phone call do not listen anything.</div>
<div style>Close phone call, profile switch to a2dp and system play track right.</div><div style>Follow pulsaudio log.</div><div><br></div><div><br></div><div>D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.HandsfreeGateway, path=/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D, member=PropertyChanged</div>
<div>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'</div><div>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.</div>
<div>D: [pulseaudio] card.c: Setting card bluez_card.50_EA_D6_3B_76_5D profile hfgw to availability status yes</div><div>D: [pulseaudio] device-port.c: Setting port phone-output to status yes</div><div>D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.</div>
<div>D: [pulseaudio] device-port.c: Setting port phone-input to status yes</div><div>D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.</div><div>D: [pulseaudio] module-bluetooth-device.c: Acquiring transport /org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D/fd10</div>
<div>I: [pulseaudio] module-bluetooth-device.c: Transport /org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D/fd10 acquired: fd 34</div><div>D: [pulseaudio] module-bluetooth-device.c: Resuming source bluez_source.50_EA_D6_3B_76_5D, because the bluetooth audio state changed to 'playing'.</div>
<div>D: [pulseaudio] source.c: Suspend cause of source bluez_source.50_EA_D6_3B_76_5D is 0x0000, resuming</div><div>I: [bluetooth] module-bluetooth-device.c: Transport /org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D/fd10 resuming</div>
<div>D: [bluetooth] module-bluetooth-device.c: Stream properly set up, we're ready to roll!</div><div>D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] sink-input.c: Requesting rewind due to uncorking</div><div>D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: Requested to rewind 64000 bytes.</div>
<div>D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: Limited to 1588 bytes.</div><div>D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: before: 397</div><div>D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: after: 397</div>
<div>D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: Rewound 1588 bytes.</div><div>D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] sink.c: Processing rewind...</div><div>D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] source.c: Processing rewind...</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>D: [pulseaudio] module-bluetooth-device.c: Resuming sink bluez_sink.50_EA_D6_3B_76_5D, because the bluetooth audio state changed to 'playing'.</div>
<div>D: [pulseaudio] sink.c: Suspend cause of sink bluez_sink.50_EA_D6_3B_76_5D is 0x0000, resuming</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div>
<div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>I: [bluetooth] module-bluetooth-device.c: FD error: POLLERR POLLHUP </div>
<div>D: [bluetooth] module-bluetooth-device.c: Audio stream torn down</div><div>D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.HandsfreeGateway, path=/org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D, member=PropertyChanged</div>
<div>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'</div><div>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.</div>
<div>D: [pulseaudio] card.c: Setting card bluez_card.50_EA_D6_3B_76_5D profile hfgw to availability status unknown</div><div>D: [pulseaudio] device-port.c: Setting port phone-output to status unknown</div><div>D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.</div>
<div>D: [pulseaudio] device-port.c: Setting port phone-input to status unknown</div><div>D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.</div><div>D: [pulseaudio] module-bluetooth-device.c: Suspending source bluez_source.50_EA_D6_3B_76_5D, because the remote end closed the stream.</div>
<div>D: [pulseaudio] source.c: Suspend cause of source bluez_source.50_EA_D6_3B_76_5D is 0x0001, suspending</div><div>I: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] module-loopback.c: Could not peek into queue</div><div>D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] sink-input.c: Requesting rewind due to corking</div>
<div>D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: Requested to rewind 0 bytes.</div><div>D: [alsa-sink-MXS ADC/DAC mxs adc/dac-0] alsa-sink.c: Mhmm, actually there is nothing to rewind.</div><div>D: [pulseaudio] module-bluetooth-device.c: Suspending sink bluez_sink.50_EA_D6_3B_76_5D, because the remote end closed the stream.</div>
<div>D: [pulseaudio] sink.c: Suspend cause of sink bluez_sink.50_EA_D6_3B_76_5D is 0x0001, suspending</div><div>D: [bluetooth] module-bluetooth-device.c: Releasing transport /org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D/fd10</div>
<div>I: [bluetooth] bluetooth-util.c: Transport /org/bluez/539/hci0/dev_50_EA_D6_3B_76_5D/fd10 released</div><div>D: [bluetooth] module-bluetooth-device.c: Audio stream torn down</div><div><br></div></div>