Contribute
Register

[Guide] Native Power Management for Laptops

Sorry for my bad english.
When i using AppleIntelInfo kext, i see P-States [ (8) 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 ]
In brackets displaying current P-State (here it is 8).
After long use laptop, i see AppleIntelInfo messaging in console with changing P-States array, but in all messages in array in brackets only number 8, 12, 17, 22 and 24!
In other monitor software (HWMonitor, MSRDumper kext) i see only 8, 12, 17, 22 and 24 states!

The one shown in parenthesis is just the current pstate when the log is output. All the other states were seen at other times. A log line is output at regular intervals, different from the time at which each state is sampled.
 
The one shown in parenthesis is just the current pstate when the log is output. All the other states were seen at other times. A log line is output at regular intervals, different from the time at which each state is sampled.

I understood. Thanks you again for helping and information!)
 
Somehow CPU wont go low as 800Mhz and wont go high as 2600Mhz. I works around 1600-2400Mhz.
I did generate SSDT.aml with iMac13.1 - reason for that is, 5.1 game me P-stepper error, macbook9.2 game me only 2400-2600Mhz cpu work.

patchmatic files: View attachment RehabMan.zip
ioreg: View attachment Davor’s MacBook.ioreg



Code:
Davors-MacBook:RehabMan davor$ kextstat|grep -y acpiplat   13    2 0xffffff7f82645000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (4.0) 295F7A91-2DF7-3FFE-9550-A0C1A6F9D575 <12 11 7 6 5 4 3 1>
Davors-MacBook:RehabMan davor$ kextstat|grep -y appleintelcpu
   21    0 0xffffff7f8227e000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementInfo (1) FBE83D82-9E47-3701-89F3-861AB7D29096 <7 5 4 3 1>
   22    0 0xffffff7f82289000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (218.0.0) 38E3CB46-539D-3104-AF43-CEF24124B14A <7 6 5 4 3 1>
   30    0 0xffffff7f82284000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (218.0.0) 25B44397-83A4-3F4D-89E4-3D45C3EADD04 <7 6 5 4 3 1>
Davors-MacBook:RehabMan davor$ kextstat|grep -y applelpc
   85    0 0xffffff7f82079000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 0C90B22D-637B-3000-8C44-B7955D57E10A <84 12 5 4 3>
Davors-MacBook:RehabMan davor$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleIntelCPUPowerManagementInfo.kext
kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleIntelCPUPowerManagement.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext
kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
Davors-MacBook:RehabMan davor$

EFI folder: View attachment EFI.zip
 
Somehow CPU wont go low as 800Mhz and wont go high as 2600Mhz. I works around 1600-2400Mhz.
I did generate SSDT.aml with iMac13.1 - reason for that is, 5.1 game me P-stepper error, macbook9.2 game me only 2400-2600Mhz cpu work.

patchmatic files: View attachment 173957
ioreg: View attachment 173958



Code:
Davors-MacBook:RehabMan davor$ kextstat|grep -y acpiplat   13    2 0xffffff7f82645000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (4.0) 295F7A91-2DF7-3FFE-9550-A0C1A6F9D575 <12 11 7 6 5 4 3 1>
Davors-MacBook:RehabMan davor$ kextstat|grep -y appleintelcpu
   21    0 0xffffff7f8227e000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementInfo (1) FBE83D82-9E47-3701-89F3-861AB7D29096 <7 5 4 3 1>
   22    0 0xffffff7f82289000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (218.0.0) 38E3CB46-539D-3104-AF43-CEF24124B14A <7 6 5 4 3 1>
   30    0 0xffffff7f82284000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (218.0.0) 25B44397-83A4-3F4D-89E4-3D45C3EADD04 <7 6 5 4 3 1>
Davors-MacBook:RehabMan davor$ kextstat|grep -y applelpc
   85    0 0xffffff7f82079000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 0C90B22D-637B-3000-8C44-B7955D57E10A <84 12 5 4 3>
Davors-MacBook:RehabMan davor$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleIntelCPUPowerManagementInfo.kext
kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleIntelCPUPowerManagement.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext
kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
Davors-MacBook:RehabMan davor$

EFI folder: View attachment 173960

Why are AppleIntelCPUPowerManagement*.kext patched? Never necessary to patch these files on disk with Clover.

Show output from AppleIntelInfo.kext.
 
AICPMInfo was used from http://www.tonymacx86.com/ssdt/91551-appleintelcpupowermanagementinfo-kext-msrdumper-successor.html

AICPM.kext - I used patched from Vietnam Tool (still got vannila kext bacup)

----

Meanwhile I tried SMBios 5,1 (in previus post I ment I tried 5,2), since 5,1 macbookair had same cpu i5 3317U, and I tried generating SSDT.aml with -w 1-2-3 and x 0-1, and when I successfully booted, cpu was stuck on 800Mhz. Other scenario was failed on boot (usually P-stepper error)

-----

AppleIntelInfo.kext output
Code:
bash-3.2# cat /tmp/AppleIntelInfo.dat

AppleIntelInfo.kext v1.2 Copyright © 2012-2015 Pike R. Alpha. All rights reserved


Settings:
------------------------------------
logMSRs............................: 1
logIGPU............................: 1
logIntelRegs.......................: 1
logCStates.........................: 1
logIPGStyle........................: 1
InitialTSC.........................: 0x14d80cb62e9
MWAIT C-States.....................: 135456


