Dual Booting Windows 7 + Mac (Mountain Lion) with both Magic Trackpad and Magic Mouse - Bluetooth Se

Discussion in 'General Help' started by dysphasi, Sep 15, 2012.

  1. dysphasi

    dysphasi

    Joined:
    Jun 19, 2011
    Messages:
    20
    Mobo:
    Gigabyte Z68MX-UD2H-B3 LGA1155 Intel Z68 DDR3 mATX (OSX 10.8 - Mountain Lion) U1c (UEFI BIOS)
    CPU:
    Intel Core i5 2500k
    Graphics:
    Sapphire HD 5670 512MB HyperMemory GDDR5 HDMI DVI DisplayPort PCI-E
    Mobile Phone:
    iOS
    Sep 15, 2012 at 11:52 AM #1
    dysphasi

    dysphasi

    Joined:
    Jun 19, 2011
    Messages:
    20
    Mobo:
    Gigabyte Z68MX-UD2H-B3 LGA1155 Intel Z68 DDR3 mATX (OSX 10.8 - Mountain Lion) U1c (UEFI BIOS)
    CPU:
    Intel Core i5 2500k
    Graphics:
    Sapphire HD 5670 512MB HyperMemory GDDR5 HDMI DVI DisplayPort PCI-E
    Mobile Phone:
    iOS
    Setting up bluetooth with magic mouse and trackpad in both Windows and Mac Dual boot

    Hi Folks!

    I know this information is scattered through the web and forums, but I couldn't find one step-by-step guide to get both my Apple Magic Trackpad and Magic Mouse working from boot in my dual-boot Windows-Mountain Lion setup.

    I could bond the mouse and trackpad in Windows, or Mac, reboot into the other OS, bond it there, reboot back and I'd have to debond and rebond over and over.

    This might be ok if you use one operating system 99% of the time, or don't mind a cluttered desk with both windows and mac peripherals, but it was driving me nuts, I use Mac and Windows about the same each and frequently want to reboot from one into the other and then back again.

    Anyhow. I finally sorted my woes, so thought better share the solution here in case others stumble across the same problem. Forgive the woffle! If there's anything that doesn't make sense, please let me know!


    1. In Windows first download:

    • The latest version of PTools from http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx, this will allow you to edit your registry as 'System' later, allowing you to edit your bluetooth device link keys.
    • Bootcamp drivers for both Magic Mouse and the Magic Trackpad (you can get these from http://www.trackpadmagic.com or follow the guide there for installation of Bootcamp 4.0 drivers using 7-zip 4.65 and BootCampESD.pkg
    • Mouse and Trackpad utilities from: http://www.trackpadmagic.com

    2. Install PTools (put files in System Drive:\Windows\System32)

    3. Install the drivers for both the trackpad and the magic mouse

    4. As you would ordinarily, connect both the trackpad and magic mouse via bluetooth (Add Device etc..)

    5. Once installed, right-click and select 'Properties' for either one of the devices and go to the 'Bluetooth' tab, take a note of the 'Unique Identifier' near the bottom of the page under 'Troubleshooting Information' (This will be noted as a series of letters and numbers, eg. 1a:b2:c3:45:67:8d). You will need this later to identify your device in Regedit.

    6. Restart your machine and boot into Mac.

    7. Connect to either your magic trackpad or mouse as usual via blueooth

    8. Open terminal and copy-paste the following command and hit enter:
    Code (Text):
    sudo defaults read /private/var/root/Library/Preferences/blued.plist
    EDIT: You can also go into System Information and find your devices under the Bluetooth section to see which device is which...much easier!

    9. Take a note of the link key that this will then give you, this will be a series of letters and numbers formatted for OS. You will need to reverse these for use in Windows. Below is an example:
    Code (Text):
    Mac: 12345ab6 78c91234 567891d2 3456789e
    Windows: 9e785634 d2917856 3412c978 b65a3412
    (note how the characters are in pairs, to convert the sequence from Mac to Windows you need to take the last pair of characters (9e), then the one preceeding that (78), then the one before that (56) etc etc until you have reversed the entire sequence)

    10. Now connect to your other device and carry out the same procedure to get the link key for that device.

    11. Reboot into Windows, neither of your devices will work yet, but fret not!

    12. Open the command line tool as an Administrator, Start Menu -> type "cmd", right click on 'cmd.exe' and select 'Run as Administrator'.

    13. Copy and paste the following:
    Code (Text):
    psexec -s -i regedit
    14. Hit enter, regedit will now open with full access to the keys you need.

    15. Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BTHPORT\Parameters\Keys\Unique ID
    (Unique ID of your bluetooth adapter not your device, you can find this by going to Device Manager, right-click on your bluetooth adapter, select 'Properties', go to the 'Advanced' tab and see your ID under 'Adddress:')

    16. You will see a list of devices in the right-side pane, you can determine which is your trackpad or mouse by using the Unique Identifiers you noted earlier in step 5, right-click on the relevant device and now click 'Modify Binary Data...' and type in the appropriate link key for your device (the link key that you changed into the correct Windows format in step 9)

    17. Do this for each device.

    18. Exit regedit, click your magic mouse and your trackpad and hey-presto, they'll start working!

    19. Reboot and they'll still be bonded and working for Mac!

    Thanks to http://www.insanelymac.com/forum/topic/268837-dual-boot-bluetooth-pairing-solved/ and https://discussions.apple.com/thread/3113227?start=0&tstart=0 for all the above! :)
     
    dodvip123 likes this.
  2. kalel786

    kalel786

    Joined:
    Sep 22, 2012
    Messages:
    10
    Mobo:
    p8z68-v lx
    CPU:
    2500k
    Graphics:
    GTX 560 TI 448
    Oct 20, 2012 at 12:32 AM #2
    kalel786

    kalel786

    Joined:
    Sep 22, 2012
    Messages:
    10
    Mobo:
    p8z68-v lx
    CPU:
    2500k
    Graphics:
    GTX 560 TI 448
    Hi,

    I have tried this and it does not work for me.

    After I complete all the steps, it says "A bluetooth device is trying to connect, allow this?" I click yes, and it says enter a code, I enter 0000 and it connects. But after booting into mac it doesn't work. I then reconnected in Mac OS X but then won't work in Windows?

    My wireless bluetooth keyboard works in both, I would really appreciate it if anyone can help?
     
  3. patnaik

    patnaik

    Joined:
    Aug 12, 2012
    Messages:
    37
    Mobo:
    Gigabyte Z77X-UD5H
    CPU:
    Intel Core i5-3570K
    Graphics:
    Zotac GTX 560ti Amp!
    Mac:
    MacBook
    Dec 7, 2012 at 4:11 AM #3
    patnaik

    patnaik

    Joined:
    Aug 12, 2012
    Messages:
    37
    Mobo:
    Gigabyte Z77X-UD5H
    CPU:
    Intel Core i5-3570K
    Graphics:
    Zotac GTX 560ti Amp!
    Mac:
    MacBook
    This worked perfectly for me in Windows 8. Thanks!
     
  4. JayDee321

    JayDee321

    Joined:
    Jul 9, 2012
    Messages:
    12
    Mobo:
    Gigabyte GA-Z77X-UD5H
    CPU:
    Intel Core i7 3770K 3.5 GHz CPU
    Graphics:
    MSI NVIDIA GeForce GTX 560 Ti
    Mac:
    MacBook
    Mobile Phone:
    iOS
    Dec 8, 2012 at 4:15 PM #4
    JayDee321

    JayDee321

    Joined:
    Jul 9, 2012
    Messages:
    12
    Mobo:
    Gigabyte GA-Z77X-UD5H
    CPU:
    Intel Core i7 3770K 3.5 GHz CPU
    Graphics:
    MSI NVIDIA GeForce GTX 560 Ti
    Mac:
    MacBook
    Mobile Phone:
    iOS
    Would this work with the apple wireless keyboard too?
     
  5. adster01

    adster01

    Joined:
    May 19, 2011
    Messages:
    64
    Mobo:
    Gigabyte X58A-UD3R R2
    CPU:
    3.2GHz Intel Core i7
    Graphics:
    GeForce GTX 660ti 2048 MB
    Mac:
    Mac mini
    Mobile Phone:
    iOS
    Dec 10, 2012 at 9:54 PM #5
    adster01

    adster01

    Joined:
    May 19, 2011
    Messages:
    64
    Mobo:
    Gigabyte X58A-UD3R R2
    CPU:
    3.2GHz Intel Core i7
    Graphics:
    GeForce GTX 660ti 2048 MB
    Mac:
    Mac mini
    Mobile Phone:
    iOS
    Worked for me. Thanks! I had to restart for changes to take effect.
     
  6. randycatanach

    randycatanach

    Joined:
    Dec 14, 2011
    Messages:
    69
    Mobo:
    GA-Z68MX-UD2H-B3
    CPU:
    Core i5 2500k @ 4.4Ghz
    Graphics:
    Sapphire R9 280x Vapor-X w/ Dual Monitors & HDMI Audio
    Mac:
    MacBook
    Classic Mac:
    iBook
    Mobile Phone:
    Android, iOS
    Dec 11, 2012 at 8:49 AM #6
    randycatanach

    randycatanach

    Joined:
    Dec 14, 2011
    Messages:
    69
    Mobo:
    GA-Z68MX-UD2H-B3
    CPU:
    Core i5 2500k @ 4.4Ghz
    Graphics:
    Sapphire R9 280x Vapor-X w/ Dual Monitors & HDMI Audio
    Mac:
    MacBook
    Classic Mac:
    iBook
    Mobile Phone:
    Android, iOS
    Sweet finally I don't have to pull out my usb mouse when I need to use Windows! Thanks for this!
     
  7. martybabe

    martybabe

    Joined:
    Jul 11, 2012
    Messages:
    28
    Mobo:
    ga-h77n-wifi
    CPU:
    i5 3570k
    Graphics:
    gtx650
    Mac:
    iMac
    Mobile Phone:
    iOS
    Dec 11, 2012 at 12:36 PM #7
    martybabe

    martybabe

    Joined:
    Jul 11, 2012
    Messages:
    28
    Mobo:
    ga-h77n-wifi
    CPU:
    i5 3570k
    Graphics:
    gtx650
    Mac:
    iMac
    Mobile Phone:
    iOS
    Absolutely superb post, i've been trying to figure if there was a way to do this for ages (weird how the keyboard just works in both os's without this though).

    I've now done it and it works fine, no more second mouse for me, and my trackpad now works in both too. Ps is there really a need for the additional mouse and trackpad control panels as this works fine without them, and i noticed one of them only runs for 28 days without a licence.
     
  8. sapphire112

    sapphire112

    Joined:
    Jan 16, 2011
    Messages:
    20
    Mobo:
    mac os lion mountain
    CPU:
    i5 3450
    Graphics:
    MSI N660TF2GD5/OC
    Mobile Phone:
    iOS
    Dec 11, 2012 at 2:30 PM #8
    sapphire112

    sapphire112

    Joined:
    Jan 16, 2011
    Messages:
    20
    Mobo:
    mac os lion mountain
    CPU:
    i5 3450
    Graphics:
    MSI N660TF2GD5/OC
    Mobile Phone:
    iOS
    hi and thank you but for me its not working or that I did not understand is it possible to post it on youtube thank you
     
  9. theaudiogod

    theaudiogod

    Joined:
    Mar 23, 2011
    Messages:
    39
    Mobo:
    HackMini
    CPU:
    I7 3770K @ 4.6Ghz
    Graphics:
    GTX 660 ti
    Mac:
    MacBook, MacBook Pro, Mac Pro
    Mobile Phone:
    iOS
    Dec 12, 2012 at 2:16 PM #9
    theaudiogod

    theaudiogod

    Joined:
    Mar 23, 2011
    Messages:
    39
    Mobo:
    HackMini
    CPU:
    I7 3770K @ 4.6Ghz
    Graphics:
    GTX 660 ti
    Mac:
    MacBook, MacBook Pro, Mac Pro
    Mobile Phone:
    iOS
    Thank you so much for that guide, The bluetooth cutting out every time I went from one OS to the other was doing my head in. You saved my mini macs life cos I was gonna chuck it out the window! Haha (as if I would).
    Again thank you :)
     
  10. harbri

    harbri

    Joined:
    Feb 2, 2011
    Messages:
    2
    Mobo:
    Gigabyte P67A-UD3-B3
    CPU:
    Core i7
    Graphics:
    ATI Radeon HD 5870
    Dec 14, 2012 at 11:54 AM #10
    harbri

    harbri

    Joined:
    Feb 2, 2011
    Messages:
    2
    Mobo:
    Gigabyte P67A-UD3-B3
    CPU:
    Core i7
    Graphics:
    ATI Radeon HD 5870
    After executing the command in OSX Terminal I get this as LinkKey:

    <00000000 00000000 00000000 00000000>

    I'm quite sure that isn't right. Can anyone tell me how to get the right LinkKey for my trackpad?
     

Share This Page