Bluetooth device failed to connect

Почему не подключается Bluetooth девайс?

Все предыдущие шаги из гайда были выполены. Т.е. пэиринг прошел удачно:

Собственно я не могу понять в чем проблема и что за ошибка:
> Failed to connect: org.bluez.Error.Failed
В гайде сказано, что при возникновении такой ошибки требуется убить демон pulseaudio (pulseaudio -k), но мне это решение не помогает и проблема остается не исправленой.

Вывод journalctl | grep bluetooth:

Jul 05 14:47:40 f31 NetworkManager[535]: [1562327260.3099] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.18.0-1/libnm-device-plugin-bluetooth.so)
Jul 05 14:47:59 f31 sudo[1764]: wh75er : TTY=pts/0 ; PWD=/home/wh75er ; USER=root ; COMMAND=/usr/bin/systemctl start bluetooth.service
Jul 05 14:47:59 f31 bluetoothd[1767]: Bluetooth daemon 5.50
Jul 05 14:47:59 f31 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg=’unit=bluetooth comm=»systemd» exe=»/usr/lib/systemd/systemd» hostname=? addr=? terminal=? res=success’
Jul 05 14:47:59 f31 bluetoothd[1767]: Starting SDP server
Jul 05 14:47:59 f31 kernel: audit: type=1130 audit(1562327279.843:34): pid=1 uid=0 auid=4294967295 ses=4294967295 msg=’unit=bluetooth comm=»systemd» exe=»/usr/lib/systemd/systemd» hostname=? addr=? terminal=? res=success’
Jul 05 14:47:59 f31 bluetoothd[1767]: Bluetooth management interface 1.14 initialized
Jul 05 14:47:59 f31 bluetoothd[1767]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource
Jul 05 14:47:59 f31 bluetoothd[1767]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSink
Jul 05 14:48:21 f31 bluetoothd[1767]: connect error: Connection refused (111)
Jul 05 14:48:24 f31 bluetoothd[1767]: connect error: Connection refused (111)
Jul 05 14:49:12 f31 bluetoothd[1767]: connect error: Connection refused (111)
Jul 05 14:49:19 f31 bluetoothd[1767]: connect error: Connection refused (111)
Jul 05 14:55:32 f31 bluetoothd[1767]: connect error: Connection refused (111)
Jul 05 14:55:35 f31 bluetoothd[1767]: connect error: Software caused connection abort (103)
Jul 05 14:57:44 f31 sudo[4009]: wh75er : TTY=pts/1 ; PWD=/home/wh75er ; USER=root ; COMMAND=/usr/bin/systemctl status bluetooth.service
Jul 05 15:21:07 f31 bluetoothd[1767]: connect error: Connection refused (111)

connect error: Software caused connection abort (103), что это может значить? Можно ли где-то посмотреть более подробный лог того, что происходит? Я посмотрел арч вики по bluetooth, но там ничего про логирование или эту ошибку не нашел.

P.S. Я уже ранее испытывал данную проблему, не помню как ее решил. Либо методом научного тыка, либо все само починилось, далее все хорошо подключалось до недавнего обновления системы. Ничего специфического не делал.

Установленные пакеты:
~ yay -Q | grep pulseaudio
pulseaudio 12.2-2
pulseaudio-alsa 2-4
pulseaudio-bluetooth 12.2-2

~ yay -Q | grep blue
bluez 5.50-6
bluez-hid2hci 5.50-6
bluez-libs 5.50-6
bluez-rfcomm 5.45-1
bluez-utils 5.50-6

Читайте также:  Передает ли bluetooth flac

Источник

Arch Linux

I’m having trouble connecting to my radio for audio output, it most certainly can connect when I use my Android phone, or my previous Windows 10 install. It even worked with Linux Mint 20, but Arch with Plasma 5 says «Resource temporarily unavaliable» if I try to connect from System Settings.
Upon checking the output of

