Skip to content

Instantly share code, notes, and snippets.

@mavuriel
Created November 30, 2023 01:05
Show Gist options
  • Select an option

  • Save mavuriel/db0b6c5b32d0f0b49fe661b179c9c0ad to your computer and use it in GitHub Desktop.

Select an option

Save mavuriel/db0b6c5b32d0f0b49fe661b179c9c0ad to your computer and use it in GitHub Desktop.
Solve bluetooh pairing issue - linux

Bluetooh pairing

  1. If you tried to pair through some bluetooth UI from your OS and your device is associated then remove from your bluetooth device list.

  2. Restart bluetooth.service

sudo systemctl restart bluetooth.service
  1. Put your device into pairing mode

  2. Type sudo bluetoothctrl and you will enter a command mode for this command in the terminal.

After that you need to find the MAC Address used for Bluetooth, so type scan on and wait for this command to print. Some lines will be printed:

[NEW] Device 92:A4:B2:94:A4:B2 Another Device
[NEW] Device 92:A4:B2:94:A4:B1 G915 TKL
[NEW] Device 92:A4:B2:94:A4:B2 Another Device2
  1. Receiving this MAC Address, type pair <MAC Address>

  2. The terminal will print a line something like this: [agent] Passkey: 923384

  3. Type this value in your Keyboard and press enter

  4. The terminal should print a line like this: Pairing successful.

NOTES

Instructions taken from this Reddit post

Test in Linux Mint for pairing Logitech G915 TKL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment