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โ
- https://www.bluez.org/
- https://forums.raspberrypi.com/viewtopic.php?p=947185#p947185
- https://unix.stackexchange.com/questions/266349/use-unified-remote-on-fedora-over-bluetooth
- https://bbs.archlinux.org/viewtopic.php?id=204079
- https://www.reddit.com/r/EndeavourOS/comments/1l60u2u/bluetooth_brconnectionkeymissing/
- https://askubuntu.com/questions/775303/unified-remote-bluetooth-could-not-connect-to-sdp
- https://stackoverflow.com/questions/41290114/bluetooth-sdp-where-is-sdpd
- https://packages.fedoraproject.org/