Wednesday, April 19, 2017

Notes on Using the same Bluetooth LE Mouse (Microsoft 3600) with Windows and Linux without Re-paring

This note intends to collect the key steps of my implantation. It is mainly instructed and inspired by this post as well as its comments: http://console.systems/2014/09/how-to-pair-low-energy-le-bluetooth.html

The idea generally is to have the mouse working with windows, and then copied its credentials to linux.

My OSs are windows 10 64bit and Ubuntu 16.04 64bit with 4.10 kernel;
Mouse is Microsoft 3600


  1. have bluez and blueman installed in linux (so it works with BLE mouse)
  2. pair the mouse with linux and then windows. (so it is working in windows)
  3. extract credentials from registry. (use "psexec -s -i regedit", find and export as txt:  "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\BTHPORT\Parameters\Keys\<MAC of BT adapter>\<MAC of BT mouse>")
  4. Fill the credentials to Linux ("/var/lib/bluetooth/<MAC of BT adapter>/<MAC of BT mouse>/info")
  5. Restart BT service ("/etc/init.d/bluetooth restart")


Below are detailed mapping and manipulation for step 4 above:
  1.  Make sure the MAC of BT mouse is correct in Linux. If they are different, rename the directory in linux to match the MAC found in Windows.  (Examine it character by character. This file for mine was always off by one bit by default in linux)
  2.  "LTK" -> "Key" under [LongTermKey]. Remove anything other than hex character (e.g. whitespace and dash), and convert to upper case. 
  3.  "ERand" -> "Rand" under [LongTermKey]. Do BYTE-WISE reverse and then convert hex to dec. (e.g., "12 AB" -> "AB 12" -> "43794")
  4.  "EDIV" -> "EDiv" under [LongTermKey]. Convert hex to dec. 
  5.  "IRK" -> "Key" under [IdentityResolvingKey].  Remove anything other than hex character
  6.  "CSRK" -> "Key" under [LocalSignatureKey]. Remove anything other than hex character
  7.  Leave "EncSize" and "Authenticated" unchanged

3 comments:

  1. Harrah's Cherokee Casino & Hotel - MapYRO
    Find your way around the casino, find 메이피로출장마사지 where everything is located with the most up-to-date information about Harrah's poormansguidetocasinogambling.com Cherokee Casino https://febcasino.com/review/merit-casino/ & https://vannienailor4166blog.blogspot.com/ Hotel in Cherokee, NC. หารายได้เสริม

    ReplyDelete
  2. In fact, it might have the opposite impact and lead to larger losses. When you cease 바카라사이트 추천 a slot machine by your self, you cut back the 'time of spin' , making the game go quicker. These players consider that should you can cease the reels quick sufficient, you'll be able to|you probably can} management the result result} of your spin and decide what combination shall be displayed on the screen. Developers paid a fairly penny to lock within the rights to deliver to the market slots that characteristic popular brands and franchises.

    ReplyDelete
  3. JackpotCity is packed with nice deal of} prizes to perk up gaming. Every day, week and month, JackpotCity on-line casino offers promotions filled with rewards that vary from cash, casino credits and free spins to 5 star cruises and exotic holidays. There are plenty of choices on the market for each on-line casinos and great pokies. Let's a glance at|check out} the sport categories and the titles they function. There are loads 온라인 카지노 순위 of handy on-line payment options for including funds to your JackpotCity Casino account. Keep in thoughts that whereas minimum deposits are $5, want to|you should|you have to} deposit $10 or more to say the welcome bonuses.

    ReplyDelete