Quote
- My changes for HWP support in Clover are already in repo and will be included into next build https://sourceforge....boot/code/3879/ (https://sourceforge.net/p/cloverefiboot/code/3879/)
- Fully rewrote my kext. I like it now! You can got it here https://github.com/goodwin/HWPEnable (https://github.com/goodwin/HWPEnable)
- Normal support of HWP needs not only CPU configuration, but also frequencyVectors with HWP flag. Currently in El Capitan this is only MacBook9,1. So who want to have best possible CPU performance with incredible battery life - change your smbios to MacBook9,1. Also, for those who has generated ssdt.aml - delete it and forget, we don't need it anymore bcz HWP will handle all power management! Yarrr
So now my kext have some configuration in Info.plist. Also you can manually change your performance profile with new command line tool. If somebodywants-youcanmakeGUIforit Asformeclitoolismorethanenough.
So let's do some description:
In Info.plist:
- you can disable HWP enabling by kext with "HWPenable"
- you can disable automatic HWP profile setting on kext load with "HWPSetDeaults" - you can set automatic HWP profile with "HWPDeaultVal"
You can read current HWP profile until working ins OS X with next command: ./hwpenabler rd_req
You can set current HWP profile until working ins OS X with next command: ./hwpenabler wr_req <HEX_VAL>
Where <HEX_VAL> is hexidecimal value for HWP settings cpu register. So, this setting looks scary as for now... lets learn a little...
Lets check example:
80002301 - you can divide into four parts:
80 - EPP profile (performance preference), can be value from 00 to FF (from 0 to 255 in decimal). Bigger value - more aggresive battery saving. WithFFmostpartoftimeyouCPUwillbeonlowestfrequency.Findoutwhatyoulikemore Defaultisdecimal128thatgives80inhex
00 - reserved, should be zero
23 - maximum frequency, from hex 23 will give 35 that is maximum turbo freq for i7-6700HQ. If you have different CPU or you want to limit max freq - change this
01 - lowest frequency, just keep it as 01
So, looking on that, we can make few profiles:
80002301 - middle point
64002301 - little more performance (moderate mode)
94002301 - little more battery saving (same setting as on real MacBook9,1)
Happy using guys!
P.S. Forgot one more detail! New kext now loads automatically with system, no need to load it manually on each reboot!