You are not logged in.

#1 2021-01-31 11:06:10

Zeash
Member
Registered: 2021-01-26
Posts: 71

[SOLVED] Bluetooth device fails to connect (Connection refused (111))

Hello,
First off, some information about my system:
DE: KDE Plasma 5.20.5
Kernel: 5.4.93-2-lts

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

I got this:

● 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

yay -Ss bluez

:

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.

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

Offline

#2 2021-01-31 21:31:07

uroter
Member
Registered: 2021-01-01
Posts: 12

Re: [SOLVED] Bluetooth device fails to connect (Connection refused (111))

Have you tried just removing and connecting again using bluetoothctl? That solved a Connection refused (111) problem I had a while back:

# bluetoothctl
[bluetooth]# remove FC:58:FA:DA:9B:D4
[bluetooth]# connect FC:58:FA:DA:9B:D4

Offline

#3 2021-02-01 07:13:05

Zeash
Member
Registered: 2021-01-26
Posts: 71

Re: [SOLVED] Bluetooth device fails to connect (Connection refused (111))

After trying to connect tells me

Device FC:58:FA:DA:9B:D4 not available

So I  tried connecting from the system settings, and it worked!

One thing I noticed though is that if I turn the radio off while it's connected, turn it on and try to connect to it again it will fail the same way as before, but this just means I gotta disconnect the normal way rather than the forceful way.
Thanks for your help!

Offline

Board footer

Powered by FluxBB