Issues with HSP profile on Bluetooth Headset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So I compiled pulseaudio with:
        --enable-bluez5 \
        --enable-bluez5-ofono-headset \
        --disable-bluez5-native-headset \
        --disable-hal-compat \
        --disable-bluez4

Despite that, I'm still getting:
W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to
headset_head_unit: Not connected

A2DP works as expected. HSP/HFP shows as unavailable. ofono is running
(under systemd - compiled & installed from
https://aur.archlinux.org/packages/ofono/).

pactl list output for the headset card:

Card #3
        Name: bluez_card.A0_14_3D_6B_E6_7F
        Driver: module-bluez5-device.c
        Owner Module: 26
        Properties:
                device.description = "Parrot ZIK 3.0 V3.01"
                device.string = "A0:14:3D:6B:E6:7F"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "hands-free"
                bluez.path = "/org/bluez/hci0/dev_A0_14_3D_6B_E6_7F"
                bluez.class = "0x240408"
                bluez.alias = "Parrot ZIK 3.0 V3.01"
                device.icon_name = "audio-handsfree-bluetooth"
                device.intended_roles = "phone"
        Profiles:
                a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks:
1, sources: 0, priority: 10, available: yes)
                headset_head_unit: Headset Head Unit (HSP/HFP) (sinks:
1, sources: 1, priority: 20, available: no)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: a2dp_sink
        Ports:
                handsfree-output: Handsfree (priority: 0, latency
offset: 0 usec, available)
                        Part of profile(s): a2dp_sink, headset_head_unit
                handsfree-input: Handsfree (priority: 0, latency
offset: 0 usec, not available)
                        Part of profile(s): headset_head_unit

Have I missed something?
J. Leclanche


On Sun, Mar 27, 2016 at 11:58 AM, Tanu Kaskinen <tanuk at iki.fi> wrote:
> On Sat, 2016-03-26 at 16:06 +0100, Georg Chini wrote:
>> On 26.03.2016 11:19, Tanu Kaskinen wrote:
>> >
>> > On Sat, 2016-03-26 at 11:31 +0200, Jerome Leclanche wrote:
>> > >
>> > > Hi list
>> > >
>> > > I've been debugging all morning issues with the Parrot ZIK 3.0 (and
>> > > its two previous model versions) not displaying HSP profile as
>> > > available.
>> > >
>>
>> >
>> > >
>> > > Here's a bug report on the topic:
>> > > https://bugs.freedesktop.org/show_bug.cgi?id=93898
>> > >
>> > > The bug report shows information about two devices, and now I noticed
>> > > something that I hadn't noticed earlier: the working device supports
>> > > both HSP and HFP, but the non-working device only supports HFP. The
>> > > "native" backend in pulseaudio only supports HSP, so this explains why
>> > > some headsets don't work. The assumption has been that all headsets
>> > > would support both profiles anyway, but if there are headsets that
>> > > don't have HSP, then it seems that we still don't support all headsets
>> > > with BlueZ 5 (BlueZ 4 should still work fine, but nobody is using it
>> > > anymore). The oFono backend is of no use for headset support, because
>> > > it only supports the role where PulseAudio runs on the handsfree
>> > > device, meaning that you can connect your laptop to your phone and
>> > > pretend that the laptop is a headset.
>> This might be different now. I have seen a few patches on the
>> ofono side concerning headset support, so it may work meanwhile.
>
> Ok, that's good. It would be nice if someone could test and report back
> if using headsets with the oFono backend works now (I should be able to
> try that too, but last time I tried to set up oFono, nothing worked).
>
>> > > I don't know when this will be fixed. I'm not volunteering to implement
>> > > the missing functionality.
>> > >
>> Wasn't there a discussion that pulseaudio should only support HSP
>> and HFP should be covered by ofono?
>
> I don't remember everything that was discussed, but you are probably
> right, since that's certainly the end result of things. However, when
> the native backend was added, I'm sure the expectation was that
> supporting only HSP would be good enough for desktop systems. Now if
> there is a significant number of HFP-only headsets, the native backend
> becomes nearly pointless, if supporting the full range of headsets
> requires oFono anyway.
>
> --
> Tanu
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux