- Joined
- Aug 12, 2010
- Messages
- 1,575
- Motherboard
- X58A-UD3R v2
- CPU
- i7-930
- Graphics
- 5770
- Mac
- Mobile Phone
So, I bought a Trust 2400p (model no 15542-02) after reading some very nice reviews of it working out of the box (OOB) with OSX.
So off I went and plugged it in, booted and it picked up my magic mouse and off I went in happy "apple branded product bliss".
[side point]
Then I started having sleep issues and started to worry it was my bluetooth - but tracked it down to some Win 7 drives being plugged in to my Marvel SATA ports and I fixed it by moving them to the Gigabyte SATA ports on my X58A-UD3R.
[/side point]
So back I came to my bluetooth and found that I could put my machine to sleep however I could only wake it using my USB keyboard or the power button - but I got very different results by waking either way:
Sleep > wake via Mouse click - doesn't do anything
Sleep > wake via Power Button - mouse works
Sleep > wake via USB keyboard - mouse show's as paired but doesn't respond so turn off and turn on mouse again (or disconnect and reconnect via Bluetooth menu) and mouse works again
So I looked in System Preferences > Bluetooth > Advanced and the option "Allow bluetooth devices to wake this computer" was greyed out !!!!
So I did some digging around and found this solution:
http://www.insanelymac.com/forum/index. ... 272&st=112
I first went into /S/L/E and copied my IOBluetoothFamily.kext to a temporary folder in my main Documents folder. I then tried using the kext from that link by trashing my kext in /S/L/E and then installing the one in that link via KextBeast but it didn't work - my bluetooth showed that my mouse was connected but it wouldn't respond - even after turning it off and back on and unplugging and re-plugging in the bluetooth dongle.
So - take two - I decided to edit the original vanilla kext that I had and to add the Vendor ID and Product ID of my bluetooth adaptor into my original IOBluetoothFamily.kext
I used an online Hex to Decimal converter to convert my IDs.
Go to System Profiler > Bluetooth
Then look at my product and vendor ID (note they are in hex)
I then copied my original IOBluetoothFamily.kext to my desktop then open package contents (right click or ctrl + left click - "Show Package Contents") to find:
IOBluetoothFamily.kext/Contents/PlugIns/BroadcomUSBBluetoothHCIControl/Contents/info.plist
I then duplicated one of the Broadcom2046 keys in IOKitPersonalities but added my Product ID and Vendor ID in decimal:
Product ID = 0x2148 >>> 8520
Vendor ID = 0x0a5c >>> 2652
Then save the .plist and exit out of the kext.
Then trashed the IOBluetoothFamily.kext in S/L/E and used KextBeast to install my new edited kext from my desktop.
Reboot - and hey presto!!!
Go into System Preferences > Bluetooth > Advanced and .....
I now have the option "Allow bluetooth devices to wake this computer" and I can now wake my hack from sleep using my magic mouse !!!!
So I would recommend this guide to anyone who has a bluetooth device that works out of the box but they can't wake their hack from sleep using it.
I only own the Trust bluetooth dongle which uses the Broadcom chipset but I believe that it would be straightforward enough to adapt this guide for other chipsets by editing different HCIController.kext in the Plugs part of the IOBluetoothFamily.kext
I hope this guide makes some sense and helps any of you out buying a bluetooth dongle to use a apple keyboard / magic mouse / mighty mouse / magic pad
So off I went and plugged it in, booted and it picked up my magic mouse and off I went in happy "apple branded product bliss".
[side point]
Then I started having sleep issues and started to worry it was my bluetooth - but tracked it down to some Win 7 drives being plugged in to my Marvel SATA ports and I fixed it by moving them to the Gigabyte SATA ports on my X58A-UD3R.
[/side point]
So back I came to my bluetooth and found that I could put my machine to sleep however I could only wake it using my USB keyboard or the power button - but I got very different results by waking either way:
Sleep > wake via Mouse click - doesn't do anything
Sleep > wake via Power Button - mouse works
Sleep > wake via USB keyboard - mouse show's as paired but doesn't respond so turn off and turn on mouse again (or disconnect and reconnect via Bluetooth menu) and mouse works again
So I looked in System Preferences > Bluetooth > Advanced and the option "Allow bluetooth devices to wake this computer" was greyed out !!!!
So I did some digging around and found this solution:
http://www.insanelymac.com/forum/index. ... 272&st=112
I first went into /S/L/E and copied my IOBluetoothFamily.kext to a temporary folder in my main Documents folder. I then tried using the kext from that link by trashing my kext in /S/L/E and then installing the one in that link via KextBeast but it didn't work - my bluetooth showed that my mouse was connected but it wouldn't respond - even after turning it off and back on and unplugging and re-plugging in the bluetooth dongle.
So - take two - I decided to edit the original vanilla kext that I had and to add the Vendor ID and Product ID of my bluetooth adaptor into my original IOBluetoothFamily.kext
I used an online Hex to Decimal converter to convert my IDs.
Go to System Profiler > Bluetooth
Then look at my product and vendor ID (note they are in hex)
Code:
Apple Bluetooth Software Version: 2.3.8f7
Hardware Settings:
Address: 00-02-72-ad-1f-2e
Manufacturer: Broadcom
Name: Not Shy’s Mac Pro
Firmware Version: 14 (21298)
Bluetooth Power: On
Discoverable: Yes
Vendor ID: 0xa5c
Product ID: 0x2148
HCI Version: 4 (0x4)
HCI Revision: 21298 (0x5332)
LMP Version: 4 (0x4)
LMP Subversion: 16910 (0x420e)
Device Type (Major): Computer
Device Type (Complete): Macintosh Desktop
Composite Class Of Device: 3670276 (0x380104)
Device Class (Major): 1 (0x1)
Device Class (Minor): 1 (0x1)
Service Class: 448 (0x1c0)
Requires Authentication: No
I then copied my original IOBluetoothFamily.kext to my desktop then open package contents (right click or ctrl + left click - "Show Package Contents") to find:
IOBluetoothFamily.kext/Contents/PlugIns/BroadcomUSBBluetoothHCIControl/Contents/info.plist
I then duplicated one of the Broadcom2046 keys in IOKitPersonalities but added my Product ID and Vendor ID in decimal:
Product ID = 0x2148 >>> 8520
Vendor ID = 0x0a5c >>> 2652
Code:
<key>Broadcom2046FamilyUSBBluetoothHCIController_NOTSHY</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.BroadcomUSBBluetoothHCIController</string>
<key>IOClass</key>
<string>Broadcom2045FamilyUSBBluetoothHCIController</string>
<key>IOProviderClass</key>
<string>IOUSBDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>ClassicMustNotSeize</key>
<true/>
</dict>
<key>LMPLoggingEnabled</key>
<false/>
<key>idProduct</key>
<integer>8520</integer>
<key>idVendor</key>
<integer>2652</integer>
</dict>
Then save the .plist and exit out of the kext.
Then trashed the IOBluetoothFamily.kext in S/L/E and used KextBeast to install my new edited kext from my desktop.
Reboot - and hey presto!!!
Go into System Preferences > Bluetooth > Advanced and .....
I now have the option "Allow bluetooth devices to wake this computer" and I can now wake my hack from sleep using my magic mouse !!!!
So I would recommend this guide to anyone who has a bluetooth device that works out of the box but they can't wake their hack from sleep using it.
I only own the Trust bluetooth dongle which uses the Broadcom chipset but I believe that it would be straightforward enough to adapt this guide for other chipsets by editing different HCIController.kext in the Plugs part of the IOBluetoothFamily.kext
I hope this guide makes some sense and helps any of you out buying a bluetooth dongle to use a apple keyboard / magic mouse / mighty mouse / magic pad