

The goal is to sandwich your key (all spaces and commas removed) between A7 and 89. Edit this file with vi, nano or your favorite editor. Where AAs are the adapter of your laptop, BBs are the mouse. I am assuming you did.Ĭhange to a root user, go into the following location: /var/lib/bluetooth/AA:AA:AA:AA:AA:AA/BB:BB:BB:BB:BB:BB Then boot to Linux in this case, you probably have attempted pairing the mouse at least once before. (LM)\ControlSet001\Services\BTHPORT\Parameters\Keys Save it to a text file you can access later in Linux. Obtain and export the key from the following place. In Windows, under an administrator terminal, run this: psexec -s -i regedit.exe. To achieve this, you can either use the chntpw method in Linux (see link 1), or the psexec method in Windows. Windows First Method (not consistent, only for the record here)įirst, you need to pair the mouse with Windows 10, and obtain the linkkey. Don't reverse the order, which is a Mac thing.Īfter this, close the registry and turn on the mouse! Wolla! Now it is time to find that file you saved and enter the 32 characters in 16 groups in the "normal order". Right-click on the key and choose "Modify Binary Data". In there, you should be able to see another ID that matches with your mouse. Navigate to the following key: (LM)\ControlSet001\Services\BTHPORT\Parameters\Keys\(ID_Adapter)

Without using the Bluetooth mouse (turn it off or set aside), under an administrator terminal, run this: psexec -s -i regedit.exe. Copy and save this string in a text file somewhere in which both Linux and Windows can access, for example an external flash drive. Inside "info", you should see the following entry called LinkKey. Make sure the mouse is usable.Ĭhange to root user (sudo won't do here) (just use command su or sux), navigate into the following location: /var/lib/bluetooth/AA:AA:AA:AA:AA:AA/BB:BB:BB:BB:BB:BB I am not too sure about Ubuntu, but I suppose the underlying processes are similar. I use Debian testing with KDE (Plasma 5), so it is pretty easy to pair it using the standard build-in Bluetooth packages. Boot to Linux and make sure the mouse works. Therefore, I am revising the answers here so it is a complete tutorial you can follow.īefore you start, I assume you have paired the mouse in both Windows and Linux at least once, so the corresponding registries are set. *EDIT: I discovered that a more consistent way is to pair it with Linux first, then go to Windows to change the pair key.

I have a dual boot system with Windows 10 and up-to-date Debian testing, and would like to share the same Bluetooth mouse. Here I share what I learned about this, after struggled with it for quite a few days.
