Contribute
Register

[HELP] Surface Pro 2 Instant Wake Issue

Status
Not open for further replies.
Joined
Aug 4, 2012
Messages
17
Motherboard
Lenovo Y410p
CPU
i7-4700MQ / HM86
Graphics
GT 750M & HD 4600, 1600x900
Hi All,

I've managed to install El Capitan on my Surface Pro 2 and most things are working well. However, it wakes up a few seconds after sleeping. Here's the log:

Code:
2/22/16 5:04:43.302 AM CommCenter[292]: Telling CSI to go low power.
2/22/16 5:04:43.303 AM AirPlayUIAgent[411]: 2016-02-22 05:04:43.302566 AM [AirPlayUIAgent] BecomingInactive: NSWorkspaceWillSleepNotification
2/22/16 5:04:43.451 AM WindowServer[162]: device_generate_desktop_screenshot: authw 0x7fa4bb9cc000(2000), shield 0x7fa4bb043800(2001)
2/22/16 5:04:43.451 AM WindowServer[162]: device_generate_lock_screen_screenshot: authw 0x7fa4bb9cc000(2000)[0, 0, 0, 0] shield 0x7fa4bb043800(2001), dev [1920,1080]
2/22/16 5:04:43.454 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a41f000>: notification observer: com.apple.iChat   notification: __CFNotification 0x7fb45a668120 {name = _NSDoNotDisturbEnabledNotification}
2/22/16 5:04:43.454 AM imagent[341]: <IMMacNotificationCenterManager: 0x7f9c1bf0acf0>: notification observer: com.apple.FaceTime   notification: __CFNotification 0x7f9c1bf26240 {name = _NSDoNotDisturbEnabledNotification}
2/22/16 5:04:43.476 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a41f000>:    NC Disabled: NO
2/22/16 5:04:43.476 AM imagent[341]: <IMMacNotificationCenterManager: 0x7f9c1bf0acf0>:    NC Disabled: NO
2/22/16 5:04:43.490 AM imagent[341]: <IMMacNotificationCenterManager: 0x7f9c1bf0acf0>:   DND Enabled: YES
2/22/16 5:04:43.490 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a41f000>:   DND Enabled: YES
2/22/16 5:04:43.490 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a41f000>: Updating enabled: NO   (Topics: (
))
2/22/16 5:04:43.490 AM imagent[341]: <IMMacNotificationCenterManager: 0x7f9c1bf0acf0>: Updating enabled: NO   (Topics: (
))
2/22/16 5:04:43.490 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a65ad10>: notification observer: com.apple.iChat   notification: __CFNotification 0x7fb45a472a50 {name = _NSDoNotDisturbEnabledNotification}
2/22/16 5:04:43.498 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a65ad10>:    NC Disabled: NO
2/22/16 5:04:43.502 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a65ad10>:   DND Enabled: YES
2/22/16 5:04:43.502 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a65ad10>: Updating enabled: NO   (Topics: (
))
2/22/16 5:04:43.662 AM WindowServer[162]: no sleep images for WillPowerOffWithImages
2/22/16 5:04:43.789 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.user.501) Service "com.apple.xpc.launchd.unmanaged.loginwindow.90" tried to hijack endpoint "com.apple.tsm.uiserver" from owner: com.apple.SystemUIServer.agent
2/22/16 5:04:43.790 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.user.501) Service "com.apple.xpc.launchd.unmanaged.loginwindow.90" tried to hijack endpoint "com.apple.tsm.uiserver" from owner: com.apple.SystemUIServer.agent
2/22/16 5:04:57.522 AM secd[307]:  __SOSCCProcessSyncWithAllPeers_Server_block_invoke sync with all peers failed: Error Domain=com.apple.security.sos.error Code=1032 "peer: +B+C+wkzlVrrN5GXj+YoGhjcX4 not found" UserInfo={NSDescription=peer: +B+C+wkzlVrrN5GXj+YoGhjcX4 not found}
2/22/16 5:04:57.522 AM CloudKeychainProxy[354]:  __39-[UbiqitousKVSProxy doSyncWithAllPeers]_block_invoke_2 <UB--s--C---> syncWithAllPeers (null), rescheduling timer
2/22/16 5:04:59.376 AM networkd[167]: -[NETClientConnection effectiveBundleID] using process name apsd as bundle ID (this is expected for daemons without bundle ID
2/22/16 5:04:59.378 AM networkd[167]: -[NETClientConnection effectiveBundleID] using process name apsd as bundle ID (this is expected for daemons without bundle ID
2/22/16 5:05:00.000 AM kernel[0]: PM response took 2074 ms (51, powerd)
2/22/16 5:05:00.000 AM kernel[0]: kern_open_file_for_direct_io(0)
2/22/16 5:05:00.000 AM kernel[0]: kern_open_file_for_direct_io took 0 ms
2/22/16 5:05:00.000 AM kernel[0]: Opened file /var/log/SleepWakeStacks.bin, size 172032, extents 1, maxio 2000000 ssd 1
2/22/16 5:05:00.000 AM kernel[0]: polled file major 1, minor 0, blocksize 4096, pollers 5
2/22/16 5:05:02.430 AM networkd[167]: -[NETClientConnection effectiveBundleID] using process name apsd as bundle ID (this is expected for daemons without bundle ID
2/22/16 5:05:02.433 AM networkd[167]: -[NETClientConnection effectiveBundleID] using process name apsd as bundle ID (this is expected for daemons without bundle ID
2/22/16 5:05:07.000 AM kernel[0]: 004699.742218 SSP1@14700000: AppleUSBHostPort::setPowerStateGated: kPowerStateOn -> kPowerStateSleep
2/22/16 5:05:07.000 AM kernel[0]: 004699.742229 SSP1@14700000: AppleUSBXHCIPort::suspend: 
2/22/16 5:05:07.000 AM kernel[0]: FakePCIID: configRead32(0x00), result 0x0a168086 -> 0x04128086
2/22/16 5:05:07.000 AM kernel[0]: FakePCIID: configRead32(0x2c), result 0x0a161414 -> 0x0a16106b
2/22/16 5:05:07.000 AM kernel[0]: FakePCIID: configRead32(0x00), result 0x0a168086 -> 0x04128086
2/22/16 5:05:05.000 AM kernel[0]: FakePCIID: configRead32(0x00), result 0x0a168086 -> 0x04128086
2/22/16 5:05:07.000 AM kernel[0]: Wake reason: PEG0 PEGP PEG1 PEG2 XHC
2/22/16 5:05:07.000 AM kernel[0]: Previous sleep cause: 5
2/22/16 5:05:07.006 AM CommCenter[292]: Telling CSI to exit low power.
I have followed all steps of RehabMan's tutorial on how to patch DSDT and specifically the 'instant wake' part but the problem remains. I have a USB Wireless Adapter but instant wake happens even when all USB devices are unplugged.

I have attached my patchmatic extract, IOReg, CLOVER folder, kextstat log and kextcache log.

Please help me on this.

Thanks.

Regards,
 

Attachments

  • Troubleshooting_Files.zip
    4.4 MB · Views: 209

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,014
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi All,

I've managed to install El Capitan on my Surface Pro 2 and most things are working well. However, it wakes up a few seconds after sleeping. Here's the log:

Code:
2/22/16 5:04:43.302 AM CommCenter[292]: Telling CSI to go low power.
2/22/16 5:04:43.303 AM AirPlayUIAgent[411]: 2016-02-22 05:04:43.302566 AM [AirPlayUIAgent] BecomingInactive: NSWorkspaceWillSleepNotification
2/22/16 5:04:43.451 AM WindowServer[162]: device_generate_desktop_screenshot: authw 0x7fa4bb9cc000(2000), shield 0x7fa4bb043800(2001)
2/22/16 5:04:43.451 AM WindowServer[162]: device_generate_lock_screen_screenshot: authw 0x7fa4bb9cc000(2000)[0, 0, 0, 0] shield 0x7fa4bb043800(2001), dev [1920,1080]
2/22/16 5:04:43.454 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a41f000>: notification observer: com.apple.iChat   notification: __CFNotification 0x7fb45a668120 {name = _NSDoNotDisturbEnabledNotification}
2/22/16 5:04:43.454 AM imagent[341]: <IMMacNotificationCenterManager: 0x7f9c1bf0acf0>: notification observer: com.apple.FaceTime   notification: __CFNotification 0x7f9c1bf26240 {name = _NSDoNotDisturbEnabledNotification}
2/22/16 5:04:43.476 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a41f000>:    NC Disabled: NO
2/22/16 5:04:43.476 AM imagent[341]: <IMMacNotificationCenterManager: 0x7f9c1bf0acf0>:    NC Disabled: NO
2/22/16 5:04:43.490 AM imagent[341]: <IMMacNotificationCenterManager: 0x7f9c1bf0acf0>:   DND Enabled: YES
2/22/16 5:04:43.490 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a41f000>:   DND Enabled: YES
2/22/16 5:04:43.490 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a41f000>: Updating enabled: NO   (Topics: (
))
2/22/16 5:04:43.490 AM imagent[341]: <IMMacNotificationCenterManager: 0x7f9c1bf0acf0>: Updating enabled: NO   (Topics: (
))
2/22/16 5:04:43.490 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a65ad10>: notification observer: com.apple.iChat   notification: __CFNotification 0x7fb45a472a50 {name = _NSDoNotDisturbEnabledNotification}
2/22/16 5:04:43.498 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a65ad10>:    NC Disabled: NO
2/22/16 5:04:43.502 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a65ad10>:   DND Enabled: YES
2/22/16 5:04:43.502 AM identityservicesd[301]: <IMMacNotificationCenterManager: 0x7fb45a65ad10>: Updating enabled: NO   (Topics: (
))
2/22/16 5:04:43.662 AM WindowServer[162]: no sleep images for WillPowerOffWithImages
2/22/16 5:04:43.789 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.user.501) Service "com.apple.xpc.launchd.unmanaged.loginwindow.90" tried to hijack endpoint "com.apple.tsm.uiserver" from owner: com.apple.SystemUIServer.agent
2/22/16 5:04:43.790 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.user.501) Service "com.apple.xpc.launchd.unmanaged.loginwindow.90" tried to hijack endpoint "com.apple.tsm.uiserver" from owner: com.apple.SystemUIServer.agent
2/22/16 5:04:57.522 AM secd[307]:  __SOSCCProcessSyncWithAllPeers_Server_block_invoke sync with all peers failed: Error Domain=com.apple.security.sos.error Code=1032 "peer: +B+C+wkzlVrrN5GXj+YoGhjcX4 not found" UserInfo={NSDescription=peer: +B+C+wkzlVrrN5GXj+YoGhjcX4 not found}
2/22/16 5:04:57.522 AM CloudKeychainProxy[354]:  __39-[UbiqitousKVSProxy doSyncWithAllPeers]_block_invoke_2 <UB--s--C---> syncWithAllPeers (null), rescheduling timer
2/22/16 5:04:59.376 AM networkd[167]: -[NETClientConnection effectiveBundleID] using process name apsd as bundle ID (this is expected for daemons without bundle ID
2/22/16 5:04:59.378 AM networkd[167]: -[NETClientConnection effectiveBundleID] using process name apsd as bundle ID (this is expected for daemons without bundle ID
2/22/16 5:05:00.000 AM kernel[0]: PM response took 2074 ms (51, powerd)
2/22/16 5:05:00.000 AM kernel[0]: kern_open_file_for_direct_io(0)
2/22/16 5:05:00.000 AM kernel[0]: kern_open_file_for_direct_io took 0 ms
2/22/16 5:05:00.000 AM kernel[0]: Opened file /var/log/SleepWakeStacks.bin, size 172032, extents 1, maxio 2000000 ssd 1
2/22/16 5:05:00.000 AM kernel[0]: polled file major 1, minor 0, blocksize 4096, pollers 5
2/22/16 5:05:02.430 AM networkd[167]: -[NETClientConnection effectiveBundleID] using process name apsd as bundle ID (this is expected for daemons without bundle ID
2/22/16 5:05:02.433 AM networkd[167]: -[NETClientConnection effectiveBundleID] using process name apsd as bundle ID (this is expected for daemons without bundle ID
2/22/16 5:05:07.000 AM kernel[0]: 004699.742218 SSP1@14700000: AppleUSBHostPort::setPowerStateGated: kPowerStateOn -> kPowerStateSleep
2/22/16 5:05:07.000 AM kernel[0]: 004699.742229 SSP1@14700000: AppleUSBXHCIPort::suspend: 
2/22/16 5:05:07.000 AM kernel[0]: FakePCIID: configRead32(0x00), result 0x0a168086 -> 0x04128086
2/22/16 5:05:07.000 AM kernel[0]: FakePCIID: configRead32(0x2c), result 0x0a161414 -> 0x0a16106b
2/22/16 5:05:07.000 AM kernel[0]: FakePCIID: configRead32(0x00), result 0x0a168086 -> 0x04128086
2/22/16 5:05:05.000 AM kernel[0]: FakePCIID: configRead32(0x00), result 0x0a168086 -> 0x04128086
2/22/16 5:05:07.000 AM kernel[0]: Wake reason: PEG0 PEGP PEG1 PEG2 XHC
2/22/16 5:05:07.000 AM kernel[0]: Previous sleep cause: 5
2/22/16 5:05:07.006 AM CommCenter[292]: Telling CSI to exit low power.
I have followed all steps of RehabMan's tutorial on how to patch DSDT and specifically the 'instant wake' part but the problem remains. I have a USB Wireless Adapter but instant wake happens even when all USB devices are unplugged.

I have attached my patchmatic extract, IOReg, CLOVER folder, kextstat log and kextcache log.

Please help me on this.

Thanks.

Regards,

Your config.plist is wrong.

See guide for correct config.plist: http://www.tonymacx86.com/el-capita...de-booting-os-x-installer-laptops-clover.html

Also, Clover/kexts/Other is a mess. There should be no system kexts there.
 
Joined
Aug 4, 2012
Messages
17
Motherboard
Lenovo Y410p
CPU
i7-4700MQ / HM86
Graphics
GT 750M & HD 4600, 1600x900
Your config.plist is wrong.

See guide for correct config.plist: http://www.tonymacx86.com/el-capita...de-booting-os-x-installer-laptops-clover.html

Also, Clover/kexts/Other is a mess. There should be no system kexts there.

Thanks for your reply.

Could you be more specific about what is 'wrong' with my config.plist?

I think the main contradictions between my config.plist and yours exist in the 'KernelAndKextPatches' part. I modified kernel patches accordingly and enabled only 'Trim on SSD', '9MB Cursor Byte', 'boot graphics glitch 10.11.x' in 'KextsToPatch'.

Also, I have removed most kexts from the 'kexts/Other' folder, leaving only ACPIBatteryManager, FakeSMC and sensor plugins, GenericUSBXHCI, IntelBacklight and NullEtherenet. I then installed AvastarFwLoader, CodecCommander and the three FakePCIID kexts to S/L/E using Kext Utility.

As a result, the instant wake is still happening. Plus battery percentage is gone. Do I also need to install the AppleIntelCPUPowerManagement.kext to S/L/E or am I missing something else?

By the way, I'd like to know what I need to do to enable HDMI-Audio. I have a patched AppleHDA using 'AppleHDA Patcher'. I also modified my DSDT to use layout 3 according to the instructions. But when it comes to kext patches in your config.plist, I'm not seeing any patch for 0x0a26006 with layout 3. Can you give me some suggestions about this?

Thank you very much for your help.

Regards,

Edit:
Tried installing ACPIBatteryManager.kext to S/L/E using Kext Utility and the battery percentage is back. However, the backlight would flicker a little bit once every few seconds and during the flickering the battery percentage disappears and shows an "X" on the icon. I looked into the console log but found nothing strange. Could you please give me some advice about how to solve this problem?

Thank you very much.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,014
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Could you be more specific about what is 'wrong' with my config.plist?

Your config.plist was probably from the Clover installer. I'm not going to look at it a second time.

Valid plist files are linked by the guide.

As a result, the instant wake is still happening. Plus battery percentage is gone.

http://www.tonymacx86.com/el-capitan-laptop-support/152573-guide-patching-laptop-dsdt-ssdts.html

Do I also need to install the AppleIntelCPUPowerManagement.kext to S/L/E or am I missing something else?

AppleIntelCPUPowerManagement is not used with your hardware. Furthermore, it is already provided by the OS X installer.

By the way, I'd like to know what I need to do to enable HDMI-Audio.

HDMI audio is covered in the FAQ.

I have a patched AppleHDA using 'AppleHDA Patcher'. I also modified my DSDT to use layout 3 according to the instructions. But when it comes to kext patches in your config.plist, I'm not seeing any patch for 0x0a26006 with layout 3.

Framebuffer patches are based on the connector (0105, 0204, etc).

However, the backlight would flicker a little bit once every few seconds

After making suggested changes (eg. config.plist, reading various guides and making corrections), if you need help, repost all previously requested files.
 
Joined
Aug 4, 2012
Messages
17
Motherboard
Lenovo Y410p
CPU
i7-4700MQ / HM86
Graphics
GT 750M & HD 4600, 1600x900
Your config.plist was probably from the Clover installer. I'm not going to look at it a second time.

Valid plist files are linked by the guide.



http://www.tonymacx86.com/el-capitan-laptop-support/152573-guide-patching-laptop-dsdt-ssdts.html

Thanks for your reply.

I have modified my config.plist so that it look significantly similar to yours, so please take a look at it and see if anything is inappropriate. Please understand that the config.plist file you provided is a functional example and should be tailored to meet actual needs.

ACPIBatteryManager.kext is now in S/L/E as I edited in my previous post. For other changes of files please look at the archive I attached to this post.

FYI, I have already applied the following patches to my DSDT since my original post:
(Original DSDT&SSDT extracted from Clover with F4 at boot screen)
1. 7-series/8-series USB
2. USB3 _PRW 0x6D (instant wake)
3. [sys] Fix _WAK Arg0 v2
4. [sys] IRQ Fix5. [sys] SMBUS Fix
6. [sys] RTC Fix
7. [sys] HPET Fix
8. [sys] OS Check Fix (Windows Vista)
9. [sys] OS Check Fix (Windows 7)
10. [sys] OS Check Fix (Windows 8)
11. [sys] Add IMEI
12. [audio] Audio Layout 3
13. [bat] Surface Pro v1 (Errors occured after patching. I eliminated the errors with the following two lines of patch:
Code:
into_all method parent_label BAT0 code_regex \(\^\^LPCB.EC0.B1CC, replace_matched begin (B1B2(^^LPCB.EC0.CC10,^^LPCB.EC0.CC11), end;
into_all method parent_label BAT0 code_regex \(\^\^LPCB.EC0.B1RC, replace_matched begin (B1B2(^^LPCB.EC0.RC10,^^LPCB.EC0.RC11), end;
This kills the error but I'm not sure if it really solves the battery problem (seems not).

Problem:
1. Instant wake (Wake reason: PEG0 PEGP PEG1 PEG2 XHC).
2. Battery indicator works upon boot. Stops working after waking up from sleep (has a 'X' on it and no percentage).
3. Backlight flickers every 10~20 seconds when AC is not connected (problem disappears when 'Slightly dim the display while on battery power' is unchecked in 'Energy Saver'). During the second when the backlight is stronger, battery indicator stops working (no percentage, has 'X').

Thanks.

Regards,
 

Attachments

  • troubleshoot.tar.gz
    1.9 MB · Views: 151
Joined
Sep 4, 2015
Messages
10
Motherboard
Lenovo Flex 2-15
CPU
i3-4030U
Graphics
Intel HD4400
Mac
  1. MacBook Pro
Classic Mac
  1. Power Mac
Mobile Phone
  1. Android
You should read the guides more carefully :/

especially in which order u have to apply the DSDT/SSSDT patches and what theyre used for...

also ur missing native powermanagement and "gfx0 to igpu" patches to complete powermanagement for ur HD4400...

Native Powermanagement:
http://www.tonymacx86.com/yosemite-laptop-support/146870-guide-native-power-management-laptops.html


also READ what clover options are doing and which ones u need...

about ur battery problem u should follow the guide for "patching dsdt for working battery status" exactly and create a new patch for surface 2 or modify a similar to match ur config...

if ur using "applehda patcher" use the clover method,
place adummyhda.kext into /S/L/E,
restore vanilla applehda.kext before...

copy created patches from generated one to ur config.plist,
they were missing the kextname and i suspect they were not complete in ur attached one...

attached new correct config.plist and complete patched set of dsdt/ssdt...
so it should work so far...
look into the files and watch what have been changed to understand the whole process...

also remove GenericUSBXHCI.kext,
and use FakePCIID_XHCIMux.kext instead... !!!

just try and like said READ, READ, READ... :)
 

Attachments

  • Archiv_new.zip
    81.2 KB · Views: 193

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,014
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Thanks for your reply.

Your ioreg shows power management not implemented. No chance of sleep working correctly without native CPU PM.

DropOem=false with patched SSDTs in ACPI/patched is not valid. It is clear in the ACPI patching guide.
 
Joined
Aug 4, 2012
Messages
17
Motherboard
Lenovo Y410p
CPU
i7-4700MQ / HM86
Graphics
GT 750M & HD 4600, 1600x900
You should read the guides more carefully :/

especially in which order u have to apply the DSDT/SSSDT patches and what theyre used for...

also ur missing native powermanagement and "gfx0 to igpu" patches to complete powermanagement for ur HD4400...

Native Powermanagement:
http://www.tonymacx86.com/yosemite-laptop-support/146870-guide-native-power-management-laptops.html


also READ what clover options are doing and which ones u need...

about ur battery problem u should follow the guide for "patching dsdt for working battery status" exactly and create a new patch for surface 2 or modify a similar to match ur config...

if ur using "applehda patcher" use the clover method,
place adummyhda.kext into /S/L/E,
restore vanilla applehda.kext before...

copy created patches from generated one to ur config.plist,
they were missing the kextname and i suspect they were not complete in ur attached one...

attached new correct config.plist and complete patched set of dsdt/ssdt...
so it should work so far...
look into the files and watch what have been changed to understand the whole process...

also remove GenericUSBXHCI.kext,
and use FakePCIID_XHCIMux.kext instead... !!!

just try and like said READ, READ, READ... :)

Thanks a lot! I wasn't aware of _DSM removal and the "GFX0 to IGPU" patch, even the ordering of names in DSDT is new to me.

I have tested the DSDT&SSDT files that you corrected for me and the tablet was indeed able to sleep. According to IOReg, it seems that X86PlatformPlugin was not loaded, which means native power management may not be necessary for the tablet to properly sleep. What I'm interested in now is if it is possible for me combine your DSDT with the one generated by ssdtPRGen so that both sleeping and native power management works.

If it is possible, should I be loading all the modified DSDT&SSDT files before running ssdtPRGen.sh?

About the battery problem, I'm reading the guide and hopefully will be able to fix the remaining codes that are causing the inconsistency.

For AppleHDA, I noticed the incorrect kext patches after my previous post and have successfully applied the corrects ones with aDummyHDA.kext in S/L/E.

Thank you very much for the help.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,014
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
What I'm interested in now is if it is possible for me combine your DSDT with the one generated by ssdtPRGen so that both sleeping and native power management works.

No need to combine any files. SSDT.aml from ssdtPRgen.sh is simply added to ACPI/patched. The bootloader will inject it along with other files in ACPI/patched so OS X can load them into ACPI.

If it is possible, should I be loading all the modified DSDT&SSDT files before running ssdtPRGen.sh?

It does not matter to ssdtPRgen.sh whether you have patched ACPI or not.
 
Joined
Sep 4, 2015
Messages
10
Motherboard
Lenovo Flex 2-15
CPU
i3-4030U
Graphics
Intel HD4400
Mac
  1. MacBook Pro
Classic Mac
  1. Power Mac
Mobile Phone
  1. Android
Thanks a lot!

np, glad i could help... :D

What I'm interested in now is if it is possible for me combine your DSDT with the one generated by ssdtPRGen so that both sleeping and native power management works.

If it is possible, should I be loading all the modified DSDT&SSDT files before running ssdtPRGen.sh?

yes, just include the ones i made as before and place the gerenated SSDT.aml (located in ~/Library/ssdtPRGen/SSDT.aml) by ssdtPRGen.sh into ACPI/patched...


check for X86PlatformPlugin in ioreg after boot, if its there all should be fine :)

About the battery problem, I'm reading the guide and hopefully will be able to fix the remaining codes that are causing the inconsistency.

i think ull manage it after trial and error :D

For AppleHDA, I noticed the incorrect kext patches after my previous post and have successfully applied the corrects ones with aDummyHDA.kext in S/L/E.

perfect :) btw, hdmi audio and hotplug should work too (u missed the "B0D3 to HDAU" patch), tell me if not :D

as i have seen, u only need these two sensor plugins,
FakeSMC_ACPISensors.kext and FakeSMC_CPUSensors.kext, remove the other ones...
dont forget to remove GenericUSBXHCI.kext and install FakePCIID_XHCIMux.kext...
u can install IntelBacklight.kext also into /S/L/E...

EDIT:

install attached kext into /S/L/E, it will allow ur GPU to use lowest idle frequency of 200 MHz and unleash the max frequency of 1,1 GHz, u can see it with "Intel Power Gadget" when pushing ur GPU to its limits with "GPU Test" app, for example :)
 

Attachments

  • aDummyAGPM.kext.zip
    9.5 KB · Views: 145
Status
Not open for further replies.
Top