<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - No audio stream from headset in HSP/HFP mode"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97064#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - No audio stream from headset in HSP/HFP mode"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97064">bug 97064</a>
from <span class="vcard"><a class="email" href="mailto:tanuk@iki.fi" title="Tanu Kaskinen <tanuk@iki.fi>"> <span class="fn">Tanu Kaskinen</span></a>
</span></b>
<pre>bschaef, I inspected your logs, and it looks that bluetoothd didn't send a
D-Bus message that it should have sent. The lack of the message in itself
doesn't cause the breakage, but it indicates that something went wrong during
the setup of the audio connection.
If you search the logs for "state changed from", you'll find the places where
transport objects change their state between "disconnected", "idle" and
"playing". When you connect the headset, the HSP transport changes state from
disconnected to idle, and this triggers the procedure where pulseaudio loads
module-bluez5-device and creates the sink and source. During the sink setup,
pulseaudio "aqcuires" the transport, and as a result pulseaudio gets the file
descriptor that it uses to send audio to the headset. The "acquire" operation
looks like it succeeds without problems, but I think the transport state should
have changed at this point from idle to playing, but there's no "state changed
from idle to playing" message in the log (except when you use A2DP). The
information about the transport state change is sent through D-Bus with the
"PropertiesChanged" signal on the "MediaTransport1" interface, so that's why I
said there's a D-Bus message missing.
I don't have any ideas why the message isn't sent, but that should provide you
some information for continuing the debugging.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>