Contribute
Register

[Guide] Native Power Management for Laptops

Hi RehabMan,
as you stated before i got a lot of problems with my ssdt's. I started from the scratch with a refs.txt and now it worked just fine with the rename of GFX0 to IGPU. The only thing that i need to get done is the battery but i will get this tomorrow. I will post a new Ioreg and so on.
There isn't anything unusual in Activity Monitor.

Code:
Last login: Tue Jan 24 00:02:39 on console

Niklass-MacBook:~ Niggi$ 

Niklass-MacBook:~ Niggi$ kextstat|grep -y acpiplat

   13    2 0xffffff7f82a04000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (4.0) A29C7512-D3A8-3AED-9721-3A5FF1A32EB2 <12 11 7 6 5 4 3 1>

Niklass-MacBook:~ Niggi$ kextstat|grep -y appleintelcpu

Niklass-MacBook:~ Niggi$ kextstat|grep -y applelpc

   84    0 0xffffff7f823d5000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 32BDCF9F-0473-32D4-9DAE-F523EFB2D244 <83 12 5 4 3>

Niklass-MacBook:~ Niggi$ kextstat|grep -y applehda

   95    1 0xffffff7f82701000 0x1e000    0x1e000    com.apple.driver.AppleHDAController (274.12) 5F94D8E3-B1E5-35D7-AB7A-6419C3AAC3B5 <94 93 69 12 7 6 5 4 3 1>

  110    0 0xffffff7f8286d000 0xb3000    0xb3000    com.apple.driver.AppleHDA (274.12) 436B78B7-FA08-3C53-B97D-5C617CB7EB28 <109 95 94 93 74 69 12 11 6 5 4 3 1>

Niklass-MacBook:~ Niggi$
 

Attachments

  • Ioreg.zip
    427.7 KB · Views: 71
  • CLOVER.zip
    3.9 MB · Views: 103
Hi RehabMan,
as you stated before i got a lot of problems with my ssdt's. I started from the scratch with a refs.txt and now it worked just fine with the rename of GFX0 to IGPU. The only thing that i need to get done is the battery but i will get this tomorrow. I will post a new Ioreg and so on.
There isn't anything unusual in Activity Monitor.

Code:
Last login: Tue Jan 24 00:02:39 on console

Niklass-MacBook:~ Niggi$

Niklass-MacBook:~ Niggi$ kextstat|grep -y acpiplat

   13    2 0xffffff7f82a04000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (4.0) A29C7512-D3A8-3AED-9721-3A5FF1A32EB2 <12 11 7 6 5 4 3 1>

Niklass-MacBook:~ Niggi$ kextstat|grep -y appleintelcpu

Niklass-MacBook:~ Niggi$ kextstat|grep -y applelpc

   84    0 0xffffff7f823d5000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 32BDCF9F-0473-32D4-9DAE-F523EFB2D244 <83 12 5 4 3>

Niklass-MacBook:~ Niggi$ kextstat|grep -y applehda

   95    1 0xffffff7f82701000 0x1e000    0x1e000    com.apple.driver.AppleHDAController (274.12) 5F94D8E3-B1E5-35D7-AB7A-6419C3AAC3B5 <94 93 69 12 7 6 5 4 3 1>

  110    0 0xffffff7f8286d000 0xb3000    0xb3000    com.apple.driver.AppleHDA (274.12) 436B78B7-FA08-3C53-B97D-5C617CB7EB28 <109 95 94 93 74 69 12 11 6 5 4 3 1>

Niklass-MacBook:~ Niggi$

I don't see any CPU PM issue here (lots of other problems though).
What makes you think it is always pegged at the highest state?
 
What are the other problems you think of ? Intel Power Gadget as well as HW Monitor tells me, that it always runs at 2 GHZ (max turbo boost of this little thing). Also AppleIntelInfo told me that it won't go to idle (800 Mhz) as it should when no programs are open. Thank you for your help so far !

Well, i did a new try with AppleIntelInfo.kext and don't know how to interpret it now.

Code:
CPU Ratio Info:

------------------------------------

CPU Low Frequency Mode.............: 500 MHz

CPU Maximum non-Turbo Frequency....: 1000 MHz

CPU Maximum Turbo Frequency........: 2000 MHz


IGPU Info:

------------------------------------

IGPU Current Frequency.............:  350 MHz

IGPU Minimum Frequency.............:  300 MHz

IGPU Maximum Non-Turbo Frequency...:  300 MHz

IGPU Maximum Turbo Frequency.......:  800 MHz

IGPU Maximum limit.................: No Limit


CPU P-States [ (20) ] 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 [ (20) ] iGPU P-States [ 7 (12) ]

CPU P-States [ (20) ] iGPU P-States [ 7 (11) 12 ]

CPU P-States [ 19 (20) ] iGPU P-States [ 7 11 (12) ]

CPU P-States [ (14) 19 20 ] iGPU P-States [ 7 11 (12) ]

CPU P-States [ 14 19 (20) ] iGPU P-States [ 7 11 12 (13) ]

CPU P-States [ 14 18 19 (20) ] iGPU P-States [ 7 11 12 (13) ]

CPU P-States [ 14 18 19 (20) ] iGPU P-States [ 7 11 12 13 (14) ]

CPU P-States [ 14 18 19 (20) ] iGPU P-States [ 7 (10) 11 12 13 14 ]

CPU P-States [ 14 18 19 (20) ] iGPU P-States [ 7 10 11 12 13 14 (15) ]

CPU P-States [ 14 18 19 (20) ] iGPU P-States [ 7 10 11 (12) 13 14 15 ]