Model Specific Regiters
------------------------------------
MSR_CORE_THREAD_COUNT......(0x35)  : 0x20004
MSR_PLATFORM_INFO..........(0xCE)  : 0x80813E0011100
MSR_PMG_CST_CONFIG_CONTROL.(0xE2)  : 0x1E008404
MSR_PMG_IO_CAPTURE_BASE....(0xE4)  : 0x20414
IA32_MPERF.................(0xE7)  : 0x475BF32C6B
IA32_APERF.................(0xE8)  : 0x588A7B34C4
MSR_FLEX_RATIO.............(0x194) : 0x100000
MSR_IA32_PERF_STATUS.......(0x198) : 0x1D2400001800
MSR_IA32_PERF_CONTROL......(0x199) : 0x1800
IA32_CLOCK_MODULATION......(0x19A) : 0x8
IA32_THERM_STATUS..........(0x19C) : 0x88330000
IA32_MISC_ENABLES..........(0x1A0) : 0x850089
MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400001
MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x1818181A
IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x4
MSR_POWER_CTL..............(0x1FC) : 0x14005F
MSR_RAPL_POWER_UNIT........(0x606) : 0xA1003
MSR_PKG_POWER_LIMIT........(0x610) : 0x800080AA00DC8088
MSR_PKG_ENERGY_STATUS......(0x611) : 0xD22AD30
MSR_PKG_POWER_INFO.........(0x614) : 0x88
MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x1814149480000380
MSR_PP0_POWER_LIMIT........(0x638) : 0x0
MSR_PP0_ENERGY_STATUS......(0x639) : 0x5E32F0E
MSR_PP0_POLICY.............(0x63a) : 0x0
MSR_PP1_CURRENT_CONFIG.....(0x602) : 0x1814149480000190
MSR_PP1_POWER_LIMIT........(0x640) : 0x0
MSR_PP1_ENERGY_STATUS......(0x641) : 0x3204CB
MSR_PP1_POLICY.............(0x642) : 0x10
MSR_CONFIG_TDP_NOMINAL.....(0x648) : 0x11
MSR_CONFIG_TDP_LEVEL1......(0x649) : 0x80070
MSR_CONFIG_TDP_LEVEL2......(0x64a) : 0x0
MSR_CONFIG_TDP_CONTROL.....(0x64b) : 0x0
MSR_TURBO_ACTIVATION_RATIO.(0x64c) : 0x10
MSR_PKGC3_IRTL.............(0x60a) : 0x883B
MSR_PKGC6_IRTL.............(0x60b) : 0x8850
MSR_PKGC7_IRTL.............(0x60c) : 0x8857
MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x4F9C333A4
MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0xAC35BC50
MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0xBD003917E
MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0xBC650660DD
IA32_TSC_DEADLINE..........(0x6E0) : 0x14D842DD4FC
PCH device.................: 0x1E578086


