Contribute
Register

[Guide] Native Power Management for Laptops

the clover generate plugintype=true on mojave will cause reboot ,SSDT-XCPM.aml looks fine, why?
 

Attachments

  • debug_plugintype_true.zip
    1.4 MB · Views: 62
  • debug_ssdt-xcpm.zip
    1.4 MB · Views: 86
The issue I currently experience is the CPU frequency being almost all the time at 3GHz. The multiplier is only between 30 and 31.

Any ideas?

Thanks

View attachment 359253

Check Activity Monitor.
Your problem is likely excess CPU usage due to the layout-id/XML you're using in AppleALC.
Remove AppleALC and see if the problem goes away.
You can try different layout-id values as applicable for your audio codec.

Also, try without CPUFriend*

Also, remove PinConfigurations inject from Devices/Properties.
 
Hello there, (general kenobi). Guys I am having some troubles with sleep/wake (also sleep from lid opening/closing). So, I was experimenting with power management. First, I used to controll PM via PikerAlpha's ssdtprgen.sh, then I tried to switch from it so SSDT-XCPM method. (Could find any differences from it by the way, even though laptop works more silent with SsdtPRGen). Later I read about HWP and tried to use it combined with SSDT-XCPM. So this one seemed no difference until I discovered that my I7-6500U doesnt support HWP (SpeedShift). So neither with SSDT.aml and SSDT-XCPM.aml my sleep-wake does not work. I tried changing various fixes in config.plist (LPC,HPET,Skiphibernate,FakeLPC), and still nothing. Moreover before I started doing this My battery charging status was working great (lenovo x220 battery patch on DSDT), now this one does not show charging status, and even if you plug the AC, bat status shows that power source is Battery, and today I had a bug with shows me 89 percents, but bat status was red (low power). And if you boot with plugged in AC, charging status works, but it is stuck in that mode, and power source show AC. Can anyone please help me solve this out?.

Offtop qustion: Does Skylake need LPC patch on DSDT and FakeLPC in config. plist? Assuming that without fake lpc on LPC device shows com.apple.***.eficheck and with fake lpc in clover there is native AppleLPC.
Thanks for answers

No need for SSDT.aml from ssdtPRgen.sh with the hardware in your profile.
Use only config.plist/ACPI/SSDT/Generate/PluginType=true.

HWP options in config.plist are useless/not needed. Do not use. If you want HWP, use an HWP-enabled SMBIOS.

Battery status is off-topic here.

Your USB configuration is wrong.

You should open a separate thread.
 
the clover generate plugintype=true on mojave will cause reboot ,SSDT-XCPM.aml looks fine, why?

No ioreg in these files. Please check your files before upload.
 

Attachments

  • debug_plugintype_true.zip
    2.1 MB · Views: 70
  • debug_ssdt-xcpm.zip
    2.1 MB · Views: 66
Simply brilliant Mister RehabMan...

10°C difference in the CPU package...

Cannot say often enough: Thanks!

How did you know?

Certain configurations of AppleALC are buggy (problem is in the XML associated with the coded/layoutid).
I think because there is so much data that is duplicated in these resources, it is difficult to correct them all (especially some of the Platforms.xml data).
 
I think because there is so much data that is duplicated in these resources, it is difficult to correct them all (especially some of the Platforms.xml data).
Excellent educated guess though. Turned out layout-id 28 works without overheating the CPU...

But shutdown and sleep fail again. It stopped working after I rolled back to the guide config.plist. Need to look again into it. And fix the USB ports, that might be the cause.
 
Damn, I patched DSDT to my best knowledge and most of the things work pretty good. However when I plug or unplug in the AC adapter the system freezes. Also sleep will not work and shutdown neither.
Code:
pmset -g assertions
2018-10-22 21:53:04 +0200
Assertion status system-wide:
   BackgroundTask                 1
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
   InternalPreventSleep           1
Listed by owning process:
   pid 199(mds_stores): [0x0000000c000b8003] 00:00:52 BackgroundTask named: "com.apple.metadata.mds_stores.power"
   pid 54(powerd): [0x00000023000d809d] 00:00:29 InternalPreventSleep named: "Assertion to change proximity monitoring state"
    Assertion applied on Battery power also
    Timeout will fire in 0 secs Action=TimeoutActionRelease
   pid 64(mds): [0x0000000c000b8002] 00:00:52 BackgroundTask named: "com.apple.metadata.mds.power"
   pid 95(hidd): [0x000000170009803e] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968098.3"
    Timeout will fire in 600 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14100000 owner=Keyboard Hub
   id=502  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14130000 owner=Microsoft USB Optical Mouse
Idle sleep preventers: IODisplayWrangler
 

Attachments

  • debug_31796.zip
    5.2 MB · Views: 77
Damn, I patched DSDT to my best knowledge and most of the things work pretty good. However when I plug or unplug in the AC adapter the system freezes. Also sleep will not work and shutdown neither.
Code:
pmset -g assertions
2018-10-22 21:53:04 +0200
Assertion status system-wide:
   BackgroundTask                 1
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
   InternalPreventSleep           1
Listed by owning process:
   pid 199(mds_stores): [0x0000000c000b8003] 00:00:52 BackgroundTask named: "com.apple.metadata.mds_stores.power"
   pid 54(powerd): [0x00000023000d809d] 00:00:29 InternalPreventSleep named: "Assertion to change proximity monitoring state"
    Assertion applied on Battery power also
    Timeout will fire in 0 secs Action=TimeoutActionRelease
   pid 64(mds): [0x0000000c000b8002] 00:00:52 BackgroundTask named: "com.apple.metadata.mds.power"
   pid 95(hidd): [0x000000170009803e] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968098.3"
    Timeout will fire in 600 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14100000 owner=Keyboard Hub
   id=502  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14130000 owner=Microsoft USB Optical Mouse
Idle sleep preventers: IODisplayWrangler

Off-topic.
Open a separate thread.
 
Back
Top