CPU P-States [ 14 (16) 18 19 20 ] iGPU P-States [ (7) 10 11 12 13 14 15 ]

CPU P-States [ 14 16 18 19 (20) ] iGPU P-States [ 7 10 11 12 13 14 15 (16) ]

CPU P-States [ 14 16 18 19 (20) ] iGPU P-States [ 7 (9) 10 11 12 13 14 15 16 ]

CPU P-States [ (8) 14 16 18 19 20 ] iGPU P-States [ 7 9 10 11 12 13 14 15 (16) ]

CPU P-States [ 8 14 16 18 19 (20) ] iGPU P-States [ 7 (8) 9 10 11 12 13 14 15 16 ]

Niklass-MacBook:~ Niggi$
Is it possible, that the Intel Gadget thing and HW Info are wrong with the displayed speeds ?

bLiNd
 
What are the other problems you think of ?

Off-topic here. But audio not working, USB not configured correctly, HDMI audio not implemented, USB WiFi. Also, all the patches in config.plist/ACPI/DSDT/Fixes should be disabled.

Intel Power Gadget as well as HW Monitor tells me, that it always runs at 2 GHZ (max turbo boost of this little thing). Also AppleIntelInfo told me that it won't go to idle (800 Mhz) as it should when no programs are open. Thank you for your help so far !

Check in Activity Monitor. Make sure you look at "all processes".
 
I already fixed the Audio as well as the battery. Can you have a look at the P-States i edited in my last post ? It looks way different now with all the changes. It looks more like Intel Power Gadget displays the wrong values maybe ?
And the thing with the USB Wlan, its the build in one. I'm using a 200€ China Tablet to run it on and they don't built in a proper wifi card :/.
 
What are the other problems you think of ? Intel Power Gadget as well as HW Monitor tells me, that it always runs at 2 GHZ (max turbo boost of this little thing). Also AppleIntelInfo told me that it won't go to idle (800 Mhz) as it should when no programs are open. Thank you for your help so far !

Well, i did a new try with AppleIntelInfo.kext and don't know how to interpret it now.

Code:
CPU Ratio Info:

------------------------------------

CPU Low Frequency Mode.............: 500 MHz

CPU Maximum non-Turbo Frequency....: 1000 MHz

CPU Maximum Turbo Frequency........: 2000 MHz


IGPU Info:

------------------------------------

IGPU Current Frequency.............:  350 MHz

IGPU Minimum Frequency.............:  300 MHz

IGPU Maximum Non-Turbo Frequency...:  300 MHz

IGPU Maximum Turbo Frequency.......:  800 MHz

IGPU Maximum limit.................: No Limit


CPU P-States [ (20) ] 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 [ (20) ] iGPU P-States [ 7 (12) ]

CPU P-States [ (20) ] iGPU P-States [ 7 (11) 12 ]

CPU P-States [ 19 (20) ] iGPU P-States [ 7 11 (12) ]

CPU P-States [ (14) 19 20 ] iGPU P-States [ 7 11 (12) ]

CPU P-States [ 14 19 (20) ] iGPU P-States [ 7 11 12 (13) ]

CPU P-States [ 14 18 19 (20) ] iGPU P-States [ 7 11 12 (13) ]

CPU P-States [ 14 18 19 (20) ] iGPU P-States [ 7 11 12 13 (14) ]

CPU P-States [ 14 18 19 (20) ] iGPU P-States [ 7 (10) 11 12 13 14 ]

CPU P-States [ 14 18 19 (20) ] iGPU P-States [ 7 10 11 12 13 14 (15) ]

CPU P-States [ 14 18 19 (20) ] iGPU P-States [ 7 10 11 (12) 13 14 15 ]

CPU P-States [ 14 (16) 18 19 20 ] iGPU P-States [ (7) 10 11 12 13 14 15 ]

CPU P-States [ 14 16 18 19 (20) ] iGPU P-States [ 7 10 11 12 13 14 15 (16) ]

CPU P-States [ 14 16 18 19 (20) ] iGPU P-States [ 7 (9) 10 11 12 13 14 15 16 ]

CPU P-States [ (8) 14 16 18 19 20 ] iGPU P-States [ 7 9 10 11 12 13 14 15 (16) ]

CPU P-States [ 8 14 16 18 19 (20) ] iGPU P-States [ 7 (8) 9 10 11 12 13 14 15 16 ]

Niklass-MacBook:~ Niggi$
Is it possible, that the Intel Gadget thing and HW Info are wrong with the displayed speeds ?

bLiNd

The output shows x8 -> x20 which is as expected fro your CPU.
 
My cpu is always going from x8 to x26 when doing simple tasks like web browsing and fans go crazy, but my main problem is overheating... I don't know what causes it but the temperature is often 70-80 celsius degrees.. Here are my ioreg/efi/terminal-outputs
 

Attachments

  • Arhivă.zip
    3.6 MB · Views: 83
My cpu is always going from x8 to x26 when doing simple tasks like web browsing and fans go crazy, but my main problem is overheating... I don't know what causes it but the temperature is often 70-80 celsius degrees.. Here are my ioreg/efi/terminal-outputs

You should check in Activity Monitor to see if any process is using excess CPU.
 
i solved the problem by editing my freqVectors in my smbios of the Macbook air 7,2. I just had to adjust the lfm tables and copied other values from another smbios with freqVectorsedit.sh from PK Alpha.
Maybe it will help some other guys that have the same problem as me.
Anyway, thanks to RehabMan for the help. I got everything setup properly and have a fully functional MacBook now :).
 
Hi RehabMan, can you please check if native power management is working on my laptop? Thanks
 

Attachments

  • ioreg.zip
    578.9 KB · Views: 92
Back
Top