I do not know how many people and I use the same Bluetooth mouse or keyboard, some words should encounter the same problem: that is, in a system with the right after the other system must be re-paired to use, it is troublesome. Also to the Bluetooth device into the discovery mode, OS search, connect .... Finally yesterday in a foreigner online saw the solution, write to share.
Original Sticker Address: http://www.insanelymac.com/forum/index.php?showtopic=268837
The original author has written very detailed, I am here only to do translation ~
principle: The real reason for this problem is that because Bluetooth is a one-to-single transmission, when the OS connects to a Bluetooth device, a link ID (which can be understood as a connection identifier) is randomly generated, and Win and Mac use different link IDs. And each pairing will change its link ID, so that the different OS Bluetooth can not be common, even a computer Bluetooth chip can not. P.S: But Ubuntu does not have this problem, regardless of Win/mac Bluetooth can use, praise one!
The problem is clear and the solution is simple. First you need to pair the Bluetooth device under both systems, to generate a different link ID of the same device, and then change the ID of the two systems to the same-the original sticker is first paired under Windows, and then go to the Mac pair. The order here must not change, because we will finally change the link ID under Windows. (Of course, if you know how to change the Mac can ignore this sentence)
Not even Bluetooth I said, Windows under the match, reboot into the Mac system, and then paired. So now you can use your Bluetooth device under your Mac.
View link ID under Mac:
Open Terminal, enter the following password
- sudo defaults read/private/var/root/library/preferences/blued.plist
Copy Code
Then a few lines of code appear on the screen, and the link ID we're looking for is a 32-bit 16-digit number (for example: 98542ff9 88e19449 475250e1 3943255b)
Little ending to Big ending:
This step is extremely important. Because the Mac stores data in little ending, Windows is stored in big ending. So we're going to convert the data format. In fact, the rule is very simple, the principle is to read from right to left, two at a time 16 binary number. For example, the MAC displays an ID of
- 98542FF9 88e19449 475250e1 3943255b
Copy Code
The conversion to Big ending is
- 5b E1 94 E1 F9 2f 54 98
Copy Code
Here the space can be ignored, just for everyone to look at the convenience. Now that the link ID is already in hand, reboot into windows~
Modify the link ID under Windows:
We have already connected the Bluetooth device to Windows at the beginning, so your mouse or keyboard is now displayed on the device. But because we had a MAC after that, it's not going to work right now (or I don't have to write this article). The next step is to modify the link ID, which is in the registration table. But this link ID is protected, if you open the registry directly can not be edited, even see. So we need another tool here PSTools
<ignore_js_op> pstools.zip (1.53 MB, downloaded: 1248)
Anywhere you go, unzip. Then run the command line as an administrator, CD to the PSTools folder after decompression, and enter the following password:
- Psexec-s-I. Regedit
Copy Code
It is then found in the Open registration table
- Hkey_local_machine\system\currentcontrolset\services\bthport\parameters\keys\ (Bluetooth adapter address, not your Bluetooth mouse/keyboard address)
Copy Code
<ignore_js_op>
Right-click the registry key point-〉 Modify binary values
<ignore_js_op>
Delete all the original values first, then enter the link ID you converted to big ending format, click OK. Your device is ready to use! (No restart required)
The next method is not once and for all, each time you add a new Bluetooth device you must re-press this article once again ~ if there is a better way to welcome to share ~ ~
Troubleshoot problems with Bluetooth devices in Windows and Mac dual systems