<div dir="ltr">Thanks for your instruction.<div><br></div><div>Today, I tried to use hcidump to capture the Bluetooth events in two cases:</div><div><br></div><div>1. Switch to headset_head_unit profile:</div><div>< HCI Command: Setup Synchronous Connection (0x01|0x0028) plen 17<br></div><div><div>    handle 1 voice setting 0x0060 ptype 0x0380</div><div>> HCI Event: Command Status (0x0f) plen 4</div><div>    Setup Synchronous Connection (0x01|0x0028) status 0x1a ncmd 1</div><div>    Error: Unsupported Remote Feature / Unsupported LMP Feature</div><div>< HCI Command: Setup Synchronous Connection (0x01|0x0028) plen 17</div><div>    handle 1 voice setting 0x0060 ptype 0x0380</div><div>> HCI Event: Command Status (0x0f) plen 4</div><div>    Setup Synchronous Connection (0x01|0x0028) status 0x1a ncmd 1</div><div>    Error: Unsupported Remote Feature / Unsupported LMP Feature</div><div>< HCI Command: Setup Synchronous Connection (0x01|0x0028) plen 17</div><div>    handle 1 voice setting 0x0060 ptype 0x03c8</div><div>> HCI Event: Command Status (0x0f) plen 4</div><div>    Setup Synchronous Connection (0x01|0x0028) status 0x1a ncmd 1</div><div>    Error: Unsupported Remote Feature / Unsupported LMP Feature</div><div>< HCI Command: Setup Synchronous Connection (0x01|0x0028) plen 17</div><div>    handle 1 voice setting 0x0060 ptype 0x03c4</div><div>> HCI Event: Command Status (0x0f) plen 4</div><div>    Setup Synchronous Connection (0x01|0x0028) status 0x00 ncmd 1</div><div>> HCI Event: Synchronous Connect Complete (0x2c) plen 17</div><div>    status 0x00 handle 257 bdaddr 00:1F:81:34:08:22 type SCO</div><div>    Air mode: CVSD</div><div>> HCI Event: Max Slots Change (0x1b) plen 3</div><div>    handle 1 slots 3</div><div>< SCO data: handle 257 flags 0x00 dlen 48</div><div>< SCO data: handle 257 flags 0x00 dlen 48</div><div>> HCI Event: Max Slots Change (0x1b) plen 3</div><div>    handle 1 slots 1</div></div><div><br></div><div>2. When using parecord to capture audio input from headset:</div><div>However, in this case, hcidump captured nothing !!! It is very odd !!!!</div><div><br></div><div>Do you have any suggestion or advice for this?</div><div><br></div><div>Thank you,</div><div>Hieu Le.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 23, 2016 at 8:04 PM, Tanu Kaskinen <span dir="ltr"><<a href="mailto:tanuk@iki.fi" target="_blank">tanuk@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 2016-08-23 at 19:58 +0700, Hieu Le wrote:<br>
> Dear all,<br>
><br>
> One strange thing I noticed when debugging this issue is even "pactl list<br>
> sinks|sources short" show Bluetooth's headset sinks|sources properly.<br>
> However, "arecord -L" shows only my internal microphone (missing<br>
> Bluetooth's headset).<br>
><br>
> Am I missing something? Or the setup between Pulseaudio and ALSA is not up<br>
> correctly.<br>
<br>
</span>arecord is an alsa tool, which will only show alsa devices. Alsa<br>
doesn't deal with bluetooth, so it's expected that bluetooth devices<br>
don't show up in arecord -L.<br>
<div class="HOEnZb"><div class="h5"><br>
-- <br>
Tanu<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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">---- Hieu Le ---</div></div>
</div>