The setup of the Logitech mouse and keyboard set via bluetooth is not that obvious initially (or at least to me it was not). The obvious built in bluetooth tools of KDE did not seem to work properly. The other linux instructions on the web also did not work for me. So here it is, the working guide on how to pair the Logitech MK850 mouse and keyboard set via bluetooth with a CentOS Machine.
First of all, some background info. The mouse is called "M720 Triathlon", the keyboard is "Keyboard K850". The pairing of the keyboard is password protected (the GUI tools do not tell you the password so you cannot pair it....). The mouse is relatively easy to pair with some issues that I stumbled on (user error...). So let's start with the mouse via GUI:
1. Pairing the mouse M720 Triathlon
To pair the mouse with the correct channel, press the button next to the channel display (1, 2, 3). That button cycles through the relevant channels. These are not three seperate buttons on the mouse like on the keyboard!
Open your favourite pairing tool and pair the mouse like you would with any other bluetooth device (holt the channel button for 3 seconds, not 0,3 seconds as it says on the sales box).
That's it. no more steps. If you need more details or an alternative approach, check out the keyboard instructions and follow them in the same manner.
2. Pairing the Keyboard K850
This is a bit more tricky as you cannot use simple tools. The keyboard will pair with a passcode so the pairing device needs to generate it and tell you. Follow these instructions:
- Open your favourite console
bluetoothctl # some text will follow
[bluetooth]# agent on #not really sure what this does. Reply: Agent registered
[bluetooth]# pairable on # Reply Changing pairable on succeeded. Set your keyboard into pairing mode
[bluetooth]# scan on # reply Discovery started. use this to identify the address of the K850 keyboard
[bluetooth]# scan off # reply Discovery stopped
[bluetooth]# pair 12:34:56:78:9a:bc # REPALCE WITH YOUR DEVICE ADDRESS!!!! Reply: Atetmpting to pair with 12:34:56:78:9a:bc
# the PIN Code will be displayed here as well as [agent] PIN code: 123456
# Enter the pin code into your keyboard and press enter
# reply Pairing successful
[bluetooth]# trust 12:34:56:78:9a:bc # reply changing 12:34:56:78:9a:bc trust succeeded
[bluetooth]# connect 12:34:56:78:9a:bc # reply Connection successful
There you go