You are not logged in.
Hi ! I try to follow regular instructions to connect bluetooth devices with bluetoothctl : power on - dicoverable on - pairable on - scan on - pair MAC_ADDRESS - connect MAC_ADDRESS
All commands work well until pairing, but the connect command fails and displays following :
Failed to connect: org.bluez.Error.Failed br-connection-unknownand adds this line to systemctl status bluetooth :
bluetoothd[726]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for 10:28:74:44:65:20: Protocol not availableI have no idea why but it worked like 2 or 3 times, usually when the laptop has been running for quite some time. But when I reboot and try again, the same error is back.
Also, when I had before KDE plasma installed on the same laptop, bluetooth was working fine from the configuration panel. I encounter this issue since I installed again Arch without a desktop environment.
Offline
I noticed an interesting behaviour :
I am able to connect a device perfectly well with blueman-manager GUI, and after doing so, even bluetoothctl starts to work well, it allows me to disconnect and connect again as much as I want, as if blueman-manager had fixed the issue.
But as soon as i remove the device from the known devices list and reboot the laptop, the same error I mentioned before happens again and I can't connect with bluetoothctl.
So at least I can use bluetooth now, but I would still like to understand what could be the cause of this error and fix it to make my install cleaner. Any ideas ?
Offline
Looks like it might be a problem with the A2DP profile not loading properly after a reboot. If blueman-manager works, but bluetoothctl doesn't after reboot, try restarting the Bluetooth service. Also, maybe check if you’re missing a package like pulseaudio-bluetooth if you're doing audio stuff. Could be something with the setup not fully initializing until it’s triggered by the GUI.
sudo systemctl restart bluetoothOffline