Jump to content

Bluetooth wake not working


8 posts in this topic

Recommended Posts

Hello,

for the past few days i've been trying to activate the Wake on Sleep function for my Bluetooth Adapter. I already tried adding the vendor and product id's to the CSRBluetoothHostControllerUSBTransport.kext and to the IOBluetoothHostControllerUSBTransport.kext (I took me about 3 hours to see that an entry already existed) but it didn't work.

 

Here are some specs of the Adapter:

 

  Vendor:    Cambridge Silicon Radio
  Name:    ctOS Core iMac
  Firmware-Version:    8891
  Bluetooth-Signal:    On
  Visible:    Off
  Available:    Yes
  Automatically search keyboard:    On
  Automatically search pointer:    On
  Wake from Sleep:    On
  Vendor-ID:    0x0A12
  Product-ID:    0x0001
  HCI-Version:    0x6
  HCI-Revision:    0x22BB
  LMP-Version:    0x6
  LMP-Subversion:    0x22BB

 

CSR8510 A10:

  Product-ID:    0x0001
  Vendor-ID:    0x0a12  (Cambridge Silicon Radio Ltd.)
  Version:    88.91
  Speed:    12 MBit/s
 

 

(Translated from German)
I once got it working by bugging up the IOBluetoothFamily.kext but it only worked until i reboot the system.

 

This is what the log tells me:

29.06.14 19:15:30,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][setPowerStateWL] -- PerformPowerStateChange() failed: 0xE00002BC (kIOReturnError) -- powerStateOrdinal = OFF, mCurrentInternalPowerState = ON -> mPendingInternalPowerState = OFF -- 0x4400 ****
29.06.14 19:15:37,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][InterruptReadHandler] -- Pipe Is Gone
29.06.14 19:15:57,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][DeviceRequestCompleteHandler] -- Received 0xE0004051 (kIOUSBTransactionTimeout) -- 0x4400 ****
29.06.14 19:15:57,066 Notifyr[340]: CoreBluetooth[WARNING] <CBCentralManager: 0x61000024d710> is not powered on
29.06.14 19:15:57,070 Notifyr[340]: CoreBluetooth[WARNING] <CBCentralManager: 0x61000024d710> is not powered on
29.06.14 19:15:57,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][start] -- completed -- result = TRUE -- 0x8c00 ****
29.06.14 19:15:57,000 kernel[0]: **** [CSRBluetoothHostControllerUSBTransport][start] -- completed -- 0x8c00 ****
29.06.14 19:15:57,000 kernel[0]: [IOBluetoothHCIController][staticBluetoothHCIControllerTransportShowsUp] -- Received Bluetooth Controller register service notification -- 0x8c00 
29.06.14 19:15:57,000 kernel[0]: [IOBluetoothHCIController::setConfigState] calling registerService
29.06.14 19:15:57,000 kernel[0]: **** [IOBluetoothHCIController][protectedBluetoothHCIControllerTransportShowsUp] -- Connected to the transport successfully -- 0x5c40 -- 0x1800 -- 0x8c00 ****
29.06.14 19:16:18,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][start] -- completed -- result = TRUE -- 0xc000 ****
29.06.14 19:16:18,000 kernel[0]: [IOBluetoothHCIController][staticBluetoothHCIControllerTransportShowsUp] -- Received Bluetooth Controller register service notification -- 0xc000 
29.06.14 19:16:18,000 kernel[0]: Using bluetooth controller switch policy "default"
29.06.14 19:16:18,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][setPowerStateWL] -- PerformPowerStateChange() failed: 0xE00002BC (kIOReturnError) -- powerStateOrdinal = OFF, mCurrentInternalPowerState = ON -> mPendingInternalPowerState = OFF -- 0x8c00 ****
29.06.14 19:16:24,000 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][WaitForControllerPowerStateWithTimeout] -- commandSleep() timeout occurred! -- 0x8c00 ****
29.06.14 19:16:24,000 kernel[0]: **** [IOBluetoothHCIController][protectedBluetoothHCIControllerTransportShowsUp] -- Error!! -- Something went wrong in the setup process. Could not communicate with Bluetooth Transport successfully -- 0x1800 -- 0xbeef ****
29.06.14 19:18:58,243 com.apple.kextcache[517]: AppleBluetoothHIDMouse.kext - no dependency found for com.apple.iokit.IOHIDFamily.
29.06.14 19:18:58,243 com.apple.kextcache[517]: AppleBluetoothHIDMouse.kext - no dependency found for com.apple.driver.IOBluetoothHIDDriver.
29.06.14 19:18:58,244 com.apple.kextcache[517]: AppleBluetoothHIDMouse.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)

Thanks

Link to comment
Share on other sites

It is hard to help you, because of your unknown hardware, install method, used bootloader, SMBios and OSX system version.

 

But it is not an good idea to active the bluetooth wake. It often causes a nearly unrecoverable system messup and so a mandatory complete new install.

 

Have fun.

Link to comment
Share on other sites

Oh, sorry completly forgot about that ;)

 

"6Daysofwork-intosh" (HP 500-159EG):

- Core: Intel Core i5 4440 - 3,1 GHz (3,3 GHz Turbo) (Haswell)

- Chipset: Intel H87,

- Graphics: NVIDIA GeForce GT 640 - 4GB

- System: OSX Mavericks 10.9.3 - iMac 27", Late 2013

- Bootloader: Clover UEFI v.2636

- Bluetooth Adapter: CSR8510 A10

  -> Apple Trackpad

  -> Apple Wireless Keyboard (Not connected yet)

Link to comment
Share on other sites

Hello!

 

Perhaps it is a problem with the settings  for usb in clover config.plist. I think, that power on usb has not to be switched completly off to be able to do a wakeup over bluetooth. Upgrading clover to newest version?

 

You should also deactivate the autosearch for keyboard in bluetooth, if yo don´t use your  apple keyboard.

 

Have fun.

Link to comment
Share on other sites

I updated to the newest Clover Verison (2747) but it's still grayed out. My biggest problem is, everytime i go into sleep mode and then wake the computer by pressing a button on my keyboard neither the mouse nor the trackpad is working and even after i enter the password i have to wait several seconds until i can move the mouse again.

Link to comment
Share on other sites

Hello!

 

Look at Rehabman´s Github for DSDT patches and his version of Maciasl.

 

For proper configuring Clover you could have a look here for instructions: http://www.insanelymac.com/forum/topic/282787-clover-v2-instructions/ , for examples of working builds here: http://www.insanelymac.com/forum/topic/295549-clover-config/ and also here in the Clover Wiki: http://clover-wiki.zetam.org/Home

 

GenericUSBXHCI.kext could also help to solve your issues: http://www.insanelymac.com/forum/topic/286860-genericusbxhci-usb-30-driver-for-os-x-with-source/ or patched AppleUSBXHCI.kext from here: http://www.insanelymac.com/forum/files/file/150-patched-appleusbxhci/

 

Have fun.

Link to comment
Share on other sites

 Share

×
×
  • Create New...