Skip to main content

How to use bluetooth on fedora

ยท 2 min read
warning

Nothing worked. I'm stuck with br-connection-key-missing.

systemctl start bluetooth 
systemctl status bluetooth

Errors

# how to debug
blueman-manager --loglevel debug

# it's good to use use bluetoothctl
bluetoothctl
power on # in case the bluez controller power is off
agent on
scan on # wait for your device's address to show up here
scan off
# FC:41:16:BE:0C:80
trust MAC_ADDRESS
pair MAC_ADDRRESS
connect MAC_ADDRESS

Unified Remote: Bluetooth: Could not connect to SDPโ€‹

Main problem is the version of BlueZ.

sudo dnf install bluez-tools
# check package version
dnf list --installed | grep bluez

# list services
systemctl --no-pager | grep blue
systemctl status bluetooth.service
cat /usr/lib/systemd/system/bluetooth.service

# change this line:
# ExecStart=/usr/libexec/bluetooth/bluetoothd
# into
# ExecStart=/usr/libexec/bluetooth/bluetoothd -C

sudo systemctl daemon-reload
sudo systemctl start bluetooth

# try
sudo chmod 777 /var/run/sdp
sudo sdptool browse local

blueman-manager 16.47.36 WARNING ManagerDeviceMenu:145 fail: fail g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.Failed: blueman.bluez.errors.DBusFailedError: br-connection-key-missingโ€‹

sudo apt-get install pulseaudio-module-bluetooth
pactl load-module module-bluetooth-discover
pulseaudio -k
pulseaudio -D

sourcesโ€‹