dawiinci Posted April 4, 2011 Share Posted April 4, 2011 Sometimes Bluetooth doesn't work after resume. If I just unplug it, my magic mouse works immediately. Is it possible to disable it and reenable it by a script after waking up from sleep? Also it would be nice to wake up with the mouse but I don't know how I can do it. Link to comment https://www.insanelymac.com/forum/topic/254018-fixing-bluetooth-and-sleep-issues/ Share on other sites More sharing options...
dawiinci Posted April 4, 2011 Author Share Posted April 4, 2011 Wow I just fixed both issues! Thanks to ttgolf! Maybe this can be useful for others: Copy /System/Library/Extensions/IOBluetoothFamily.kext to your desktop and make backup Open it in Textedit IOBluetoothFamily.kext/Contents/PlugIns/BroadcomUSBBluetoothHCIControl/Contents/info.plist Inside IOKitPersonalities copy an entry and change the idProduct to your Bluetooth dongle Product ID and idVendor to your Bluetooth dongle's Vendor ID. Change the name to Broadcom2046FamilyUSBBluetoothHCIController_TT. NOTE: you need to convert the HEX information of your Bluetooth dongle found in System Preferences/Hardware/USB to Decimal. In my case my Product ID is 0x2148 (8520 in decimal) and Vendor ID is 0x0a5c (2652 in decimal). Credits go to ttgolf In my case it looks like this: <key>IOKitPersonalities</key> <dict> followed by the code added manually: <key>Broadcom2046FamilyUSBBluetoothHCIController_TT</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>idProduct</key> <integer>8520</integer> <key>idVendor</key> <integer>2652</integer> </dict> Wakes from sleep and works after sleep! Link to comment https://www.insanelymac.com/forum/topic/254018-fixing-bluetooth-and-sleep-issues/#findComment-1665791 Share on other sites More sharing options...
dawiinci Posted April 5, 2011 Author Share Posted April 5, 2011 Well I really thought it works properly, but the system just wakes up in the middle of the night and is unusable. Just a black screen. loginwindow[25] loginwindow SleepWakeCallback will power on, ... com.apple.message.domain: com.apple.loginwindow.logs com.apple.message.signature: will power on event received I try to build a legacy Bluetooth kext: http://www.insanelymac.com/forum/index.php?showtopic=236310 Link to comment https://www.insanelymac.com/forum/topic/254018-fixing-bluetooth-and-sleep-issues/#findComment-1666153 Share on other sites More sharing options...
Recommended Posts