You are not logged in.

#1 2019-01-27 23:23:28

mluffman
Member
Registered: 2019-01-25
Posts: 3

Problems with HSP & PulseAudio

I've been trying to get my bluetooth headset to work with HSP for quite some time now with no success. It works great with A2DP, but when I select HSP/HFP in System Settings > Multimedia > Audio Volume > Advanced, the profile automatically switches to off. I know the headset has HSP & headset as the output is

Device 70:26:05:56:F0:6B (public)
        Name: WH-CH700N
        Alias: WH-CH700N
        Class: 0x00240404
        Icon: audio-card
        Paired: yes
        Trusted: yes
        Blocked: no
        Connected: yes
        LegacyPairing: no
        UUID: Vendor specific           (00000000-deca-fade-deca-deafdecacaff)
        UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: Vendor specific           (7b265b0e-2232-4d45-bef4-bb8ae62f813d)
        UUID: Vendor specific           (96cc203e-5068-46ad-b32d-e316f5e069ba)
        UUID: Vendor specific           (b9b213ce-eeab-49e4-8fd9-aa478ed1b26b)
        Modalias: usb:v054Cp0C7Fd0104

I tried connecting with Handsfree through oFono but that was just a bad rabbit hole. I uninstalled oFono after I couldn't get handsfree profile to work. What I don't understand is that Pulseaudio & Bluez5 should work just fine with HSP.

Here is the output from pacmd

>>> list-cards
1 card(s) available.
    index: 1
        name: <bluez_card.70_26_05_56_F0_6B>
        driver: <module-bluez5-device.c>
        owner module: 27
        properties:
                device.description = "WH-CH700N"
                device.string = "70:26:05:56:F0:6B"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "headset"
                bluez.path = "/org/bluez/hci0/dev_70_26_05_56_F0_6B"
                bluez.class = "0x240404"
                bluez.alias = "WH-CH700N"
                device.icon_name = "audio-headset-bluetooth"
                device.intended_roles = "phone"
        profiles:
                headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: unknown)
                a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: unknown)
                off: Off (priority 0, available: yes)
        active profile: <a2dp_sink>
        sinks:
                bluez_sink.70_26_05_56_F0_6B.a2dp_sink/#1: WH-CH700N
        sources:
                bluez_sink.70_26_05_56_F0_6B.a2dp_sink.monitor/#1: Monitor of WH-CH700N
        ports:
                headset-output: Headset (priority 0, latency offset 0 usec, available: unknown)
                        properties:

                headset-input: Headset (priority 0, latency offset 0 usec, available: unknown)
                        properties:

>>> set-card-profile 1 headset_head_unit
Failed to set card profile to 'headset_head_unit'.
>>> set-card-profile 1 a2dp_sink

What am I doing wrong?

Sorry if I'm missing logs, let me know what kind of output you need and I can provide.

Thanks in advance!

Last edited by mluffman (2019-01-28 00:55:12)

Offline

#2 2019-01-28 00:14:54

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Problems with HSP & PulseAudio

Please edit your post to use [ code ] tags when posting output.

https://wiki.archlinux.org/index.php/Co … s_and_code
https://bbs.archlinux.org/help.php#bbcode

Offline

#3 2019-01-28 00:55:37

mluffman
Member
Registered: 2019-01-25
Posts: 3

Re: Problems with HSP & PulseAudio

Fixed, sorry about that.

2ManyDogs wrote:

Offline

#4 2019-02-04 13:19:38

mmfmarin
Member
Registered: 2010-10-28
Posts: 12

Re: Problems with HSP & PulseAudio

Please post the output of

journalctl --user -u pulseaudio

and

journalctl -u pulseaudio

You might need to install the package ofono-git

Last edited by mmfmarin (2019-02-04 13:19:55)

Offline

#5 2019-06-14 20:30:06

hashstat
Member
Registered: 2013-05-24
Posts: 23

Re: Problems with HSP & PulseAudio

@mluffman Did you ever get this working?

I too am having trouble getting my Bluetooth headset working with HSP. I also tried many things, including oFono, but haven't had any luck

I would love to know if you found a solution.

Offline

#6 2020-04-25 15:40:04

rouckho
Member
Registered: 2020-04-25
Posts: 1

Re: Problems with HSP & PulseAudio

I think I might have the same issue as you. When I try to change to HSP profile via pavucontrol it switches to off.
Trying to switch to HSP via pactl and pacmd gives the following.

[~]$ pactl set-card-profile 2 headset_head_unit
Failure: Input/Output error

[~]$ pacmd set-card-profile 2 headset_head_unit
Failed to set card profile to 'headset_head_unit'.

Since it is a pretty popular headphone I'll mention that I have a Sony wh-1000xm3.

Also important to mention is that I have a USB Bluetooth dongle.

[~]$ lsusb
...
Bus 002 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
...

I already found out there is a regression in older kernels for these usb dongles. https://bugzilla.kernel.org/show_bug.cgi?id=60824
This bug has status REOPEND so I thought I found the problem but alas. This bug is about the dongle not being recognized but just like mluffman A2DP works fine for me.

I also found that pactl and pacmd report different statuses for the profile availability.

[~]$ pacmd list-cards
...
index: 2
	name: <bluez_card.38_18_4C_D4_4F_DE>
...
	properties:
		device.description = "WH-1000XM3"
...
	profiles:
		headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: unknown)
		a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: unknown)
...
[~]$ pactl list
Card #2
	Name: bluez_card.38_18_4C_D4_4F_DE
	Driver: module-bluez5-device.c
	...
	Properties:
		device.description = "WH-1000XM3"
		device.string = "38:18:4C:D4:4F:DE"
..."
	Profiles:
		headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 30, available: yes)
		a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 40, available: yes)

I also dove into the oFono rabit hole but decided to climb out since from my understanding (PulseAudio documentation) oFono is only needed for HFP.

I know my dongle works at a hardware level since it works on my Windows partition and like I mentioned A2DP works fine. I have been stuck on this problem for over a week now. I think I did my due diligence with troubleshooting so if anybody with more knowledge about this could take a look that would be greatly appreciated.

Offline

Board footer

Powered by FluxBB