|
|
|
@@ -14,11 +14,12 @@ This is a guide written on how to share the same Bluetooth device(s) across Wind
|
|
|
|
1. Pair your Bluetooth device(s) with Linux **first**
|
|
|
|
1. Pair your Bluetooth device(s) with Linux **first**
|
|
|
|
2. Reboot into Windows, then re-pair the devices with Windows
|
|
|
|
2. Reboot into Windows, then re-pair the devices with Windows
|
|
|
|
3. Run `regedit` **as Administrator**
|
|
|
|
3. Run `regedit` **as Administrator**
|
|
|
|
4. Navigate to:
|
|
|
|
4. Navigate to:
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
```text
|
|
|
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTHPORT\Parameters\Keys
|
|
|
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTHPORT\Parameters\Keys
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
If you **do not see any Keys under the tree** then you need to open `regedit` as a system-account user. One way to do this is using the PsExec by [downloading it from Microsoft Sysinternals](https://learn.microsoft.com/en-us/sysinternals/downloads/psexec). Once it is downloaded, you will need to run a command-prompt **as Administrator** and navigate to the location `PsExec` is unzipped and run `PsExec.exe -s -i regedit`. The Bluetooth keys should now be visible.
|
|
|
|
If you **do not see any Keys under the tree** then you need to open `regedit` as a system-account user. One way to do this is using the PsExec by [downloading it from Microsoft Sysinternals](https://learn.microsoft.com/en-us/sysinternals/downloads/psexec). Once it is downloaded, you will need to run a command-prompt **as Administrator** and navigate to the location `PsExec` is unzipped and run `PsExec.exe -s -i regedit`. The Bluetooth keys should now be visible.
|
|
|
|
|
|
|
|
|
|
|
|
5. Right-click on `Keys` in the left-hand pane and select `Export`. During the dialog change `Save as type` to `Text files` and that the `Export range` is set to `Selected branch`. Store this somewhere **accessible by both Windows and Linux** -- if a shared drive is unavailable, use a USB drive or cloud-storage.
|
|
|
|
5. Right-click on `Keys` in the left-hand pane and select `Export`. During the dialog change `Save as type` to `Text files` and that the `Export range` is set to `Selected branch`. Store this somewhere **accessible by both Windows and Linux** -- if a shared drive is unavailable, use a USB drive or cloud-storage.
|
|
|
|
@@ -28,10 +29,12 @@ This is a guide written on how to share the same Bluetooth device(s) across Wind
|
|
|
|
9. Open the `info` file, with root privileges, in the text editor of your choice.
|
|
|
|
9. Open the `info` file, with root privileges, in the text editor of your choice.
|
|
|
|
10. In another tab/window, using either a text viewer or editor, open the **previously exported Windows registry text file for the device**
|
|
|
|
10. In another tab/window, using either a text viewer or editor, open the **previously exported Windows registry text file for the device**
|
|
|
|
11. From the **Windows** file, copy the Bluetooth Key. Example:
|
|
|
|
11. From the **Windows** file, copy the Bluetooth Key. Example:
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
```text
|
|
|
|
00000000 31 c0 08 fa 4f 7b d2 4c - 6f e1 7d ba 32 29 a9 a7 1À.ïO{ÒLoá}ºQ)©§
|
|
|
|
00000000 31 c0 08 fa 4f 7b d2 4c - 6f e1 7d ba 32 29 a9 a7 1À.ïO{ÒLoá}ºQ)©§
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
_From the above copy `31 c0 .... a9 a7`_
|
|
|
|
_From the above copy `31 c0 .... a9 a7`_
|
|
|
|
|
|
|
|
|
|
|
|
12. Paste the key from the previous step into the `Key=` portion of the **Linux** Bluetooth `info` file. Make sure to **remove all spaces, hyphens, and change all characters to upper-case (all-caps)**.
|
|
|
|
12. Paste the key from the previous step into the `Key=` portion of the **Linux** Bluetooth `info` file. Make sure to **remove all spaces, hyphens, and change all characters to upper-case (all-caps)**.
|
|
|
|
13. Save the `info` file with the changes to complete device sharing. Repeat for any other Bluetooth devices to share.
|
|
|
|
13. Save the `info` file with the changes to complete device sharing. Repeat for any other Bluetooth devices to share.
|
|
|
|
|