Bluetooth mouse in dual boot of Windows 10 and Linux #2

Previously I set up Bluetooth mouse in dual boot of Windows 10 and Fedora using a converter USB to Bluetooth because my laptop didn’t have any Bluetooth devices.

Recently I set up Bluetooth mouse in dual boot of Windows 10 and Fedora 32 in another laptop which has a Bluetooth device and the configuration is a bit different.

Windows 10 recognizes ELECOM M-BT13BL but Fedora 32 does not recognize it in ASUS X545FA and I bought Logicool M337 and Windows 10 and Fedora 32 recognize it.
I don’t know why the format is different from the the previous blog but anyway I succeed to set up Blutotooth mouse in the dual boot.

0. Make a pairing in Fedora 32

1. Make a pairing in Windows 10

2. Get PsTools to read some secret regedit keys

3. Right click on MS-DOS prompt and launch it with an Administrator privilege

3. PsExec64.exe -s -i regedit

4. Save the “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTHPORT\Parameters\Keys\${DEVICE}\${ADDRESS}

My data is:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTHPORT\Parameters\Keys]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTHPORT\Parameters\Keys\001bdc0e3454]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTHPORT\Parameters\Keys\c0e434a6159c]
"MasterIRK"=hex:48,5d,82,ad,55,13,23,ed,08,af,46,c7,5e,d0,c7,bf
"34885db3e4bd"=hex:9b,78,96,d8,20,2d,da,a8,0d,1d,bd,75,ab,8e,04,40

5. Reboot the system and Launch Fedora 27

6. Open /var/lib/bluetooth/${DEVICE}/${ADDRESS}/info with root and paste the Windows regedit value to “Key” value in [LinkKey] section.

7. Run systemctl restart bluetooth with root

My modified /var/lib/bluetooth/C0:E4:34:A6:15:9C/34:88:5D:B3:E4:Bd/info is
[General]
Name=Bluetooth Mouse M336/M337/M535
Class=0x000580
SupportedTechnologies=BR/EDR;
Trusted=true
Blocked=false
Services=00001000-0000-1000-8000-00805f9b44fb;00001124-0000-1000-8000-00805f9b44fb;00001200-0000-1000-8000-00805f9b34fb;

[LinkKey]
Key=9B7896D8202DDAA80D1DBD75AB8E0440
Type=4
PINLength=0

[DeviceID]
Source=2
Vendor=1133
Product=45078
Version=4611

Then my Bluetooth mouse in dual boot envirinemnt works fine.

About fujiwara

I'm an open-sourced desktop i18n developer.
This entry was posted in RedHat and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s