Hi
I recently switched to 18.2 and have been experiencing issues when pairing wireless speaker ever since
The speaker pairs itself perfectly (Harman Kardon Onyx), but once it's paired I can't get it to be recognized as a High Fidelity Playback A2DP Sink device, every time I try to do it from here:
It will go straight to the built in Speakers option and only work as a headset giving terrible sound performance
I also installed pavucontrol and no luck there either
Bluetooth sound Failed to change profile to a2dp_sink
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Bluetooth sound Failed to change profile to a2dp_sink
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Bluetooth sound Failed to change profile to a2dp_sink
This a2dp.py script was what worked for me:
https://gist.github.com/pylover/d68be36 ... 5e6ed6e7ae
https://gist.github.com/pylover/d68be36 ... 5e6ed6e7ae
Re: Bluetooth sound Failed to change profile to a2dp_sink
unistsll blueberry and install blueman.
launch terminal, run bluetoothctl
in the bluetooth shell, run agent on
get response:
Agent registered
then you can chage the profile now in blueman gui.
after that you can type exit in the bluetooth shell to get out from it
launch terminal, run bluetoothctl
in the bluetooth shell, run agent on
get response:
Agent registered
then you can chage the profile now in blueman gui.
after that you can type exit in the bluetooth shell to get out from it
Re: Bluetooth sound Failed to change profile to a2dp_sink
Hello,
i have the same problem on my 20.1 mint. I used the script but the problem is alway present
have you got any ideas
i have the same problem on my 20.1 mint. I used the script but the problem is alway present
Code: Select all
python3.9 a2dp.py
/home/samuel/Bureau/bluetooth/a2dp.py:363: SyntaxWarning: "is" with a literal. Did you mean "=="?
if args.profile is 'a2dp':
Connection MADE
Selecting device:
1. 81:8E:35:BC:B5:00 ELEGIANT SR300
2. 30:50:75:52:2B:B0 Jabra Evolve 65
3. 00:23:13:01:F0:CA iTeknic IK-BH004
Select device[1]:
3
Device MAC: 00:23:13:01:F0:CA
Device ID: bluez_card.00_23_13_01_F0_CA
Sink: bluez_sink.00_23_13_01_F0_CA
Updating default sink to bluez_sink.00_23_13_01_F0_CA
Setting the off profile
Disconnecting the device.
Connecting again.
Cannot find `bluez_card.00_23_13_01_F0_CA` using `pactl list cards short`. Retrying 15 more times
Device ID: bluez_card.00_23_13_01_F0_CA
Setting the a2dp profile
Command: pactl set-card-profile bluez_card.00_23_13_01_F0_CA a2dp_sink failed with status: 1
stderr: Échec : Erreur d'entrée/sortie
Exiting bluetoothctl
Re: Bluetooth sound Failed to change profile to a2dp_sink
Hello,
additionnal information :
additionnal information :
Code: Select all
pacmd list-sinks
3 sink(s) available.
index: 0
name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
balance 0,00
base volume: 65536 / 100% / 0,00 dB
volume steps: 65537
muted: no
current latency: 0,00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stéréo
used by: 0
linked by: 0
configured latency: 0,00 ms; range is 0,50 .. 341,33 ms
card: 1 <alsa_card.pci-0000_00_1f.3>
module: 8
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC887-VD Analog"
alsa.id = "ALC887-VD Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xeff20000 irq 133"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "a170"
device.product.name = "100 Series/C230 Series Chipset Family HD Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Stéréo analogique"
device.description = "Audio interne Stéréo analogique"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-lineout: Sortie ligne (priority 9000, latency offset 0 usec, available: yes)
properties:
analog-output-headphones: Casque audio (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-lineout>
index: 8
name: <bluez_sink.81_8E_35_BC_B5_00.a2dp_sink>
driver: <module-bluez5-device.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9050
volume: front-left: 39312 / 60% / -13,32 dB, front-right: 39312 / 60% / -13,32 dB
balance 0,00
base volume: 65536 / 100% / 0,00 dB
volume steps: 65537
muted: no
current latency: 0,00 ms
max request: 4 KiB
max rewind: 0 KiB
monitor source: 14
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stéréo
used by: 0
linked by: 0
fixed latency: 46,33 ms
card: 9 <bluez_card.81_8E_35_BC_B5_00>
module: 35
properties:
bluetooth.protocol = "a2dp_sink"
device.description = "ELEGIANT SR300"
device.string = "81:8E:35:BC:B5:00"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headset"
bluez.path = "/org/bluez/hci0/dev_81_8E_35_BC_B5_00"
bluez.class = "0x340404"
bluez.alias = "ELEGIANT SR300"
device.icon_name = "audio-headset-bluetooth"
device.intended_roles = "phone"
ports:
headset-output: Casque (priority 0, latency offset 0 usec, available: unknown)
properties:
active port: <headset-output>
* index: 13
name: <bluez_sink.00_23_13_01_F0_CA.headset_head_unit>
driver: <module-bluez5-device.c>
flags: HARDWARE HW_VOLUME_CTRL LATENCY
state: IDLE
suspend cause: (none)
priority: 9950
volume: mono: 39312 / 60%
balance 0,00
base volume: 65536 / 100%
volume steps: 16
muted: no
current latency: 34,77 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 23
sample spec: s16le 1ch 8000Hz
channel map: mono
Mono
used by: 0
linked by: 2
fixed latency: 28,00 ms
card: 14 <bluez_card.00_23_13_01_F0_CA>
module: 40
properties:
bluetooth.protocol = "headset_head_unit"
device.intended_roles = "phone"
device.description = "iTeknic IK-BH004"
device.string = "00:23:13:01:F0:CA"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headphone"
bluez.path = "/org/bluez/hci0/dev_00_23_13_01_F0_CA"
bluez.class = "0x240418"
bluez.alias = "iTeknic IK-BH004"
device.icon_name = "audio-headphones-bluetooth"
ports:
headphone-output: Écouteurs (priority 0, latency offset 0 usec, available: yes)
properties:
active port: <headphone-output>
Code: Select all
pacmd list-cards
4 card(s) available.
index: 0
name: <alsa_card.pci-0000_01_00.1>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "1"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xefe40000 irq 134"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "aa68"
device.product.name = "Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]"
device.string = "1"
device.description = "Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Sortie Digital Stereo (HDMI) (priority 5900, available: no)
output:hdmi-surround: Sortie Digital Surround 5.1 (HDMI) (priority 800, available: no)
output:hdmi-surround71: Sortie Digital Surround 7.1 (HDMI) (priority 800, available: no)
off: Éteint (priority 0, available: unknown)
active profile: <off>
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
index: 1
name: <alsa_card.pci-0000_00_1f.3>
driver: <module-alsa-card.c>
owner module: 8
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xeff20000 irq 133"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "a170"
device.product.name = "100 Series/C230 Series Chipset Family HD Audio Controller"
device.form_factor = "internal"
device.string = "0"
device.description = "Audio interne"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Entrée Stéréo analogique (priority 65, available: no)
output:analog-stereo: Sortie Stéréo analogique (priority 6500, available: unknown)
output:analog-stereo+input:analog-stereo: Duplex stéréo analogique (priority 6565, available: no)
output:iec958-stereo: Sortie Stéréo numérique (IEC958) (priority 5500, available: unknown)
output:iec958-stereo+input:analog-stereo: Sortie Stéréo numérique (IEC958) + Entrée Stéréo analogique (priority 5565, available: no)
off: Éteint (priority 0, available: unknown)
active profile: <output:analog-stereo>
sinks:
alsa_output.pci-0000_00_1f.3.analog-stereo/#0: Audio interne Stéréo analogique
sources:
alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#0: Monitor of Audio interne Stéréo analogique
ports:
analog-input-front-mic: Microphone avant (priority 8500, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-rear-mic: Microphone arrière (priority 8200, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-linein: Entrée ligne (priority 8100, latency offset 0 usec, available: no)
properties:
analog-output-lineout: Sortie ligne (priority 9000, latency offset 0 usec, available: yes)
properties:
analog-output-headphones: Casque audio (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
iec958-stereo-output: Sortie numérique (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:
index: 9
name: <bluez_card.81_8E_35_BC_B5_00>
driver: <module-bluez5-device.c>
owner module: 35
properties:
device.description = "ELEGIANT SR300"
device.string = "81:8E:35:BC:B5:00"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headset"
bluez.path = "/org/bluez/hci0/dev_81_8E_35_BC_B5_00"
bluez.class = "0x340404"
bluez.alias = "ELEGIANT SR300"
device.icon_name = "audio-headset-bluetooth"
device.intended_roles = "phone"
profiles:
a2dp_sink: Lecture haute fidélité (A2DP Sink) (priority 40, available: unknown)
off: Éteint (priority 0, available: yes)
active profile: <a2dp_sink>
sinks:
bluez_sink.81_8E_35_BC_B5_00.a2dp_sink/#8: ELEGIANT SR300
sources:
bluez_sink.81_8E_35_BC_B5_00.a2dp_sink.monitor/#14: Monitor of ELEGIANT SR300
ports:
headset-output: Casque (priority 0, latency offset 0 usec, available: unknown)
properties:
headset-input: Casque (priority 0, latency offset 0 usec, available: no)
properties:
index: 14
name: <bluez_card.00_23_13_01_F0_CA>
driver: <module-bluez5-device.c>
owner module: 40
properties:
device.description = "iTeknic IK-BH004"
device.string = "00:23:13:01:F0:CA"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headphone"
bluez.path = "/org/bluez/hci0/dev_00_23_13_01_F0_CA"
bluez.class = "0x240418"
bluez.alias = "iTeknic IK-BH004"
device.icon_name = "audio-headphones-bluetooth"
profiles:
headset_head_unit: Unité centrale du casque (HSP/HFP) (priority 30, available: yes)
a2dp_sink: Lecture haute fidélité (A2DP Sink) (priority 40, available: no)
off: Éteint (priority 0, available: yes)
active profile: <headset_head_unit>
sinks:
bluez_sink.00_23_13_01_F0_CA.headset_head_unit/#13: iTeknic IK-BH004
sources:
bluez_sink.00_23_13_01_F0_CA.headset_head_unit.monitor/#23: Monitor of iTeknic IK-BH004
bluez_source.00_23_13_01_F0_CA.headset_head_unit/#24: iTeknic IK-BH004
ports:
headphone-output: Écouteurs (priority 0, latency offset 0 usec, available: yes)
properties:
headphone-input: Entrée Bluetooth (priority 0, latency offset 0 usec, available: yes)
properties: