[pulseaudio-discuss] Trying HSP support in current git

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Mon Dec 15 06:20:01 PST 2014


On Mon, 2014-12-15 at 16:08 +0200, Tanu Kaskinen wrote:
> On Mon, 2014-12-15 at 09:04 -0500, Chris Mason wrote:
> > 
> > On Mon, Dec 15, 2014 at 7:31 AM, Alexander E. Patrakov 
> > <patrakov at gmail.com> wrote:
> > > 11.12.2014 23:58, Chris Mason wrote:
> > >> Hi everyone,
> > >> 
> > >> I've compiled the current git sources to try out the new HSP supoprt.
> > >> When I run pactl list, I get this:
> > >> 
> > >> Card #3
> > >>      Name: bluez_card.48_C1_AC_AD_38_DE
> > >>      Driver: module-bluez5-device.c
> > >>      Owner Module: 27
> > >>      Properties:
> > >>          device.description = "PLT M55"
> > >>          device.string = "48:C1:AC:AD:38:DE"
> > >>          device.api = "bluez"
> > >>          device.class = "sound"
> > >>          device.bus = "bluetooth"
> > >>          device.form_factor = "headset"
> > >>          bluez.path = "/org/bluez/hci0/dev_48_C1_AC_AD_38_DE"
> > >>          bluez.class = "0x240404"
> > >>          bluez.alias = "PLT_M55"
> > >>          device.icon_name = "audio-headset-bluetooth"
> > >>          device.intended_roles = "phone"
> > >>      Profiles:
> > >>          headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1,
> > >> sources: 1, priority: 20, available: no)
> > >>          a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1,
> > >> sources: 0, priority: 10, available: yes)
> > >>          off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
> > >>      Active Profile: a2dp_sink
> > >>      Ports:
> > >>          headset-output: Headset (priority: 0, latency offset: 0 
> > >> usec,
> > >> available)
> > >>              Part of profile(s): headset_head_unit, a2dp_sink
> > >>          headset-input: Headset (priority: 0, latency offset: 0 usec,
> > >> not available)
> > >>              Part of profile(s): headset_head_unit
> > >> 
> > >> 
> > >> Which is almost great, but doesn't show the HSP mode as available. 
> > >> Sound
> > >> works, but the microphone doesn't.  I must be missing something 
> > >> simple?
> > > 
> > > What you describe here looks a lot like this bug, only in the 
> > > opposite direction:
> > > 
> > > https://urldefense.proofpoint.com/v1/url?u=https://bugs.freedesktop.org/show_bug.cgi?id%3D87081&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=6%2FL0lzzDhu0Y1hL9xm%2BQyA%3D%3D%0A&m=eWIJice%2FF75O8CrQzfpVe%2FjfmiGfUmYkvw0wGSQGwlQ%3D%0A&s=fcd39ccd27b95317df39cb70760d77df17e4fdd131d48fe7ef6fb337ae50f5e0
> > > 
> > > David has sent a patch with the subject "WIP: Trying to allow being 
> > > on unavailable profiles" which may help. After all, you have an 
> > > unavailable "headset_head_unit" profile.
> > 
> > That does sound similar.  I'm having a hard time digging out the patch, 
> > can you provide a link?  Happy to try here.
> 
> The log shows that the HSP profile never gets connected (or at least
> PulseAudio doesn't see it getting connected). You can probably check
> with bluetoothctl which profiles have been connected (I don't know the
> exact command, though).

I should add: I don't think that patch will help anything. The issue
that the patch tries to solve is that the a2dp profile may not be
available when the card is initially loaded, but your problem is that
the hsp profile never becomes available. The patch won't help with that
problem.

-- 
Tanu



More information about the pulseaudio-discuss mailing list