Bug 97316

Summary: Switching to Headset Head Unit (HSP/HFP) profile doesn't work
Product: PulseAudio Reporter: Forrest Loomis <cybercyst>
Component: modulesAssignee: pulseaudio-bugs
Status: RESOLVED DUPLICATE QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Forrest Loomis 2016-08-12 01:55:04 UTC
I have a Jabra MOVE v2.5.0 bluetooth headset that I'd like to be able to use in Headset mode.
After pairing the headphones with my computer, A2DP mode works just fine, but when I switch to HSP/HFP in gnome-control-center, I only hear static -- no sound plays, the microphone input appears, but doesn't receive any input.

I'm running on bluez-git and pulseaudio-git (as of today, August 11, 2016)

here's my pactl list:
Card #2
	Name: bluez_card.50_1A_A5_3E_26_FF
	Driver: module-bluez5-device.c
	Owner Module: 28
	Properties:
		device.description = "Jabra MOVE v2.5.0"
		device.string = "50:1A:A5:3E:26:FF"
		device.api = "bluez"
		device.class = "sound"
		device.bus = "bluetooth"
		device.form_factor = "headset"
		bluez.path = "/org/bluez/hci0/dev_50_1A_A5_3E_26_FF"
		bluez.class = "0x240404"
		bluez.alias = "Jabra MOVE v2.5.0"
		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)
			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


I'm not really seeing any other telling errors in dmesg... Any suggestions on how to get HSP/HFP working?
Comment 1 tobiasBora 2016-10-17 00:04:50 UTC
Hello,

I have the same bug (very similar outputs) on debian unstable (Pulseaudio version 9.0). I have the following error in /var/log/syslog :

[pulseaudio] module-bluez5-device.c: Refused to switch profile to headset_head_unit: Not connected

If you want me to run any debug command, just ask ! The lack of this feature is very annoying.
Comment 2 Tanu Kaskinen 2016-10-17 10:18:34 UTC
This bug report seems similar to bug 97064, I'm marking this as a duplicate. The problem might be that you lack firmware for the bluetooth adapter, or the adapter needs some extra configuration to be usable in HSP mode (see the discussion in bug 97064).

Tobias, your problem is different. Here's a bug that better matches your symptoms: https://bugs.freedesktop.org/show_bug.cgi?id=93898

The first thing to check is that does the headset support HSP, or only HFP. HFP-only headsets are not currently supported by pulseaudio. If the headset is supposed to support HSP, then I don't really have ideas about what could be wrong. The error message says that the HSP profile is not connected, so you'd have to figure out why that is the case. It's not pulseaudio's job to connect the profiles, so the problem seems to be in bluetoothd's side.

*** This bug has been marked as a duplicate of bug 97064 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.