Thanks for your instruction.

Today, I tried to use hcidump to capture the Bluetooth events in two cases:

1. Switch to headset_head_unit profile:
< HCI Command: Setup Synchronous Connection (0x01|0x0028) plen 17
    handle 1 voice setting 0x0060 ptype 0x0380
> HCI Event: Command Status (0x0f) plen 4
    Setup Synchronous Connection (0x01|0x0028) status 0x1a ncmd 1
    Error: Unsupported Remote Feature / Unsupported LMP Feature
< HCI Command: Setup Synchronous Connection (0x01|0x0028) plen 17
    handle 1 voice setting 0x0060 ptype 0x0380
> HCI Event: Command Status (0x0f) plen 4
    Setup Synchronous Connection (0x01|0x0028) status 0x1a ncmd 1
    Error: Unsupported Remote Feature / Unsupported LMP Feature
< HCI Command: Setup Synchronous Connection (0x01|0x0028) plen 17
    handle 1 voice setting 0x0060 ptype 0x03c8
> HCI Event: Command Status (0x0f) plen 4
    Setup Synchronous Connection (0x01|0x0028) status 0x1a ncmd 1
    Error: Unsupported Remote Feature / Unsupported LMP Feature
< HCI Command: Setup Synchronous Connection (0x01|0x0028) plen 17
    handle 1 voice setting 0x0060 ptype 0x03c4
> HCI Event: Command Status (0x0f) plen 4
    Setup Synchronous Connection (0x01|0x0028) status 0x00 ncmd 1
> HCI Event: Synchronous Connect Complete (0x2c) plen 17
    status 0x00 handle 257 bdaddr 00:1F:81:34:08:22 type SCO
    Air mode: CVSD
> HCI Event: Max Slots Change (0x1b) plen 3
    handle 1 slots 3
< SCO data: handle 257 flags 0x00 dlen 48
< SCO data: handle 257 flags 0x00 dlen 48
> HCI Event: Max Slots Change (0x1b) plen 3
    handle 1 slots 1

2. When using parecord to capture audio input from headset:
However, in this case, hcidump captured nothing !!! It is very odd !!!!

Do you have any suggestion or advice for this?

Thank you,
Hieu Le.

On Tue, Aug 23, 2016 at 8:04 PM, Tanu Kaskinen <ta...@iki.fi> wrote:

> On Tue, 2016-08-23 at 19:58 +0700, Hieu Le wrote:
> > Dear all,
> >
> > One strange thing I noticed when debugging this issue is even "pactl list
> > sinks|sources short" show Bluetooth's headset sinks|sources properly.
> > However, "arecord -L" shows only my internal microphone (missing
> > Bluetooth's headset).
> >
> > Am I missing something? Or the setup between Pulseaudio and ALSA is not
> up
> > correctly.
>
> arecord is an alsa tool, which will only show alsa devices. Alsa
> doesn't deal with bluetooth, so it's expected that bluetooth devices
> don't show up in arecord -L.
>
> --
> Tanu
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>



-- 
---- Hieu Le ---
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to