You are not logged in.
Hi, I'm trying to use Samsung Galaxy Buds as headset unit but when I try to switch the profile in Bluetooth manager I get a message saying "Failed to change profile to headset_head_unit".
I searched for a similar problem but didn't find a case with this error, only some cases where the device wasn't connecting or can't change to A2DP. In my case the device is in A2DP and I can't switch to HSP.
Can you help me figure out how to fix this?
uname -a
Linux naga2k15 5.4.3-arch1-1 #1 SMP PREEMPT Fri, 13 Dec 2019 09:39:02 +0000 x86_64 GNU/Linux
systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2019-12-18 11:51:40 -03; 1 weeks 3 days ago
Docs: man:bluetoothd(8)
Main PID: 587 (bluetoothd)
Tasks: 1 (limit: 19062)
Memory: 3.4M
CGroup: /system.slice/bluetooth.service
└─587 /usr/lib/bluetooth/bluetoothd
Dec 26 10:05:36 naga2k15 bluetoothd[587]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Dec 26 14:08:26 naga2k15 bluetoothd[587]: /org/bluez/hci0/dev_00_11_67_11_2A_E8/sep1/fd4: fd(56) ready
Dec 26 15:18:20 naga2k15 bluetoothd[587]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Dec 27 09:31:50 naga2k15 bluetoothd[587]: /org/bluez/hci0/dev_00_11_67_11_2A_E8/sep1/fd5: fd(56) ready
Dec 27 09:54:03 naga2k15 bluetoothd[587]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Dec 27 12:13:37 naga2k15 bluetoothd[587]: /org/bluez/hci0/dev_00_11_67_11_2A_E8/sep1/fd6: fd(56) ready
Dec 27 13:08:44 naga2k15 bluetoothd[587]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Dec 27 16:03:45 naga2k15 bluetoothd[587]: /org/bluez/hci0/dev_00_11_67_11_2A_E8/sep1/fd7: fd(56) ready
Dec 27 17:32:44 naga2k15 bluetoothd[587]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Dec 28 14:56:54 naga2k15 bluetoothd[587]: /org/bluez/hci0/dev_F4_7D_EF_D5_B8_09/sep1/fd8: fd(57) ready
journalctl -f
Dec 28 14:56:59 naga2k15 pulseaudio[1709]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to headset_head_unit: Not connected
pacmd list-cards
(...)
index: 14
name: <bluez_card.F4_7D_EF_D5_B8_09>
driver: <module-bluez5-device.c>
owner module: 36
properties:
device.description = "Galaxy Buds (B809)"
device.string = "F4:7D:EF:D5:B8:09"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headset"
bluez.path = "/org/bluez/hci0/dev_F4_7D_EF_D5_B8_09"
bluez.class = "0x240404"
bluez.alias = "Galaxy Buds (B809)"
device.icon_name = "audio-headset-bluetooth"
device.intended_roles = "phone"
profiles:
a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: yes)
headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: no)
off: Off (priority 0, available: yes)
active profile: <a2dp_sink>
sinks:
bluez_sink.F4_7D_EF_D5_B8_09.a2dp_sink/#20: Galaxy Buds (B809)
sources:
bluez_sink.F4_7D_EF_D5_B8_09.a2dp_sink.monitor/#32: Monitor of Galaxy Buds (B809)
ports:
headset-output: Headset (priority 0, latency offset 0 usec, available: yes)
properties:
headset-input: Headset (priority 0, latency offset 0 usec, available: no)
properties:
Offline
Any fix for this?
Offline
There is an answer here: https://askubuntu.com/questions/831331/ … -head-unit
which might point you to a solution.
Offline