systemctl status bluetooth
● bluetooth.service - Bluetooth service Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled) Active: active (running) since Sun 2021-01-31 11:13:43 CET; 40min ago Docs: man:bluetoothd(8) Main PID: 753 (bluetoothd) Status: "Running" Tasks: 1 (limit: 9278) Memory: 4.3M CGroup: /system.slice/bluetooth.service └─753 /usr/lib/bluetooth/bluetoothd Jan 31 11:37:05 Lenovo bluetoothd[753]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to FC:58:FA:DA:9B:D4: Software caused connection abort (103) Jan 31 11:37:20 Lenovo bluetoothd[753]: src/profile.c:ext_connect() Headset Voice gateway failed connect to FC:58:FA:DA:9B:D4: Software caused connection abort (103) Jan 31 11:37:23 Lenovo bluetoothd[753]: src/profile.c:ext_connect() Headset Voice gateway failed connect to FC:58:FA:DA:9B:D4: Connection refused (111) Jan 31 11:38:00 Lenovo bluetoothd[753]: src/profile.c:ext_connect() Headset Voice gateway failed connect to FC:58:FA:DA:9B:D4: Connection refused (111) Jan 31 11:38:01 Lenovo bluetoothd[753]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to FC:58:FA:DA:9B:D4: Connection refused (111) Jan 31 11:44:14 Lenovo bluetoothd[753]: src/profile.c:ext_connect() Headset Voice gateway failed connect to FC:58:FA:DA:9B:D4: Connection refused (111) Jan 31 11:44:14 Lenovo bluetoothd[753]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to FC:58:FA:DA:9B:D4: Connection refused (111) Jan 31 11:44:46 Lenovo bluetoothd[753]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to FC:58:FA:DA:9B:D4: Connection timed out (110) Jan 31 11:56:59 Lenovo bluetoothd[753]: src/profile.c:ext_connect() Headset Voice gateway failed connect to FC:58:FA:DA:9B:D4: Connection refused (111) Jan 31 11:57:00 Lenovo bluetoothd[753]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to FC:58:FA:DA:9B:D4: Connection refused (111)

I tried using different bluetooth GUIs such as blueberry but that doesn’t work either. I also tried searching for any potential lacking bluez packages, so I’ll give you the output of

aur/python-bluezero 0.3.0-1 (+0 0.00) Python library for Bluetooth Low Energy (BLE) on Linux aur/bjarkan 1.2.0-4 (+0 0.00) A bluez 5 compatible command line utility and python 3 library aur/python-pybluez-git 0.22.r52.g42070d9-1 (+1 0.00) (Out-of-date: 2020-02-27) Python wrapper for the BlueZ Bluetooth stack aur/mpris-fakeplayer 0.1.3-1 (+1 0.32) Fake mpris player for activating bluez avrcp volume control aur/btsco 0.5-4 (+1 0.00) Bluez Bluetooth SCO Tool aur/ts-bt 1.3-0 (+3 0.00) Bluetooth Management for theShell using BlueZ aur/pipewire-common-bluez5-git 0.3.20.r36.g98a35276-1 (+4 3.37) Server and user space API to deal with multimedia pipelines (BlueZ 5 SPA plugin) aur/pipewire-common-bluez5-hsphfpd-git 0.3.20.r36.g98a35276-1 (+4 3.37) Server and user space API to deal with multimedia pipelines (BlueZ 5 SPA plugin, using hsphfpd for HSP/HFP support) aur/gkrellm-bluez 0.2-2 (+5 0.00) GKrellM BlueZ is a plugin that displays a graph of RX/TX bytes of Bluetooth adaptors. It uses the same layout as a Net monitor. aur/bluez-qt-git r374.7b59f83-1 (+6 0.00) (Orphaned) (Out-of-date: 2020-10-19) Qt wrapper for Bluez 5 DBus API aur/bluez-hciconfig 5.50-1 (+6 0.02) deprecated hciconfig tool from bluez aur/bluez-firmware 1.2-9 (+7 0.07) Firmwares for Broadcom BCM203x and STLC2300 Bluetooth chips aur/python-gattlib 0.20150805-3 (+8 0.04) (Out-of-date: 2020-12-29) This is a Python library to use the GATT Protocol for Bluetooth LE devices. It is a wrapper around the implementation used by gatttool in bluez package. It does not call other binaries to do its job :) aur/bluez-ps3 5.45-1 (+8 0.00) Daemons for the bluetooth protocol stack. Patched to support PS3 controllers, including Gasia/Shanwan clones aur/bluez-rfcomm 5.45-1 (+11 0.35) deprecated rfcomm tool from bluez aur/lib32-bluez-plugins 5.55-1 (+16 0.00) bluez plugins (PS3 Sixaxis controller) (32-bit) aur/lib32-bluez-libs 5.55-1 (+16 0.00) Deprecated libraries for the bluetooth protocol stack (32-bit) aur/powerdevil-light 5.20.5-1 (+16 0.60) Manages the power consumption settings of a Plasma Shell. Light version without NetworkManager and Bluez support/dependencies. aur/bluez-hcitool 5.45-1 (+22 0.51) deprecated rfcomm tool from bluez aur/bluez-alsa-git 3.0.0.r6.g93853e5-1 (+22 0.72) Bluetooth Audio ALSA Backend aur/bluez-utils-compat 5.55-1 (+35 1.65) Development and debugging utilities for the bluetooth protocol stack. Includes deprecated tools. aur/bluez-git 1:5.52.r64.g6a83d1467-1 (+39 0.03) Libraries and tools for the Bluetooth protocol stack aur/blueman-git 2.1.alpha3.r5.g088da0c7-1 (+107 0.04) A GTK+ Bluetooth Manager (BlueZ 5) - git community/python2-pybluez 0.22-6 (63.8 KiB 235.1 KiB) Python wrapper for the BlueZ Bluetooth stack community/python-pybluez 0.22-6 (65.0 KiB 222.0 KiB) Python wrapper for the BlueZ Bluetooth stack community/python-bluepy 1.3.0-4 (159.5 KiB 550.2 KiB) Python module for interfacing with Bluetooth LE devices through Bluez community/bluez-tools 0.2.0-5 (159.9 KiB 999.6 KiB) (Installed) A set of tools to manage Bluetooth devices for Linux extra/bluez-utils 5.55-1 (1.2 MiB 6.9 MiB) (Installed) Development and debugging utilities for the bluetooth protocol stack extra/bluez-qt 5.78.0-1 (854.4 KiB 2.0 MiB) [kf5] (Installed) Qt wrapper for Bluez 5 DBus API extra/bluez-plugins 5.55-1 (7.5 KiB 17.9 KiB) bluez plugins (PS3 Sixaxis controller) extra/bluez-libs 5.55-1 (96.2 KiB 328.5 KiB) (Installed) Deprecated libraries for the bluetooth protocol stack extra/bluez-hid2hci 5.55-1 (8.0 KiB 15.9 KiB) Put HID proxying bluetooth HCI's into HCI mode extra/bluez-cups 5.55-1 (77.2 KiB 201.3 KiB) (Installed) CUPS printer backend for Bluetooth printers extra/bluez 5.55-1 (818.8 KiB 2.5 MiB) (Installed) Daemons for the bluetooth protocol stack

