How to connect using bluetoothctl (if gui fails):
Start bluetoothctl:
bluetoothctl
Then:
power on
agent on
default-agent
scan on
# wait for UHK to appear, say CA:06:14:C4:D3:8F, copy the address, then:
pair CA:06:14:C4:D3:8F
If first pairing attempt goes well, but subsequent fail:
E.g., if bluetoothctl complains about:
[bluetoothctl]> pair CA:06:14:C4:D3:8F
Attempting to pair with CA:06:14:C4:D3:8F
Failed to pair: org.bluez.Error.AlreadyExists
Try to remove the connection from caches:
- In
bluetoothctl:
remove CA:06:14:C4:D3:8F
- if it fails, force remove from system caches (maybe not needed, AI advice):
sudo systemctl stop bluetooth
sudo rm -rf /var/lib/bluetooth/*/CA:06:14:C4:D3:8F
sudo rm -rf /var/lib/bluetooth/*/*/CA:06:14:C4:D3:8F
sudo systemctl start bluetooth
- full reset of the bluetooth stack:
sudo rfkill block bluetooth
sudo rfkill unblock bluetooth
This topic is mainly for my own future reference, but this seemed the best place for it
.