How to dual system share bluetooth device?

  • First pair the device on Windows, install PSTools and unzip it. Open Windows Terminal as administrator:
cd (PSTools_dir)
.\PsExec64.exe  -si regedit

It will open the regedit and find:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTHPORT\Parameters\Keys\(computer_MAC)

find:

(device_MAC): 2f,df,46,39,c1,15,86,b3,68,65,56,89,ab,f7,26,65

change it into no-comma-all-CAPITAL mode:

2FDF4639C11586B368655689ABF72665

save it as a .txt text file.

  • Then boot into Manjaro:
sudo vim /var/lib/bluetooth/F0\:6E\:0B\:E3\:33\:55/38\:18\:4C\:18\:E1\:83/info

It would be like this:

[General]
Name=LE_WH-1000XM3
AddressType=public
SupportedTechnologies=BR/EDR;LE;
Trusted=false
Blocked=false
Services=00000000-deca-fade-deca-deafdecacaff;

[LinkKey]
Key=2FDF4639C11586B368655689ABF72665
Type=4
PINLength=0

[DeviceID]
Source=2
Vendor=1356
Product=3283
Version=1106

Now I have a problem: I can connect my headset (SONY WH-1000XM3) now on Linux (after connecting successfully on Windows), but when I switch to Windows again it’s connection failed.

References:

Bluetooth - ArchWiki (English, note that this has been marked out-of-date and these articles below seems that fixed the out-of-date problem)

https://unix.stackexchange.com/questions/255509/bluetooth-pairing-on-dual-boot-of-windows-linux-mint-ubuntu-stop-having-to-p#255510 (English, but I don’t have enough reputations to make comments)

Win10 + Linux Dual System Share Bluetooth Device | Zoom's Blog (English)

解决方案:Win10和Linux双系统配对蓝牙设备_焦露的博客-CSDN博客_双系统 蓝牙 (Chinese)

Linux 与 Windows 双系统共享蓝牙鼠标 - 南浦月 (Chinese)

Have you tried cold booting the computer to Windows?

If yes, have you tried cold booting both when switching to Windows? (It’s a Sony, so it’s a problem and why I’ll never buy anything from Sony ever again: their firmware is crappy not very good)