You are not logged in.

#1 2025-03-18 12:48:04

roasted_watermelon
Member
Registered: 2025-03-18
Posts: 1

A2DP profile not available until I disconnect and reconnect bluetooth

This is a recurrent issue but does not happen all the time.

I have a Sony WH-1000XM4. When I connect the device to bluetooth, sometimes A2DP is not available. I have to disconnect the headset and connect it again.

Relevant portion from pactl list | grep -i hsp.

Card #628
	Name: bluez_card.88_C9_E8_70_7A_38
	Driver: module-bluez5-device.c
	Owner Module: n/a
	Properties:
		api.bluez5.address = "88:C9:E8:70:7A:38"
		api.bluez5.class = "0x240404"
		api.bluez5.connection = "connected"
		api.bluez5.device = ""
		api.bluez5.icon = "audio-headset"
		api.bluez5.path = "/org/bluez/hci0/dev_88_C9_E8_70_7A_38"
		bluez5.profile = "off"
		device.alias = "WH-1000XM4"
		device.api = "bluez5"
		device.bus = "bluetooth"
		device.description = "WH-1000XM4"
		device.form_factor = "headset"
		device.icon_name = "audio-headset-bluetooth"
		device.name = "bluez_card.88_C9_E8_70_7A_38"
		device.product.id = "0x0d58"
		device.string = "88:C9:E8:70:7A:38"
		device.vendor.id = "usb:054c"
		media.class = "Audio/Device"
		spa.object.id = "0"
		factory.id = "15"
		client.id = "46"
		object.id = "90"
		object.serial = "628"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		headset-head-unit-cvsd: Headset Head Unit (HSP/HFP, codec CVSD) (sinks: 1, sources: 1, priority: 2, available: yes)
		headset-head-unit: Headset Head Unit (HSP/HFP, codec mSBC) (sinks: 1, sources: 1, priority: 3, available: yes)
	Active Profile: headset-head-unit
	Ports:
		headset-input: Headset (type: Headset, priority: 0, latency offset: 0 usec, available)
			Properties:
				port.type = "headset"
			Part of profile(s): headset-head-unit-cvsd, headset-head-unit
		headset-hf-output: Handsfree (type: Headset, priority: 0, latency offset: 0 usec, available)
			Properties:
				port.type = "headset"
			Part of profile(s): headset-head-unit-cvsd, headset-head-unit

Kernel:

Linux arch 6.12.18-1-lts #1 SMP PREEMPT_DYNAMIC Fri, 07 Mar 2025 18:50:18 +0000 x86_64 GNU/Linux

pactl output after reconnecting:

Card #684
	Name: bluez_card.88_C9_E8_70_7A_38
	Driver: module-bluez5-device.c
	Owner Module: n/a
	Properties:
		api.bluez5.address = "88:C9:E8:70:7A:38"
		api.bluez5.class = "0x240404"
		api.bluez5.connection = "connected"
		api.bluez5.device = ""
		api.bluez5.icon = "audio-headset"
		api.bluez5.path = "/org/bluez/hci0/dev_88_C9_E8_70_7A_38"
		bluez5.profile = "off"
		device.alias = "WH-1000XM4"
		device.api = "bluez5"
		device.bus = "bluetooth"
		device.description = "WH-1000XM4"
		device.form_factor = "headset"
		device.icon_name = "audio-headset-bluetooth"
		device.name = "bluez_card.88_C9_E8_70_7A_38"
		device.product.id = "0x0d58"
		device.string = "88:C9:E8:70:7A:38"
		device.vendor.id = "usb:054c"
		media.class = "Audio/Device"
		spa.object.id = "0"
		factory.id = "15"
		client.id = "46"
		object.id = "53"
		object.serial = "684"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		a2dp-sink: High Fidelity Playback (A2DP Sink, codec SBC) (sinks: 1, sources: 0, priority: 18, available: yes)
		a2dp-sink-sbc_xq: High Fidelity Playback (A2DP Sink, codec SBC-XQ) (sinks: 1, sources: 0, priority: 17, available: yes)
		headset-head-unit-cvsd: Headset Head Unit (HSP/HFP, codec CVSD) (sinks: 1, sources: 1, priority: 2, available: yes)
		headset-head-unit: Headset Head Unit (HSP/HFP, codec mSBC) (sinks: 1, sources: 1, priority: 3, available: yes)
	Active Profile: a2dp-sink
	Ports:
		headset-input: Handsfree (type: Headset, priority: 0, latency offset: 0 usec, available)
			Properties:
				port.type = "headset"
			Part of profile(s): headset-head-unit-cvsd, headset-head-unit
		headset-output: Headset (type: Headset, priority: 0, latency offset: 0 usec, available)
			Properties:
				port.type = "headset"
			Part of profile(s): a2dp-sink, a2dp-sink-sbc_xq
		headset-hf-output: Handsfree (type: Headset, priority: 0, latency offset: 0 usec, available)
			Properties:
				port.type = "headset"
			Part of profile(s): headset-head-unit-cvsd, headset-head-unit

I did check this: https://wiki.archlinux.org/title/Blueto … PulseAudio but the solutions are from 2019! Also I am using pipewire - GNOME 47 on Wayland.

[nightcore@arch ~]$ ps -e | grep -i pulse
   1584 ?        00:00:24 pipewire-pulse

Any assistance is appreciated.

Last edited by roasted_watermelon (2025-03-18 12:56:12)

Offline

#2 2025-03-18 20:04:20

The Loko
Member
From: Spain
Registered: 2014-07-23
Posts: 103

Re: A2DP profile not available until I disconnect and reconnect bluetooth

Seems an issue with the headset, as stated on the wiki, some devices require a reconnection or pressing the volume / play buttons to enable the A2DP profile.

You can try the other solutions listed there but they usually don't work when I have tried them.

Offline

Board footer

Powered by FluxBB