<div dir="ltr">Hi <div>   Thanks <span style="font-size:12.8px;font-weight:bold;white-space:nowrap">James and Arun </span>for your quick reply ..  I have managed to work(most of the speakers) after changing  <span style="color:rgb(0,0,0);white-space:pre-wrap">load-module module-bluetooth-discover</span> to  <span style="color:rgb(0,0,0);white-space:pre-wrap">load-module module-bluetooth-discover headset=auto in /</span><span style="color:rgb(0,0,0);white-space:pre-wrap">etc/pulse/<a href="http://default.pa" target="_blank">default.pa</a> (</span><font color="#000000"><span style="white-space:pre-wrap"><a href="https://bugs.freedesktop.org/show_bug.cgi?id=73325" target="_blank">https://bugs.freedesktop.org/<wbr>show_bug.cgi?id=73325</a>).</span></font><span style="color:rgb(0,0,0);white-space:pre-wrap"> </span></div><div><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">Regards</span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">Anand.N</span></font></div><div><br></div><div><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 25, 2016 at 6:06 PM, James Bottomley <span dir="ltr"><<a href="mailto:James.Bottomley@hansenpartnership.com" target="_blank">James.Bottomley@hansenpartnership.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, 2016-08-25 at 16:35 +0530, Arun Raghavan wrote:<br>
> On Thu, 25 Aug 2016, at 03:10 PM, Anand Nekkunti wrote:<br>
> > Hi<br>
> >     I am working audio over Bluetooth . I am able to pair and<br>
> > connect<br>
> >     with<br>
> > all speakers(a2dp and HSD ).<br>
> > but audio coming only  speakers which supports a2dp protocol . I am<br>
> > not<br>
> > able to understand why speakers which has HSD protocol not<br>
> > working(no<br>
> > error<br>
> > in pulseaudio log) . Do I need configure anything for this or is<br>
> > there<br>
> > any<br>
> > way forcefully set protocol as a2dp<br>
> ><br>
> > Board :ARM imx6<br>
> > pulseaudio : 6.0<br>
> > Bluez :5<br>
> ><br>
> > Working Speaker :<br>
> ><br>
> >  index: 2<br>
> > name: <bluez_sink.00_9E_C8_11_69_42><br>
> > driver: <module-bluez5-device.c><br>
> > flags: HARDWARE DECIBEL_VOLUME LATENCY<br>
> > state: IDLE<br>
> > suspend cause:<br>
> > priority: 9030<br>
> > volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 /<br>
> > 100% /<br>
> > 0.00 dB<br>
> >        balance 0.00<br>
> > base volume: 65536 / 100% / 0.00 dB<br>
> > volume steps: 65537<br>
> > muted: no<br>
> > current latency: 28.67 ms<br>
> > max request: 3 KiB<br>
> > max rewind: 0 KiB<br>
> > monitor source: 4<br>
> > sample spec: s16le 2ch 44100Hz<br>
> > channel map: front-left,front-right<br>
> >             Stereo<br>
> > used by: 0<br>
> > linked by: 0<br>
> > fixed latency: 42.41 ms<br>
> > card: 2 <bluez_card.00_9E_C8_11_69_42><br>
> > module: 21<br>
> > properties:<br>
> > bluetooth.protocol = "a2dp_sink"<br>
> > device.description = "Mi Bluetooth Speaker"<br>
> > device.string = "00:9E:C8:11:69:42"<br>
> > device.api = "bluez"<br>
> > device.class = "sound"<br>
> > device.bus = "bluetooth"<br>
> > device.form_factor = "portable"<br>
> > bluez.path = "/org/bluez/hci0/dev_00_9E_C8_<wbr>11_69_42"<br>
> > bluez.class = "0x24041c"<br>
> > bluez.alias = "Mi Bluetooth Speaker "<br>
> > device.icon_name = "multimedia-player-bluetooth"<br>
> > ports:<br>
> > portable-output: Portable (priority 0, latency offset 0 usec,<br>
> > available:<br>
> > yes)<br>
> > properties:<br>
> > active port: <portable-output><br>
> ><br>
> ><br>
> ><br>
> > Not Working Speaker:<br>
> >    index: 2<br>
> > name: <bluez_sink.00_0C_8A_67_14_4E><br>
> > driver: <module-bluez5-device.c><br>
> > flags: HARDWARE HW_VOLUME_CTRL LATENCY<br>
> > state: RUNNING<br>
> > suspend cause:<br>
> > priority: 9030<br>
> > volume: mono: 43691 /  67%<br>
> >        balance 0.00<br>
> > base volume: 65536 / 100%<br>
> > volume steps: 16<br>
> > muted: no<br>
> > current latency: 31.00 ms<br>
> > max request: 0 KiB<br>
> > max rewind: 0 KiB<br>
> > monitor source: 4<br>
> > sample spec: s16le 1ch 8000Hz<br>
> > channel map: mono<br>
> >             Mono<br>
> > used by: 1<br>
> > linked by: 1<br>
> > fixed latency: 128.00 ms<br>
> > card: 2 <bluez_card.00_0C_8A_67_14_4E><br>
> > module: 21<br>
> > properties:<br>
> > bluetooth.protocol = "headset_head_unit"<br>
> > device.intended_roles = "phone"<br>
> > device.description = "Bose AE2w 01.01.00"<br>
> > device.string = "00:0C:8A:67:14:4E"<br>
> > device.api = "bluez"<br>
> > device.class = "sound"<br>
> > device.bus = "bluetooth"<br>
> > device.form_factor = "headset"<br>
> > bluez.path = "/org/bluez/hci0/dev_00_0C_8A_<wbr>67_14_4E"<br>
> > bluez.class = "0x240404"<br>
> > bluez.alias = "Bose AE2w 01.01.00"<br>
> > device.icon_name = "audio-headset-bluetooth"<br>
> > ports:<br>
> > headset-output: Headset (priority 0, latency offset 0 usec,<br>
> > available:<br>
> > unknown)<br>
> > properties:<br>
> > active port: <headset-output><br>
><br>
> Are you using the native backend (HSP) or oFono (HFP) here? Might<br>
> help to look at system logs, or get verbose output from PulseAudio<br>
> and BlueZ.<br>
<br>
</div></div>There seems to be a misunderstanding here (I just went around the block<br>
with Marcel on it).  The fact is that the backend-ofono can only talk<br>
to a phone, where it emulates HFP, it can't talk to an actual headset.<br>
 Meaning that if you have a headset trying to talk to your computer,<br>
you are ipso facto using the native backend.<br>
<br>
The confusion seems to be because at one time there were patches to<br>
backend-ofono to talk to headsets, but they depended on non-upstream<br>
bluez parts and they were never merged.<br>
<span class="HOEnZb"><font color="#888888"><br>
James<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org">pulseaudio-discuss@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/pulseaudio-<wbr>discuss</a><br>
</div></div></blockquote></div><br></div>

<br>
<div style="font-size:1.3em;font-family:Arial,Helvetica,sans-serif"><img src="https://3.bp.blogspot.com/-EqvEl_c1M6Y/Vt0fqa3h8XI/AAAAAAAADU8/eHfGtkuqQTk/s1600/signature%2Bupdated.jpg"></div><div style="font-family:Arial,Helvetica,sans-serif"><p><font size="2">Disclaimer:</font></p>

<p><font size="2">This message and the information contained herein is
confidential and subject to the policy statement of Ather Energy Pvt. Ltd. You
may review the policy at</font><span style="font-size:1.3em"> </span><a href="https://www.atherenergy.com/email-disclaimer" style="font-size:1.3em" target="_blank"><span style="font-size:9.5pt">https://www.atherenergy.<wbr>com/email-disclaimer</span></a></p><p style="font-size:1.3em"></p>

<p style="font-size:1.3em"> <span style="font-size:10pt;font-family:"Myriad Pro",sans-serif;color:rgb(102,102,102);background-color:rgb(255,255,255)"><a href="https://www.google.co.in/maps/place/Ather+Energy+Pvt+Ltd/@12.975261,77.639371,17z/data=!3m1!4b1!4m2!3m1!1s0x3a526787ec2ffed9:0x6e670238d3cf3048" style="color:rgb(17,85,204)" target="_blank">map</a> </span><span style="font-size:10pt;color:rgb(34,34,34);font-family:"Myriad Pro",sans-serif;background-color:rgb(255,255,255)">|<span style="color:rgb(102,102,102)"> <a href="http://atherenergy.com/" style="color:rgb(17,85,204)" target="_blank">website</a> </span>|<span style="color:rgb(102,102,102)"> <a href="https://www.facebook.com/atherenergy" style="color:rgb(17,85,204)" target="_blank">facebook</a></span></span><span style="font-size:10pt;font-family:"Myriad Pro",sans-serif;color:rgb(102,102,102);background-color:rgb(255,255,255)"> </span><span style="font-size:10pt;color:rgb(34,34,34);font-family:"Myriad Pro",sans-serif;background-color:rgb(255,255,255)">|<span style="color:rgb(102,102,102)"> <a href="https://twitter.com/atherenergy" style="color:rgb(17,85,204)" target="_blank">tw<wbr>itter</a> </span>|<span style="color:rgb(102,102,102)"> <a href="http://www.linkedin.com/company/ather-energy" style="color:rgb(17,85,204)" target="_blank">linkedin</a></span></span><span style="font-size:small;font-family:verdana,sans-serif;background-color:rgb(255,255,255)">​</span></p></div>