Intel Register Data
------------------------------------
CPU_VGACNTRL...............: 0xF2DCF63C
IS_GEN5(devid) || IS_GEN6(devid) || IS_IVYBRIDGE(devid)
PGETBL_CTL.................: 0xee1f0b69
INSTDONE_I965..............: 0x0ad39583
INSTDONE_1.................: 0x1b4af691
CPU_VGACNTRL...............: 0xf2dcf63c (disabled)
DIGITAL_PORT_HOTPLUG_CNTRL.: 0x10b7f238
RR_HW_CTL..................: 0xb7717d67 (low 103, high 125)
FDI_PLL_BIOS_0.............: 0xdb97a4aa
FDI_PLL_BIOS_1.............: 0x0857ad9e
FDI_PLL_BIOS_2.............: 0xc39894b4
DISPLAY_PORT_PLL_BIOS_0....: 0x5e742199
DISPLAY_PORT_PLL_BIOS_1....: 0x3e536f23
DISPLAY_PORT_PLL_BIOS_2....: 0x61265f7c
FDI_PLL_FREQ_CTL...........: 0xfdc0ea04
PIPEACONF..................: 0xbf41a9d1 (enabled, inactive, rsvd, rotate 180, invalid bpc)
HTOTAL_A...................: 0x587267b2 (26547 active, 22643 total)
HBLANK_A...................: 0xf44668e9 (26858 start, 62535 end)
HSYNC_A....................: 0x4e534bf1 (19442 start, 20052 end)
VTOTAL_A...................: 0x71ee63f9 (25594 active, 29167 total)
VBLANK_A...................: 0x74613f95 (16278 start, 29794 end)
VSYNC_A....................: 0xbf62fee0 (65249 start, 48995 end)
VSYNCSHIFT_A...............: 0x57397924
PIPEASRC...................: 0x3ea8fd75 (16041, 64886)
PIPEA_DATA_M1..............: 0x62911275 (TU 50, val 0x911275 9507445)
PIPEA_DATA_N1..............: 0xba9ef598 (val 0x9ef598 10417560)
PIPEA_DATA_M2..............: 0x88eac682 (TU 69, val 0xeac682 15386242)
PIPEA_DATA_N2..............: 0x004080a5 (val 0x4080a5 4227237)
PIPEA_LINK_M1..............: 0xdb6e618a (val 0x6e618a 7233930)
PIPEA_LINK_N1..............: 0x94a1a967 (val 0xa1a967 10594663)
PIPEA_LINK_M2..............: 0xbf43a9d1 (val 0x43a9d1 4434385)
PIPEA_LINK_N2..............: 0x8daa9b71 (val 0xaa9b71 11180913)
DSPACNTR...................: 0xf225331c (enabled)
DSPABASE...................: 0xdef33dc2
DSPASTRIDE.................: 0xd6417b54 (56165869)
DSPASURF...................: 0x19b2b140
DSPATILEOFF................: 0x8817900b (36875, 34839)
PIPEBCONF..................: 0xa01253a0 (enabled, inactive, pf-pd, rotate 90, invalid bpc)
HTOTAL_B...................: 0xd4f9ba76 (47735 active, 54522 total)
HBLANK_B...................: 0x1b8caa29 (43562 start, 7053 end)
HSYNC_B....................: 0x5102b180 (45441 start, 20739 end)
VTOTAL_B...................: 0xfaf268d4 (26837 active, 64243 total)
VBLANK_B...................: 0x5303b582 (46467 start, 21252 end)
VSYNC_B....................: 0x7a7269d4 (27093 start, 31347 end)
VSYNCSHIFT_B...............: 0xbc126ba1
PIPEBSRC...................: 0xbf7de3ca (49022, 58315)
PIPEB_DATA_M1..............: 0x8ee60e49 (TU 72, val 0xe60e49 15076937)
PIPEB_DATA_N1..............: 0x0d0b8726 (val 0xb8726 755494)
PIPEB_DATA_M2..............: 0x0f890c96 (TU 8, val 0x890c96 8981654)
PIPEB_DATA_N2..............: 0x6d504791 (val 0x504791 5261201)
PIPEB_LINK_M1..............: 0x57e5bc4e (val 0xe5bc4e 15055950)
PIPEB_LINK_N1..............: 0x7b4b6ba7 (val 0x4b6ba7 4942759)
PIPEB_LINK_M2..............: 0xa01253a0 (val 0x1253a0 1201056)
PIPEB_LINK_N2..............: 0x8696905c (val 0x96905c 9867356)
DSPBCNTR...................: 0x7eaeeed8 (disabled)
DSPBBASE...................: 0x3119ff02
DSPBSTRIDE.................: 0xc9508125 (52773380)
DSPBSURF...................: 0x9967afff
DSPBTILEOFF................: 0x151fb70e (46862, 5407)
PIPECCONF..................: 0xa01253a0 (enabled, inactive, pf-pd, rotate 90, invalid bpc)
HTOTAL_C...................: 0xd4f9ba76 (47735 active, 54522 total)
HBLANK_C...................: 0x1b8caa29 (43562 start, 7053 end)
HSYNC_C....................: 0x5102b180 (45441 start, 20739 end)
VTOTAL_C...................: 0xfaf268d4 (26837 active, 64243 total)
VBLANK_C...................: 0x5303b582 (46467 start, 21252 end)
VSYNC_C....................: 0x7a7269d4 (27093 start, 31347 end)
VSYNCSHIFT_C...............: 0xbc126ba1
PIPECSRC...................: 0xbf7de3ca (49022, 58315)
PIPEC_DATA_M1..............: 0x8ee60e49 (TU 72, val 0xe60e49 15076937)
PIPEC_DATA_N1..............: 0x0d0b8726 (val 0xb8726 755494)
PIPEC_DATA_M2..............: 0x0f890c16 (TU 8, val 0x890c16 8981526)
PIPEC_DATA_N2..............: 0x6d504791 (val 0x504791 5261201)
PIPEC_LINK_M1..............: 0x57e5bc4e (val 0xe5bc4e 15055950)
PIPEC_LINK_N1..............: 0x7b4b6ba7 (val 0x4b6ba7 4942759)
PIPEC_LINK_M2..............: 0xa01253a0 (val 0x1253a0 1201056)
PIPEC_LINK_N2..............: 0x86b6905c (val 0xb6905c 11964508)
DSPCCNTR...................: 0x7eaeeed8 (disabled)
DSPCBASE...................: 0x3119ff02
DSPCSTRIDE.................: 0xc9508125 (52773380)
DSPCSURF...................: 0x9967afff
DSPCTILEOFF................: 0x151fb70e (46862, 5407)
PFA_CTL_1..................: 0x9154312d (enable, auto_scale yes, auto_scale_cal no, v_filter bypass, vadapt disable, mode least, filter_sel edge_enhance,chroma pre-filter enable, vert3tap auto, v_inter_invert field 0)
PFA_CTL_2..................: 0xcae708ff (vscale f)
PFA_CTL_3..................: 0x54a4bacd (vscale initial phase f)
PFA_CTL_4..................: 0x52bfb6fb (hscale f)
PFA_WIN_POS................: 0xe85907e5 (2137, 2021)
PFA_WIN_SIZE...............: 0xd86c30fc (6252, 252)
PFB_CTL_1..................: 0x9154312d (enable, auto_scale yes, auto_scale_cal no, v_filter bypass, vadapt disable, mode least, filter_sel edge_enhance,chroma pre-filter enable, vert3tap auto, v_inter_invert field 0)
PFB_CTL_2..................: 0xcae708ff (vscale f)
PFB_CTL_3..................: 0x74a4bacd (vscale initial phase f)
PFB_CTL_4..................: 0x52bfb6fb (hscale f)
PFB_WIN_POS................: 0xe85907e5 (2137, 2021)
PFB_WIN_SIZE...............: 0xd86c30fc (6252, 252)
PFC_CTL_1..................: 0x1ddfece9 (disable, auto_scale yes, auto_scale_cal no, v_filter bypass, vadapt enable, mode reserved, filter_sel edge_soften,chroma pre-filter enable, vert3tap auto, v_inter_invert field 0)
PFC_CTL_2..................: 0x250dcabf (vscale f)
PFC_CTL_3..................: 0x4bf540bc (vscale initial phase f)
PFC_CTL_4..................: 0x75dd3cec (hscale f)
PFC_WIN_POS................: 0x042e1bd9 (1070, 3033)
PFC_WIN_SIZE...............: 0x6fb94242 (4025, 578)
PCH_DREF_CONTROL...........: 0xdb97a4aa (cpu source reserved, ssc_source disable, nonspread_source enable, superspread_source disable, ssc4_mode downspread, ssc1 enable, ssc4 disable)
PCH_RAWCLK_FREQ............: 0x0857ad9e (FDL_TP1 timer 2.0us, FDL_TP2 timer 12.0us, freq 414)
PCH_DPLL_TMR_CFG...........: 0xc39c94b4
PCH_SSC4_PARMS.............: 0x3e536f23
PCH_SSC4_AUX_PARMS.........: 0x61265f7c
PCH_DPLL_SEL...............: 0x9e3a2ff1 (TransA DPLL disable (DPLL ), TransB DPLL enable (DPLL B))
PCH_DPLL_ANALOG_CTL........: 0x7e572bf8
PCH_DPLL_A.................: 0x64594896 (disable, sdvo high speed yes, mode , p2 , FPA0 P1 1, FPA1 P1 2, refclk SDVO TVClkIn, sdvo/hdmi mul 5)
PCH_DPLL_B.................: 0x8670dbb7 (enable, sdvo high speed no, mode , p2 , FPA0 P1 5, FPA1 P1 1, refclk SDVO TVClkIn, sdvo/hdmi mul 6)
PCH_FPA0...................: 0x91adf40d (n = 45, m1 = 52, m2 = 13)
PCH_FPA1...................: 0x56110c06 (n = 17, m1 = 12, m2 = 6)
PCH_FPB0...................: 0x287f87a8 (n = 63, m1 = 7, m2 = 40)
PCH_FPB1...................: 0xa865d0ef (n = 37, m1 = 16, m2 = 47)
TRANS_HTOTAL_A.............: 0x9154312d (12590 active, 37205 total)
TRANS_HBLANK_A.............: 0xcae708ff (2304 start, 51944 end)
TRANS_HSYNC_A..............: 0x54a4bacd (47822 start, 21669 end)
TRANS_VTOTAL_A.............: 0x7b9b6a07 (27144 active, 31644 total)
TRANS_VBLANK_A.............: 0x52bfb6fb (46844 start, 21184 end)
TRANS_VSYNC_A..............: 0xba1de90a (59659 start, 47646 end)
TRANS_VSYNCSHIFT_A.........: 0x23f85475
TRANSA_DATA_M1.............: 0x995e2139 (TU 77, val 0x5e2139 6168889)
TRANSA_DATA_N1.............: 0x58650cfa (val 0x650cfa 6622458)
TRANSA_DATA_M2.............: 0x765fff3b (TU 60, val 0x5fff3b 6291259)
TRANSA_DATA_N2.............: 0x73257b7a (val 0x257b7a 2456442)
TRANSA_DP_LINK_M1..........: 0x12483715 (val 0x483715 4732693)
TRANSA_DP_LINK_N1..........: 0xaa22c971 (val 0x22c971 2279793)
TRANSA_DP_LINK_M2..........: 0xa5b458ed (val 0xb458ed 11819245)
TRANSA_DP_LINK_N2..........: 0x47df928f (val 0xdf928f 14652047)
TRANS_HTOTAL_B.............: 0x1ddfece9 (60650 active, 7648 total)
TRANS_HBLANK_B.............: 0x250dcabf (51904 start, 9486 end)
TRANS_HSYNC_B..............: 0x4bf540bc (16573 start, 19446 end)
TRANS_VTOTAL_B.............: 0x7087612a (24875 active, 28808 total)
TRANS_VBLANK_B.............: 0x75dd3cec (15597 start, 30174 end)
TRANS_VSYNC_B..............: 0x7f0d7e3e (32319 start, 32526 end)
TRANS_VSYNCSHIFT_B.........: 0xc8d346f0
TRANSB_DATA_M1.............: 0x75293d05 (TU 59, val 0x293d05 2702597)
TRANSB_DATA_N1.............: 0xff307e44 (val 0x307e44 3178052)
TRANSB_DATA_M2.............: 0xf13c352f (TU 121, val 0x3c352f 3945775)
TRANSB_DATA_N2.............: 0x1e35bc4e (val 0x35bc4e 3521614)
TRANSB_DP_LINK_M1..........: 0x9ec3ead1 (val 0xc3ead1 12839633)
TRANSB_DP_LINK_N1..........: 0x45ca0bb1 (val 0xca0bb1 13241265)
TRANSB_DP_LINK_M2..........: 0xbae5a29c (val 0xe5a29c 15049372)
TRANSB_DP_LINK_N2..........: 0x0cc399a2 (val 0xc399a2 12818850)
TRANS_HTOTAL_C.............: 0x1ddfece9 (60650 active, 7648 total)
TRANS_HBLANK_C.............: 0x250dca3f (51776 start, 9486 end)
TRANS_HSYNC_C..............: 0x4bf540bc (16573 start, 19446 end)
TRANS_VTOTAL_C.............: 0x7087612a (24875 active, 28808 total)
TRANS_VBLANK_C.............: 0x75dd3cec (15597 start, 30174 end)
TRANS_VSYNC_C..............: 0x7f0d7e3e (32319 start, 32526 end)
TRANS_VSYNCSHIFT_C.........: 0xc8d346f0
TRANSC_DATA_M1.............: 0x75293d05 (TU 59, val 0x293d05 2702597)
TRANSC_DATA_N1.............: 0xff307e44 (val 0x307e44 3178052)
TRANSC_DATA_M2.............: 0xf13c352f (TU 121, val 0x3c352f 3945775)
TRANSC_DATA_N2.............: 0x1e35bc4e (val 0x35bc4e 3521614)
TRANSC_DP_LINK_M1..........: 0x9ec3ead1 (val 0xc3ead1 12839633)
TRANSC_DP_LINK_N1..........: 0x45da0bb1 (val 0xda0bb1 14289841)
TRANSC_DP_LINK_M2..........: 0xbae5a29c (val 0xe5a29c 15049372)
TRANSC_DP_LINK_N2..........: 0x0cc399a2 (val 0xc399a2 12818850)
TRANSACONF.................: 0xa5b458ed (enable, inactive, rsvd)
TRANSBCONF.................: 0xbbe5a29c (enable, inactive, rsvd)
TRANSCCONF.................: 0xbae5a29c (enable, inactive, rsvd)
FDI_TXA_CTL................: 0xfdb2e8e0 (enable, train pattern not train, voltage swing ,pre-emphasis , port width , enhanced framing disable, FDI PLL enable, scrambing disable, master mode disable)
FDI_TXB_CTL................: 0x71393524 (disable, train pattern not train, voltage swing ,pre-emphasis , port width , enhanced framing disable, FDI PLL disable, scrambing enable, master mode disable)
FDI_TXC_CTL................: 0x71393524 (disable, train pattern not train, voltage swing ,pre-emphasis , port width , enhanced framing disable, FDI PLL disable, scrambing enable, master mode disable)
FDI_RXA_CTL................: 0x07df928f (disable, train pattern pattern_idle, port width X4, ,link_reverse_strap_overwrite yes, dmi_link_reverse no, FDI PLL disable,FS ecc disable, FE ecc disable, FS err report enable, FE err report disable,scrambing disaFDI_RXB_CTL................: 0x08c399a0 (disable, train pattern pattern_2, port width X1, 12bpc,link_reverse_strap_overwrite yes, dmi_link_reverse no, FDI PLL disable,FS ecc enable, FE ecc disable, FS err report disable, FE err report enable,scrambing disFDI_RXC_CTL................: 0x0cc3998e (disable, train pattern pattern_2, port width X1, 12bpc,link_reverse_strap_overwrite yes, dmi_link_reverse no, FDI PLL disable,FS ecc enable, FE ecc disable, FS err report disable, FE err report enable,scrambing disDPAFE_BMFUNC...............: 0xffa37f63
DPAFE_DL_IREFCAL0..........: 0xe4214866
DPAFE_DL_IREFCAL1..........: 0x50207717
DPAFE_DP_IREFCAL...........: 0x76726cc0
PCH_DSPCLK_GATE_D..........: 0xbe116fa6
PCH_DSP_CHICKEN1...........: 0xf2dcf63c
PCH_DSP_CHICKEN2...........: 0x5205393b
PCH_DSP_CHICKEN3...........: 0x04009538
FDI_RXA_MISC...............: 0x919230a1 (FDI Delay 4257)
FDI_RXB_MISC...............: 0xb6f0bab6 (FDI Delay 6838)
FDI_RXC_MISC...............: 0xb6f0bab6 (FDI Delay 6838)
FDI_RXA_TUSIZE1............: 0x042e1bd9
FDI_RXA_TUSIZE2............: 0x6d9fc8bb
FDI_RXB_TUSIZE1............: 0xe85907e5
FDI_RXB_TUSIZE2............: 0xeafc02af
FDI_RXC_TUSIZE1............: 0xe8d907e5
FDI_RXC_TUSIZE2............: 0xeafc02af
FDI_PLL_CTL_1..............: 0xf225331c
FDI_PLL_CTL_2..............: 0xdef33dc2
FDI_RXA_IIR................: 0x8ad6889c
FDI_RXA_IMR................: 0xb0a473cc
FDI_RXB_IIR................: 0x4fc61fa8
FDI_RXB_IMR................: 0x86d0def6
PCH_ADPA...................: 0xb81f63bb (enabled, transcoder B, +hsync, +vsync)
HDMIB......................: 0x3b0b6583 (disabled pipe B  SDVO DVI audio disabled -vsync -hsync non-detected)
HDMIC......................: 0xacc94a17 (enabled pipe B 12bpc TMDS HDMI audio disabled +vsync -hsync detected)
HDMID......................: 0xdb4ba593 (enabled pipe C  SDVO DVI audio disabled +vsync -hsync non-detected)
PCH_LVDS...................: 0x3494be7f (disabled, pipe B, 18 bit, 2 channels)
CPU_eDP_A..................: 0x71393524
PCH_DP_B...................: 0x1ddfece9
PCH_DP_C...................: 0x71393524
PCH_DP_D...................: 0xd4f9ba76
TRANS_DP_CTL_A.............: 0xfdb2e8e0 (enable port none  -vsync -hsync)
TRANS_DP_CTL_B.............: 0x71393524 (disable port none 6bpc -vsync -hsync)
TRANS_DP_CTL_C.............: 0x71393524 (disable port none 6bpc -vsync -hsync)
BLC_PWM_CPU_CTL2...........: 0xc03593cf (enable 1, pipe C)
BLC_PWM_CPU_CTL............: 0x1eb9a047 (cycle 41031)
BLC_PWM_PCH_CTL1...........: 0xe6fb1aa1 (enable 1, override 1, inverted polarity 1)
BLC_PWM_PCH_CTL2...........: 0x1bc4b7ad (freq 7108, cycle 47021)
PCH_PP_STATUS..............: 0x571c796e (off, ready, sequencing on)
PCH_PP_CONTROL.............: 0xf3bd6f5e (blacklight enabled, power down on reset, panel off)
PCH_PP_ON_DELAYS...........: 0xdcc96ec5
PCH_PP_OFF_DELAYS..........: 0x5d482ab4
PCH_PP_DIVISOR.............: 0x1931e534
PORT_DBG...................: 0xc63e9ff9 (HW DRRS )
RC6_RESIDENCY_TIME.........: 0x4bf540bc
RC6p_RESIDENCY_TIME........: 0x7087612a
RC6pp_RESIDENCY_TIME.......: 0x75dd3cec
IS_GEN6(devid) || IS_GEN7(devid)
FENCE START 0..............: 0x588ba292
FENCE END 0................: 0x78906c10
FENCE START 1..............: 0x32887694
FENCE END 1................: 0x2210d991
FENCE START 2..............: 0xfd7ee979
FENCE END 2................: 0x51ed3eaa
FENCE START 3..............: 0x45de98b8
FENCE END 3................: 0xbfd5e29a
FENCE START 4..............: 0x42739762
FENCE END 4................: 0x3e2ee16c
FENCE START 5..............: 0x498c809c
FENCE END 5................: 0x7cd16493
FENCE START 6..............: 0x61b0d0e4
FENCE END 6................: 0x72de308d
FENCE START 7..............: 0xe3e1d447
FENCE END 7................: 0x564a31a5
FENCE START 8..............: 0xd997a4aa
FENCE END 8................: 0x1857ad9e
FENCE START 9..............: 0xc39894b4
FENCE END 9................: 0x5e542199
FENCE START 10.............: 0x3e536f23
FENCE END 10...............: 0x61265f7c
FENCE START 11.............: 0x352a79d0
FENCE END 11...............: 0xe3f85ac0
FENCE START 12.............: 0xa91f41ba
FENCE END 12...............: 0x04f594da
FENCE START 13.............: 0x61f5d06e
FENCE END 13...............: 0x36cff1af
FENCE START 14.............: 0xfcc0ea04
FENCE END 14...............: 0x51823e35
FENCE START 15.............: 0xf821e3c7
FENCE END 15...............: 0x50ba3c45
FENCE START 16.............: 0xd4007f56
FENCE END 16...............: 0x977aaed0
FENCE START 17.............: 0x2dd98ce5
FENCE END 17...............: 0x390cd21c
FENCE START 18.............: 0xda1c636e
FENCE END 18...............: 0x94fda9de
FENCE START 19.............: 0x71ea3483
FENCE END 19...............: 0x3a00fc20
FENCE START 20.............: 0x0573ddb1
FENCE END 20...............: 0xa326c669
FENCE START 20.............: 0x0573ddb1
FENCE END 20...............: 0xa326c669
FENCE START 21.............: 0xa2a79219
FENCE END 21...............: 0x0ad39583
FENCE START 22.............: 0x8d57ccd8
FENCE END 22...............: 0xc10b0233
FENCE START 23.............: 0x64821e53
FENCE END 23...............: 0x3b5af699
FENCE START 24.............: 0x571e796e
FENCE END 24...............: 0xf7bd6f5e
FENCE START 25.............: 0xdceb6ec5
FENCE END 25...............: 0x55482ab4
FENCE START 26.............: 0x1959e534
FENCE END 26...............: 0xa436c848
FENCE START 27.............: 0x015ed5ea
FENCE END 27...............: 0x622d447f
FENCE START 28.............: 0xee1f0b69
FENCE END 28...............: 0x99fdb3df
FENCE START 29.............: 0x88dec2eb
FENCE END 29...............: 0x40cd01bd
FENCE START 30.............: 0x10b7f638
FENCE END 30...............: 0xe6574c0a
FENCE START 31.............: 0x7f6229d3
FENCE END 31...............: 0x3daafb71
GEN6_RP_CONTROL............: 0xd4922901 (disabled)
GEN6_RPNSWREQ..............: 0xd96f6588
GEN6_RP_DOWN_TIMEOUT.......: 0x188de64d
GEN6_RP_INTERRUPT_LIMITS...: 0x64594896
GEN6_RP_UP_THRESHOLD.......: 0x2737ce4a
GEN6_RP_UP_EI..............: 0x3d4dadcd
GEN6_RP_DOWN_EI............: 0x6d295a76
GEN6_RP_IDLE_HYSTERSIS.....: 0x9a7fe3a8
GEN6_RC_STATE..............: 0xa149dfa2
GEN6_RC_CONTROL............: 0x3fef6c5a
GEN6_RC1_WAKE_RATE_LIMIT...: 0xb204778d
GEN6_RC6_WAKE_RATE_LIMIT...: 0x92339957
GEN6_RC_EVALUATION_INTERVAL: 0xfe1fefba
GEN6_RC_IDLE_HYSTERSIS.....: 0x51353f5a
GEN6_RC_SLEEP..............: 0xeb78c574
GEN6_RC1e_THRESHOLD........: 0x146cb5e9
GEN6_RC6_THRESHOLD.........: 0x81f7106a
GEN6_RC_VIDEO_FREQ.........: 0xd4212867
GEN6_PMIER.................: 0x40cd01bf
GEN6_PMIMR.................: 0x98fdb3df
GEN6_PMINTRMSK.............: 0x07d91c37


CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 800 MHz
CPU Maximum non-Turbo Frequency....: 1700 MHz
CPU Maximum Turbo Frequency........: 2600 MHz


IGPU Info:
------------------------------------
IGPU Current Frequency.............:  350 MHz
IGPU Minimum Frequency.............:  350 MHz
IGPU Maximum Non-Turbo Frequency...:  350 MHz
IGPU Maximum Turbo Frequency.......: 1050 MHz
IGPU Maximum limit.................: No Limit


CPU P-States [ (9) 21 24 ] iGPU P-States [ (7) ]
CPU C3-Cores [ 0 1 2 3 ]
CPU C6-Cores [ 0 1 2 3 ]
CPU C7-Cores [ 0 1 2 3 ]
CPU P-States [ 9 21 23 (24) ] iGPU P-States [ (7) ]
CPU P-States [ 9 21 22 23 (24) ] iGPU P-States [ (7) ]
CPU P-States [ 9 18 21 22 23 (24) ] iGPU P-States [ (7) ]
CPU P-States [ (9) 18 19 21 22 23 24 ] iGPU P-States [ (7) ]
bash-3.2#

I run geekbecnh and gputest, states got this:
Code:
CPU P-States [ (9) 21 24 ] iGPU P-States [ (7) ]CPU C3-Cores [ 0 1 2 3 ]
CPU C6-Cores [ 0 1 2 3 ]
CPU C7-Cores [ 0 1 2 3 ]
CPU P-States [ 9 21 23 (24) ] iGPU P-States [ (7) ]
CPU P-States [ 9 21 22 23 (24) ] iGPU P-States [ (7) ]
CPU P-States [ 9 18 21 22 23 (24) ] iGPU P-States [ (7) ]
CPU P-States [ (9) 18 19 21 22 23 24 ] iGPU P-States [ (7) ]
CPU P-States [ (9) 16 18 19 21 22 23 24 ] iGPU P-States [ (7) ]
CPU P-States [ (9) 16 18 19 20 21 22 23 24 ] iGPU P-States [ (7) ]
CPU P-States [ 9 16 17 18 19 20 21 22 23 (24) ] iGPU P-States [ (7) ]
CPU P-States [ 9 16 17 18 19 20 21 22 23 24 (26) ] iGPU P-States [ (7) ]
CPU P-States [ 9 16 17 18 19 20 21 22 23 24 25 (26) ] iGPU P-States [ (7) ]
CPU P-States [ (9) 15 16 17 18 19 20 21 22 23 24 25 26 ] iGPU P-States [ (7) ]
CPU P-States [ (9) 14 15 16 17 18 19 20 21 22 23 24 25 26 ] iGPU P-States [ (7) ]
CPU P-States [ (9) 12 14 15 16 17 18 19 20 21 22 23 24 25 26 ] iGPU P-States [ (7) ]
CPU P-States [ (9) 10 12 14 15 16 17 18 19 20 21 22 23 24 25 26 ] iGPU P-States [ (7) ]
CPU P-States [ (9) 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ] iGPU P-States [ (7) ]
CPU P-States [ (9) 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ] iGPU P-States [ (7) ]
CPU P-States [ (9) 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ] iGPU P-States [ 7 (18) ]
CPU P-States [ (9) 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ] iGPU P-States [ 7 (13) 18 ]
CPU P-States [ 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (24) 25 26 ] iGPU P-States [ 7 (11) 13 18 ]
CPU P-States [ 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (24) 25 26 ] iGPU P-States [ 7 (9) 11 13 18 ]
CPU P-States [ 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (24) 25 26 ] iGPU P-States [ 7 (8) 9 11 13 18 ]
CPU P-States [ 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (24) 25 26 ] iGPU P-States [ 7 8 9 11 13 18 (21) ]

But looking Intel power gadget, cpu never drops to 800Mhz and I have never seen 2600 in Intel Power Gadget (but did before, when I had other smbios, when it was always doing 2400-2600 and never lower).

Is there any way to use SMbios MacbookAir5,1 or I just wont work?

Intel Power Gadget Screenshoot in attachment
 

Attachments

  • Screen Shot 2016-01-27 at 11.44.24.png
    Screen Shot 2016-01-27 at 11.44.24.png
    479.8 KB · Views: 125
  • idle-cpu-freq.png
    idle-cpu-freq.png
    80.5 KB · Views: 140
AICPM.kext - I used patched from Vietnam Tool (still got vannila kext bacup)

Not necessary. Restore to vanilla. Use the OS X installer.

Meanwhile I tried SMBios 5,1 (in previus post I ment I tried 5,2), since 5,1 macbookair had same cpu i5 3317U, and I tried generating SSDT.aml with -w 1-2-3 and x 0-1, and when I successfully booted, cpu was stuck on 800Mhz. Other scenario was failed on boot (usually P-stepper error)

Try with -xcpm and KernelPm=true.

Make sure your system is clean... nothing should be installed that might affect how busy the CPU is.
 
if I use -xcpm and KernelPm=true, laptop reboots right after OsxAptioFixDrv *******

Restored vanilla AICPM

Post EFI/Clover folder (omit 'themes' folder).

Guess: Your SSDT is likely wrong. Keep in mind you must regenerate it when you switch to -xcpm.
 
I did some "cleaning" clover settings, added suggested flags and deleted ssdt.aml and cpu started working normaly... but running geekbench showed max 2400mhz, so I generated new SSDT.aml -x 1 -w 1 and look same in intel power gadget, but logs from AppleIntelInfo.kext show these, state 26 (not sure why never seen in intel power gadget)
Code:
CPU Ratio Info:------------------------------------
CPU Low Frequency Mode.............: 800 MHz
CPU Maximum non-Turbo Frequency....: 1700 MHz
CPU Maximum Turbo Frequency........: 2600 MHz


IGPU Info:
------------------------------------
IGPU Current Frequency.............:  350 MHz
IGPU Minimum Frequency.............:  350 MHz
IGPU Maximum Non-Turbo Frequency...:  350 MHz
IGPU Maximum Turbo Frequency.......: 1050 MHz
IGPU Maximum limit.................: No Limit


CPU P-States [ 18 (24) ] iGPU P-States [ (7) ]
CPU C3-Cores [ 0 1 2 3 ]
CPU C6-Cores [ 0 1 2 3 ]
CPU C7-Cores [ 0 1 2 3 ]
CPU P-States [ (8) 13 18 24 ] iGPU P-States [ (7) ]
CPU P-States [ 8 (12) 13 18 24 ] iGPU P-States [ (7) ]
CPU P-States [ 8 12 13 18 19 (24) ] iGPU P-States [ (7) ]
CPU P-States [ (8) 12 13 16 18 19 24 ] iGPU P-States [ (7) ]
CPU P-States [ (8) 11 12 13 16 18 19 24 ] iGPU P-States [ (7) ]
CPU P-States [ (8) 11 12 13 15 16 18 19 24 ] iGPU P-States [ (7) ]
CPU P-States [ 8 11 12 13 15 16 (17) 18 19 24 ] iGPU P-States [ (7) ]
CPU P-States [ 8 11 12 13 (14) 15 16 17 18 19 24 ] iGPU P-States [ (7) ]
CPU P-States [ 8 11 12 13 14 15 16 17 18 19 (21) 24 ] iGPU P-States [ (7) ]
CPU P-States [ (8) 11 12 13 14 15 16 17 18 19 21 23 24 ] iGPU P-States [ (7) ]
CPU P-States [ (8) 10 11 12 13 14 15 16 17 18 19 21 23 24 ] iGPU P-States [ (7) ]
CPU P-States [ (8) 9 10 11 12 13 14 15 16 17 18 19 21 23 24 ] iGPU P-States [ (7) ]
CPU P-States [ (8) 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 ] iGPU P-States [ (7) ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (24) ] iGPU P-States [ (7) ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 (26) ] iGPU P-States [ (7) ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (24) 26 ] iGPU P-States [ 7 (11) ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (24) 26 ] iGPU P-States [ 7 11 (21) ]
CPU P-States [ 8 9 10 11 12 13 (14) 15 16 17 18 19 20 21 22 23 24 26 ] iGPU P-States [ 7 11 (20) 21 ]

EFI/Clover: View attachment CLOVER.zip
 
I did some "cleaning" clover settings, added suggested flags and deleted ssdt.aml and cpu started working normaly... but running geekbench showed max 2400mhz, so I generated new SSDT.aml -x 1 -w 1 and look same in intel power gadget, but logs from AppleIntelInfo.kext show these, state 26 (not sure why never seen in intel power gadget)
Code:
CPU Ratio Info:------------------------------------
CPU Low Frequency Mode.............: 800 MHz
CPU Maximum non-Turbo Frequency....: 1700 MHz
CPU Maximum Turbo Frequency........: 2600 MHz


IGPU Info:
------------------------------------
IGPU Current Frequency.............:  350 MHz
IGPU Minimum Frequency.............:  350 MHz
IGPU Maximum Non-Turbo Frequency...:  350 MHz
IGPU Maximum Turbo Frequency.......: 1050 MHz
IGPU Maximum limit.................: No Limit


CPU P-States [ 18 (24) ] iGPU P-States [ (7) ]
CPU C3-Cores [ 0 1 2 3 ]
CPU C6-Cores [ 0 1 2 3 ]
CPU C7-Cores [ 0 1 2 3 ]
CPU P-States [ (8) 13 18 24 ] iGPU P-States [ (7) ]
CPU P-States [ 8 (12) 13 18 24 ] iGPU P-States [ (7) ]
CPU P-States [ 8 12 13 18 19 (24) ] iGPU P-States [ (7) ]
CPU P-States [ (8) 12 13 16 18 19 24 ] iGPU P-States [ (7) ]
CPU P-States [ (8) 11 12 13 16 18 19 24 ] iGPU P-States [ (7) ]
CPU P-States [ (8) 11 12 13 15 16 18 19 24 ] iGPU P-States [ (7) ]
CPU P-States [ 8 11 12 13 15 16 (17) 18 19 24 ] iGPU P-States [ (7) ]
CPU P-States [ 8 11 12 13 (14) 15 16 17 18 19 24 ] iGPU P-States [ (7) ]
CPU P-States [ 8 11 12 13 14 15 16 17 18 19 (21) 24 ] iGPU P-States [ (7) ]
CPU P-States [ (8) 11 12 13 14 15 16 17 18 19 21 23 24 ] iGPU P-States [ (7) ]
CPU P-States [ (8) 10 11 12 13 14 15 16 17 18 19 21 23 24 ] iGPU P-States [ (7) ]
CPU P-States [ (8) 9 10 11 12 13 14 15 16 17 18 19 21 23 24 ] iGPU P-States [ (7) ]
CPU P-States [ (8) 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 ] iGPU P-States [ (7) ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (24) ] iGPU P-States [ (7) ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 (26) ] iGPU P-States [ (7) ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (24) 26 ] iGPU P-States [ 7 (11) ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 (24) 26 ] iGPU P-States [ 7 11 (21) ]
CPU P-States [ 8 9 10 11 12 13 (14) 15 16 17 18 19 20 21 22 23 24 26 ] iGPU P-States [ 7 11 (20) 21 ]

EFI/Clover: View attachment 174046

AppleIntelInfo output shows PM working.
 
Back
Top