Jump to content

Wakeup only by power button


aikidoka25
 Share

3 posts in this topic

Recommended Posts

Any hints for me to solve this problem?

 

I have updated the machine, the spec is on the signature below, from Mavericks to Yosemite.

There is one issue that I would like to solve: to wake up the machine using keyboard.

Currently, the only way to wake the unit from sleep is by pressing the power button.

 

It was working with keyboard before on 10.9 (with Chameleon boot loader).

 

Now I am using Clover revision 3027, not very familiar with it, so the config.plist is almost default, except some things that I added:

- enable trim = doesn't work, even using the trim enabler app doesn't help. It was working on 10.9 Chameleon

- enable BT handoff = doesn't work, seems need to change the SMBIOS to a particular year, I haven't tried this further.

- no generation of P & C states, it seems the CPU PM reacts better with this.

 

The few lines when the OS woke up, it is for sure I pressed the power button not by network call.

2014-11-16 6:37:11.000 PM kernel[0]: Wake reason: (Network)
2014-11-16 6:37:11.000 PM kernel[0]: Previous sleep cause: 5
2014-11-16 6:37:11.000 PM kernel[0]: USBF:    94.720    AppleUSBEHCI: setPowerState - PCI device still has PME status bit set. PMCSR is 0x8000
2014-11-16 6:37:11.000 PM kernel[0]: The USB device Keyboard Hub (Port 5 of Hub at 0xfd000000) may have caused a wake by issuing a remote wakeup (2)
2014-11-16 6:37:11.000 PM kernel[0]: The USB device Apple Keyboard (Port 2 of Hub at 0xfd500000) may have caused a wake by issuing a remote wakeup (3)
2014-11-16 6:37:11.000 PM kernel[0]: full wake promotion (reason 1) 69 ms
2014-11-16 6:37:11.069 PM watchdogd[509]: [watchdog_daemon] @(         pm_callback) - ref=0x0 msg_type=0xe0000320 msg=0x0
2014-11-16 6:37:11.102 PM sharingd[368]: 18:37:11.102 : SDStatusMonitor::kStatusBluetoothPowerChanged
2014-11-16 6:37:11.102 PM sharingd[368]: 18:37:11.102 : SDStatusMonitor::kStatusBluetoothPowerChanged
2014-11-16 6:37:11.214 PM WindowServer[179]: CGXDisplayDidWakeNotification [94932116859]: posting kCGSDisplayDidWake
2014-11-16 6:37:11.214 PM WindowServer[179]: handle_will_sleep_auth_and_shield_windows: NULL shield_window (lock state: 1)
2014-11-16 6:37:11.293 PM configd[25]: network changed: v4(en1-:192.168.0.111) DNS- Proxy-
2014-11-16 6:37:11.299 PM netbiosd[324]: network_reachability_changed : network is not reachable, netbiosd is shutting down
2014-11-16 6:37:11.364 PM apsd[52]: Peer [pid=375] requested push wake but lacks APSPushWakeEntitlement

Attached is the DSDT and the config file

DSDT.aml.zip

config.plist.maskedsn.zip

Link to comment
Share on other sites

MH, you are right! Thanks for the solution.

 

Cheers!

 

What I found regarding those injections, so it was intended by design actually. 

USB

<key>USB</key>
<dict>
...
</dict>
Parameter group for tweaking setting affecting PCI devices.

USB / Inject
<key>Inject</key>
<true/>
Injects USB properties. You can turn it off for whatever reason, if you need. It is also disabled if the DSDT patch mask matches 0x1000 to prevent data duplication.

USB / FixOwnership
<key>FixOwnership</key>
<true/>
It is possible to leave USB injection enabled and only turn off the ownership fix.

This fix is not relevant for UEFI booting.

USB / AddClockID
<key>AddClockID</key>
<true/>
<true/> - Enables a good, deep sleep, which cannot be exited by keyboard or mouse input.
<false/> - The PC will possibly sleep and it can be woken up by keyboard or mouse; or it will be automatically woken up by some attached device
Injects the property "AAPL,clock-id" with a unique identifier for each device. Set it to your liking.

Requires USBInjection to be enabled.

Default value is set to disabled.


USB / HighCurrent
<key>HighCurrent</key>
<true/>
More power needed to charge iPad from USB ports.
Link to comment
Share on other sites

 Share

×
×
  • Create New...