Finally, the radio device in question is «MICRO HIFI SYSTEM M 1000 BT» made by Grundig. It’s the only bluetooth device I use that Arch can’t connect to, my headphones and phone connect without any errors what so ever.
Thanks for reading. If you need any further info feel free to ask.

Читайте также:  Tm 306 bluetooth usb dongle

Last edited by Zeash (2021-02-01 07:13:34)

Источник

Ubuntu 20.04 Bluetooth «Connection to the device failed»

This is to my bluetooth headphone. screen1 Then I click on «Connect», and after a few seconds, I get this message: screen2 «Connection to the device failed» The strange thing is, this has worked previously. There might have been updates in between but I’m not exactly sure. Also, I was dual booting Windows before, and there Bluetooth with the same headphone works just fine. I recheck by booting in again to Windows, and it still works, but then booting back to Linux, and it does not work. This sounds related, because some people also report dual boots with Windows. However, the suggestion with reloading btusb (or maybe also btintel ) did not help. I had some previous issues with wifi + dual booting with Windows before. I did sth and it solved it, but I forgot what I was. I remember that to permanently get rid of this, I was supposed to disable the Windows «Fast Boot» feature. But there was another workaround to make it working. Related questions here or here, but I had found some other question/website with more information, but I don’t find it anymore. Anyway, I disabled the «Fast Boot» feature in Windows, and the wifi is working all the time. I did not had any issues anymore.

2 Answers 2

After a bit of digging I was able to sove this issue for myself which involved connecting a bluetooth audio device. For me it was specifically a JBL Charge4.

The solution was to install the pulseaudio Bluetooth module and restart it:

sudo apt install pulseaudio-module-bluetooth pulseaudio -k pulseaudio --start 

Then when I try to pair I no longer get the message and it works.

Читайте также:  Bluetooth acer aspire 5745g

Источник

Оцените статью
Adblock
detector