<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello,</p>
<p><br>
</p>
<p>My current setup have following versions:<span style="font-size: 10pt;"></span></p>
<p>PulseAudio : 6<br>
</p>
<p>Ofono: <span style="font-size: 12pt;">1.15</span></p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);">
<div style="color: rgb(0, 0, 0);">bluez5: 5.25 </div>
<div style="color: rgb(0, 0, 0);"><br>
</div>
<div style="color: rgb(0, 0, 0);"><br>
</div>
<div style="color: rgb(0, 0, 0);">A2DP profile is working fine, I can listen phone media sound through my system, but when I switching to headset profile, I am getting -</div>
<div><span style="font-size: 12pt;">
<div style="color: rgb(0, 0, 0);"><br>
</div>
<div><span style="font-size: 12pt;"><span style="color: rgb(0, 0, 0);"></span><font style="color: rgb(0, 0, 0);"><i style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">root@imx6qsabresd:~# pactl set-card-profile bluez_card.34_BB_26_93_BC_B3 headset_audio_gateway</span></i></font></span></div>
<div style=""><span style="font-size: 12pt;"><font style="color: rgb(0, 0, 0);"><i style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">Failure: Input/Output error</span></i><span style="color: rgb(0, 0, 0);"></span></font><span style="color: rgb(0, 0, 0);"></span></span></div>
<div style=""><span style="font-size: 12pt;"><font style="color: rgb(0, 0, 0);"><i style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);"><br>
</span></i></font></span></div>
<div>I have used one patch, which registers mediaendpoint for HSP and HFP profiles, after applying the patch pulseaudio is now registering mediaendpoint for hsp and hfp but audio is not routed from phone to system, when I make a call to my phone. I have attached
 that patch with this mail.<br>
</div>
<div><br>
</div>
<div><em>ofono log:</em><br>
</div>
<div>
<div><em>Dec 30 07:07:42 imx6qsabresd systemd[1]: Starting Telephony service...</em></div>
<div><em>Dec 30 07:07:42 imx6qsabresd ofonod[343]: oFono version 1.15</em></div>
<div><em>Dec 30 07:07:42 imx6qsabresd systemd[1]: Started Telephony service.</em></div>
<div><em>Feb 03 06:54:52 imx6qsabresd ofonod[343]: Service level connection established</em></div>
<div><em>Feb 03 07:19:19 imx6qsabresd ofonod[343]: Service level connection established</em></div>
<div><em>Feb 03 07:20:01 imx6qsabresd ofonod[343]: Reject SCO: Agent not registered</em></div>
<div><em>Feb 03 07:20:22 imx6qsabresd ofonod[343]: Reject SCO: Agent not registered</em></div>
<div><em><br>
</em></div>
<div>Attaching:<br>
</div>
<div><em>pulseaudio.log, bluetooth.log, pactl_list.log, device-info.log, headset-mediapoint.patch</em></div>
<div><em><br>
</em></div>
<div>Can you please help me out to make HFP work.<br>
</div>
</div>
<br>
</span></div>
<div style="color: rgb(0, 0, 0);"><br>
</div>
Thanks & Regards,<br>
<div style="color: rgb(0, 0, 0);">Abhishek<br>
</div>
</div>
</div>
</div>
</body>
</html>