Skip to content

Instantly share code, notes, and snippets.

@goldhand
Created June 27, 2013 03:40
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goldhand/5873767 to your computer and use it in GitHub Desktop.
Save goldhand/5873767 to your computer and use it in GitHub Desktop.
Setup Logitech K810 Keyboard to pair with ubuntu 12.04
1. Set keyboard discoverable
2. Get the mac address of the bluetooth device:
$ hcitool scan
3. Create new device:
$ sudo bluez-simple-agent hci0 [bluetooth device mac address = XX:XX:XX:XX:XX:XX]
which will hopefully return somthing like:
DisplayPasskey (/org/bluez/537/hci0/..., [PIN = 123456])
else:
$ sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX repair
start over
4. Enter those numbers on your bluetooth device and confirm with return
5. Set device as trusted:
$ sudo bluez-test-device trusted XX:XX:XX:XX:XX:XX yes
6. Connect to device:
$ sudo bluez-test-input connect XX:XX:XX:XX:XX:XX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment