Contribute
Register

Lenovo T440P - El Capitan: Sleep/Wake Problems

Status
Not open for further replies.
Joined
Feb 20, 2012
Messages
4
Motherboard
Lenovo T440P
CPU
Intel Core i5 - 4300M
Graphics
Intel 4600
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. iOS
Greetings fellow Mackintosh fans ...

I'm trying to resolve Sleep/Wake issues on my Lenovo T440P with El Capitan. My particular T440P has
an Intel i5 CPU-4300M with Intel integrated HD4600 graphics.

I followed the various guides to setup a UEFI / Clover configuration. I have quite a bit of functionality
after following additional guides for post installation work with DSDT edits and patches for Audio, Ethernet
Power Management and Graphics. So far, I appear to have the following working well:


Audio (with VoodooHDA)
Graphics (QE/CI and DisplayPort works fine with an external monitor)
iMessage works
Power Management (Intel PowerGadget shows CPU speed adjustments as load increases with GeekBench)
Battery Indicator works
Display Brightness Adjustments work
Keyboard Backlighting works
Internal WebCam works
USB ports appear to work (all four ports work with various USB2 devices, but I have not tested a USB3 device)


The primary issue I have is Sleep / Wake does not appear to work. When I put the laptop to sleep, the
system appears to go to sleep, but I am unable to wake the system from sleep mode. Sleep / Wake behaved
the same way with my Mavericks installation, but I never took the time to investigate the problem. However,
I would like to debug / fix this issue with El Capitan.


When I put the system to sleep, the display turns off, and the disk drive / fans stop spinning after 20-30 seconds.
I do notice that the power button LED does not blink. I only mention this because other T440P owners seem to
have had issues with the LED not turning off when they "wake" their systems. I'm not sure if a blinking LED is a
sign of successful sleep mode, but it is something I have noticed.


My USB ports didn't work initially, so I attempted to fix them with RehabMan's USBInjectAll and FakePCIID_XHCIMux
kexts. With these two kexts installed, I have also used the sample SSDT to create my own SSDT-UIAC.aml file to
only inject specific USB ports for my system. This appears to be working as expected, but I could use some validation
with a review of the attached IOReg output from my system. Prior to doing this work, my internal Webcam never
appeared, and neither did the BlueTooth device (I know my BlueTooth won't work reliably as it is an Intel device).
All four ports work with various devices (USB camera, iPhone, USB mouse), but I have not verified if a USB3 device
works as I actually don't have any USB3 devices to test (I know ... which rock did I crawl out from under ... :) )


One other modification I made was to the AppleACPIEC.kext plugin kext. This driver was always attaching to my
boot-ec device instead of the EC device. Per another post I saw in one of the other forums, I made an edit to the
info.plist in the AppleACPIEC.kext to match on "ec" instead of "boot-ec". This didn't appear to make any difference
with Sleep / Wake, but it did show the driver attaching to the EC device in IOReg.

Any suggestions for how to proceed would be appreciated. I may start over from scratch, but I have done that a
couple of times now, and am looking for the community for possible pointers.

I've attached a zip file of the output from patchmatic, my EFI/CLOVER files (minus themes and other bits), an IOReg
output file and some command output is listed below for some of the kextstat output.


Dales-MacBook-Pro:~ dsomer$ kextstat|grep -y acpiplat
13 2 0xffffff7f82328000 0x66000 0x66000 com.apple.driver.AppleACPIPlatform (4.0) A29C7512-D3A8-3AED-9721-3A5FF1A32EB2 <12 11 7 6 5 4 3 1>
Dales-MacBook-Pro:~ dsomer$ kextstat |grep -y appleintelcpu
Dales-MacBook-Pro:~ dsomer$ kextstat |grep -y applelpc
97 0 0xffffff7f81f84000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) 32BDCF9F-0473-32D4-9DAE-F523EFB2D244 <84 12 5 4 3>
Dales-MacBook-Pro:~ dsomer$ kextstat |grep -y applehda
91 0 0xffffff7f82258000 0x1e000 0x1e000 com.apple.driver.AppleHDAController (274.7) CFF7F97F-6E1F-3CF9-A8E3-76125E9CA414 <90 72 48 12 7 6 5 4 3 1>
Dales-MacBook-Pro:~ dsomer$
Dales-MacBook-Pro:~ dsomer$
Dales-MacBook-Pro:~ dsomer$
Dales-MacBook-Pro:~ dsomer$
Dales-MacBook-Pro:~ dsomer$ sudo touch /System/Library/Extensions && sudo kextcache -u /
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67050 0xFFFFFFFFFFFEFA16 for kext EnergyDriver.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleACPIEC.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleACPIPlatform.kext


Thanks,
dsomer
 

Attachments

  • patchomatic-zip.zip
    29.3 KB · Views: 73
  • CloverDir.zip
    533.6 KB · Views: 80
  • IOReg.zip
    420.2 KB · Views: 93
Greetings fellow Mackintosh fans ...

I'm trying to resolve Sleep/Wake issues on my Lenovo T440P with El Capitan. My particular T440P has
an Intel i5 CPU-4300M with Intel integrated HD4600 graphics.

I followed the various guides to setup a UEFI / Clover configuration. I have quite a bit of functionality
after following additional guides for post installation work with DSDT edits and patches for Audio, Ethernet
Power Management and Graphics. So far, I appear to have the following working well:


Audio (with VoodooHDA)
Graphics (QE/CI and DisplayPort works fine with an external monitor)
iMessage works
Power Management (Intel PowerGadget shows CPU speed adjustments as load increases with GeekBench)
Battery Indicator works
Display Brightness Adjustments work
Keyboard Backlighting works
Internal WebCam works
USB ports appear to work (all four ports work with various USB2 devices, but I have not tested a USB3 device)


The primary issue I have is Sleep / Wake does not appear to work. When I put the laptop to sleep, the
system appears to go to sleep, but I am unable to wake the system from sleep mode. Sleep / Wake behaved
the same way with my Mavericks installation, but I never took the time to investigate the problem. However,
I would like to debug / fix this issue with El Capitan.


When I put the system to sleep, the display turns off, and the disk drive / fans stop spinning after 20-30 seconds.
I do notice that the power button LED does not blink. I only mention this because other T440P owners seem to
have had issues with the LED not turning off when they "wake" their systems. I'm not sure if a blinking LED is a
sign of successful sleep mode, but it is something I have noticed.


My USB ports didn't work initially, so I attempted to fix them with RehabMan's USBInjectAll and FakePCIID_XHCIMux
kexts. With these two kexts installed, I have also used the sample SSDT to create my own SSDT-UIAC.aml file to
only inject specific USB ports for my system. This appears to be working as expected, but I could use some validation
with a review of the attached IOReg output from my system. Prior to doing this work, my internal Webcam never
appeared, and neither did the BlueTooth device (I know my BlueTooth won't work reliably as it is an Intel device).
All four ports work with various devices (USB camera, iPhone, USB mouse), but I have not verified if a USB3 device
works as I actually don't have any USB3 devices to test (I know ... which rock did I crawl out from under ... :) )


One other modification I made was to the AppleACPIEC.kext plugin kext. This driver was always attaching to my
boot-ec device instead of the EC device. Per another post I saw in one of the other forums, I made an edit to the
info.plist in the AppleACPIEC.kext to match on "ec" instead of "boot-ec". This didn't appear to make any difference
with Sleep / Wake, but it did show the driver attaching to the EC device in IOReg.

Any suggestions for how to proceed would be appreciated. I may start over from scratch, but I have done that a
couple of times now, and am looking for the community for possible pointers.

I've attached a zip file of the output from patchmatic, my EFI/CLOVER files (minus themes and other bits), an IOReg
output file and some command output is listed below for some of the kextstat output.


Dales-MacBook-Pro:~ dsomer$ kextstat|grep -y acpiplat
13 2 0xffffff7f82328000 0x66000 0x66000 com.apple.driver.AppleACPIPlatform (4.0) A29C7512-D3A8-3AED-9721-3A5FF1A32EB2 <12 11 7 6 5 4 3 1>
Dales-MacBook-Pro:~ dsomer$ kextstat |grep -y appleintelcpu
Dales-MacBook-Pro:~ dsomer$ kextstat |grep -y applelpc
97 0 0xffffff7f81f84000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) 32BDCF9F-0473-32D4-9DAE-F523EFB2D244 <84 12 5 4 3>
Dales-MacBook-Pro:~ dsomer$ kextstat |grep -y applehda
91 0 0xffffff7f82258000 0x1e000 0x1e000 com.apple.driver.AppleHDAController (274.7) CFF7F97F-6E1F-3CF9-A8E3-76125E9CA414 <90 72 48 12 7 6 5 4 3 1>
Dales-MacBook-Pro:~ dsomer$
Dales-MacBook-Pro:~ dsomer$
Dales-MacBook-Pro:~ dsomer$
Dales-MacBook-Pro:~ dsomer$
Dales-MacBook-Pro:~ dsomer$ sudo touch /System/Library/Extensions && sudo kextcache -u /
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67050 0xFFFFFFFFFFFEFA16 for kext EnergyDriver.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleACPIEC.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleACPIPlatform.kext


Thanks,
dsomer

AppleACPIPlatform.kext should not be patched. Restore to vanilla... do a fresh install if needed.

Then read the FAQ regarding sleep: http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html
 
Hello.

I have the same laptop and for the past 5 days I've been working on it to get almost right, following RehabMan guidelines.

I had the same problem waking the computer. I turns out that Security chip must be disabled on BIOS. Although mine had LED blinking while sleeping and after waking. Solved with DSDT patching.
 
Thanks RehabMan,

I removed my edit to info.plist in AppleACPIPlatform.kext and rebooted. The driver is
attaching to the EC device properly, so it looks like I was chasing a problem I thought
I had incorrectly. I now have a "vanilla" AppleACPIPlatform.kext.

Unfortunately, this particular change did not change the Sleep/Wake behavior.


I went back to the FAQ to look at the checklist for power management and patching the
DSDTs. I believe I have followed the instructions properly. I extracted SDST.aml and
it is getting inserted (according to this output from DPCIManager):


9:483 0:000 Drop tables from Xsdt, SIGN=SSDT TableID= Length=0
9:483 0:000 Xsdt has tables count=23
9:483 0:000 Table: SSDT TP-SSDT1 51 dropped
9:483 0:000 Table: SSDT TP-SSDT2 1158 dropped
9:483 0:000 Table: SSDT SataAhci 2933 dropped
9:484 0:000 Table: SSDT Cpu0Ist 1903 dropped
9:484 0:000 Table: SSDT CpuPm 2776 dropped
9:484 0:000 Table: SSDT SaSsdt 4700 dropped
9:484 0:000 Table: SSDT CppcTabl 889 dropped
9:484 0:000 Table: SSDT Cpc_Tabl 2756 dropped
9:484 0:000 corrected XSDT length=156
9:484 0:000 Inserting table[0]:SSDT.aml from EFI\CLOVER\ACPI\patched ... Success
9:494 0:010 Inserting table[1]:SSDT-0.aml from EFI\CLOVER\ACPI\patched ... Success
9:503 0:009 Inserting table[2]:SSDT-1.aml from EFI\CLOVER\ACPI\patched ... Success
9:504 0:000 Inserting table[3]:SSDT-2.aml from EFI\CLOVER\ACPI\patched ... Success
9:511 0:006 Inserting table[4]:SSDT-4.aml from EFI\CLOVER\ACPI\patched ... Success
9:511 0:000 Inserting table[5]:SSDT-9.aml from EFI\CLOVER\ACPI\patched ... Success
9:520 0:008 Inserting table[6]:SSDT-10.aml from EFI\CLOVER\ACPI\patched ... Success
9:530 0:010 Inserting table[7]:SSDT-11.aml from EFI\CLOVER\ACPI\patched ... Success
9:530 0:000 Inserting table[8]:SSDT-UIAC.aml from EFI\CLOVER\ACPI\patched ... Success
9:535 0:005 CPUBase=0 and ApicCPUBase=1 ApicCPUNum=8
9:535 0:000 EdidDiscovered size=128


One item on the checklist is:
- Verify that the generated SSDT injects into the same scope as Processor declarations in DSDT (usually _PR)

I'm not sure how to verify this. I would appreciate your assistance in verifying this.

I did install the AppleIntelInfo.kext to validate the power management information. I cannot claim to
understand the output, but it does appear that I have various CPU and GPU P-States being reported.
I also see appropriate changes in CPU speed from the IntelPowerGadget application, so I feel like I
have this part done correctly.



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

Settings:
------------------------------------
logMSRs............................: 1
logIGPU............................: 1
logIntelRegs.......................: 1
logCStates.........................: 1
logIPGStyle........................: 1
InitialTSC.........................: 0x6d4989e2d44
MWAIT C-States.....................: 270624

Model Specific Regiters
------------------------------------
MSR_CORE_THREAD_COUNT......(0x35) : 0x20004
MSR_PLATFORM_INFO..........(0xCE) : 0x80838F3011A00
MSR_PMG_CST_CONFIG_CONTROL.(0xE2) : 0x1E008405
MSR_PMG_IO_CAPTURE_BASE....(0xE4) : 0x21814
IA32_MPERF.................(0xE7) : 0x182F053F775
IA32_APERF.................(0xE8) : 0x84AE927205
MSR_FLEX_RATIO.............(0x194) : 0x0
MSR_IA32_PERF_STATUS.......(0x198) : 0x1C2F00001A00
MSR_IA32_PERF_CONTROL......(0x199) : 0x1A00
IA32_CLOCK_MODULATION......(0x19A) : 0x0
IA32_THERM_STATUS..........(0x19C) : 0x88280000
IA32_MISC_ENABLES..........(0x1A0) : 0x850089
MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400001
MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x20202021
IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x5
MSR_POWER_CTL..............(0x1FC) : 0x4005F
MSR_RAPL_POWER_UNIT........(0x606) : 0xA0E03
MSR_PKG_POWER_LIMIT........(0x610) : 0x42817200DC8128
MSR_PKG_ENERGY_STATUS......(0x611) : 0x283290FD
MSR_PKG_POWER_INFO.........(0x614) : 0x128
MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x10141400000380
MSR_PP0_POWER_LIMIT........(0x638) : 0x0
MSR_PP0_ENERGY_STATUS......(0x639) : 0x8EB68BA
MSR_PP0_POLICY.............(0x63a) : 0x0
MSR_PP1_POWER_LIMIT........(0x640) : 0x0
MSR_PP1_ENERGY_STATUS......(0x641) : 0x426B1A
MSR_PP1_POLICY.............(0x642) : 0x18
MSR_CONFIG_TDP_NOMINAL.....(0x648) : 0x1A
MSR_CONFIG_TDP_LEVEL1......(0x649) : 0x0
MSR_CONFIG_TDP_LEVEL2......(0x64a) : 0x0
MSR_CONFIG_TDP_CONTROL.....(0x64b) : 0x80000000
MSR_TURBO_ACTIVATION_RATIO.(0x64c) : 0x0
MSR_PKGC3_IRTL.............(0x60a) : 0x8842
MSR_PKGC6_IRTL.............(0x60b) : 0x8873
MSR_PKGC7_IRTL.............(0x60c) : 0x8891
MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x45BE6DD5E04
MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0
MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0
IA32_TSC_DEADLINE..........(0x6E0) : 0x6D49AEDA7C5
PCH device.................: 0x8C4F8086

Intel Register Data
------------------------------------
CPU_VGACNTRL...............: 0x0
IS_HASWELL(devid) || IS_BROADWELL(devid)
HSW_PWR_WELL_CTL1..........: 0x00000000
HSW_PWR_WELL_CTL2..........: 0x00000000
HSW_PWR_WELL_CTL3..........: 0x00000000
HSW_PWR_WELL_CTL4..........: 0x00000000
HSW_PWR_WELL_CTL5..........: 0xb43054b0
HSW_PWR_WELL_CTL6..........: 0x00007fda
PIPE_DDI_FUNC_CTL_A........: 0xbb7189ed (enabled, DDID, DP MST, bpc reserved, -VSync, +HSync, EDP A ON, reserved width)
PIPE_DDI_FUNC_CTL_B........: 0x00000000 (disabled, no port, HDMI, 8 bpc, -VSync, -HSync, EDP A ON, x1)
PIPE_DDI_FUNC_CTL_C........: 0x00000000 (disabled, no port, HDMI, 8 bpc, -VSync, -HSync, EDP A ON, x1)
PIPE_DDI_FUNC_CTL_EDP......: 0x00000000 (disabled, no port, HDMI, 8 bpc, -VSync, -HSync, EDP A ON, x1)
DP_TP_CTL_A................: 0x00000000
DP_TP_CTL_B................: 0x00000000
DP_TP_CTL_C................: 0x00000011
DP_TP_CTL_D................: 0xfffffffd
DP_TP_CTL_E................: 0x00000002
DP_TP_STATUS_A.............: 0x00000000
DP_TP_STATUS_B.............: 0x00000000
DP_TP_STATUS_C.............: 0x00000000
DP_TP_STATUS_D.............: 0x00000000
DP_TP_STATUS_E.............: 0x00000000
DDI_BUF_CTL_A..............: 0x0c91c6a0 (disabled reversed x1 not detected)
DDI_BUF_CTL_B..............: 0x861fd0c3 (enabled reversed x2 detected)
DDI_BUF_CTL_C..............: 0x00000000 (disabled not reversed x1 not detected)
DDI_BUF_CTL_D..............: 0xfffffff4 (enabled reversed reserved not detected)
DDI_BUF_CTL_E..............: 0x0c91c820 (disabled reversed x1 not detected)
SPLL_CTL...................: 0x40810000
LCPLL_CTL..................: 0x280fc389
WRPLL_CTL1.................: 0x04081020
WRPLL_CTL2.................: 0x20408102
PORT_CLK_SEL_A.............: 0x00000001 (LCPLL 2700)
PORT_CLK_SEL_B.............: 0x00800500 (LCPLL 2700)
PORT_CLK_SEL_C.............: 0x000066d7 (LCPLL 2700)
PORT_CLK_SEL_D.............: 0x01001300 (LCPLL 2700)
PORT_CLK_SEL_E.............: 0x00000000 (LCPLL 2700)
PIPE_CLK_SEL_A.............: 0x75b18628 (DDIC)
PIPE_CLK_SEL_B.............: 0x00007fff (None)
PIPE_CLK_SEL_C.............: 0x102fbfd9 (None)
SFUSE_STRAP................: 0x00000000 (display enabled, crt no, lane reversal no, port b no, port c no, port d no)
PIPEASRC...................: 0x2f000000 (12033, 1)
DSPACNTR...................: 0x00000029 (disabled)
DSPASTRIDE.................: 0x861fd0c3 (35159875)
DSPASURF...................: 0x00000000
DSPATILEOFF................: 0x00007fff (32767, 0)
PIPEBSRC...................: 0x00000000 (1, 1)
DSPBCNTR...................: 0xb59f6641 (enabled)
DSPBSTRIDE.................: 0xc4d1be0f (51595000)
DSPBSURF...................: 0x4e350403
DSPBTILEOFF................: 0xa2f38508 (34056, 41715)
PIPECSRC...................: 0x00007fff (1, 32768)
DSPCCNTR...................: 0x2c4ae824 (disabled)
DSPCSTRIDE.................: 0xc985c031 (52827904)
DSPCSURF...................: 0x04244c89
DSPCTILEOFF................: 0x00052ce0 (11488, 5)
PIPEACONF..................: 0xfffffff1 (enabled, active, if-id, rotate 270)
HTOTAL_A...................: 0x00000003 (4 active, 1 total)
HBLANK_A...................: 0xbb71872f (34608 start, 47986 end)
HSYNC_A....................: 0x03000241 (578 start, 769 end)
VTOTAL_A...................: 0x3de38e39 (36410 active, 15844 total)
VBLANK_A...................: 0x00010001 (2 start, 2 end)
VSYNC_A....................: 0x89ed0000 (1 start, 35310 end)
VSYNCSHIFT_A...............: 0x00000002
PIPEA_DATA_M1..............: 0x01000141 (TU 1, val 0x141 321)
PIPEA_DATA_N1..............: 0x01000100 (val 0x100 256)
PIPEA_LINK_M1..............: 0x65393663 (val 0x393663 3749475)
PIPEA_LINK_N1..............: 0x34323938 (val 0x323938 3291448)
PIPEBCONF..................: 0x00000000 (disabled, inactive, pf-pd, rotate 0)
HTOTAL_B...................: 0x1cca8000 (32769 active, 7371 total)
HBLANK_B...................: 0x00000001 (2 start, 1 end)
HSYNC_B....................: 0x1d084000 (16385 start, 7433 end)
VTOTAL_B...................: 0x00000001 (2 active, 1 total)
VBLANK_B...................: 0x00000002 (3 start, 1 end)
VSYNC_B....................: 0x00000000 (1 start, 1 end)
VSYNCSHIFT_B...............: 0x00000000
PIPEB_DATA_M1..............: 0x00000000 (TU 1, val 0x0 0)
PIPEB_DATA_N1..............: 0x00000000 (val 0x0 0)
PIPEB_LINK_M1..............: 0x00000000 (val 0x0 0)
PIPEB_LINK_N1..............: 0x00000000 (val 0x0 0)
PIPECCONF..................: 0x34890424 (disabled, inactive, pf-pd, rotate 0)
HTOTAL_C...................: 0x861fce26 (52775 active, 34336 total)
HBLANK_C...................: 0x00007fff (32768 start, 1 end)
HSYNC_C....................: 0x861fced8 (52953 start, 34336 end)
VTOTAL_C...................: 0x00007fff (32768 active, 1 total)
VBLANK_C...................: 0xffffffff (65536 start, 65536 end)
VSYNC_C....................: 0x00000000 (1 start, 1 end)
VSYNCSHIFT_C...............: 0x00000000
PIPEC_DATA_M1..............: 0x00000000 (TU 1, val 0x0 0)
PIPEC_DATA_N1..............: 0x00000000 (val 0x0 0)
PIPEC_LINK_M1..............: 0xfffffffe (val 0xfffffe 16777214)
PIPEC_LINK_N1..............: 0x00000000 (val 0x0 0)
PIPEEDPCONF................: 0x1d064900 (disabled, inactive, pf-pd, rotate 90)
HTOTAL_EDP.................: 0x26c34000 (16385 active, 9924 total)
HBLANK_EDP.................: 0x00000001 (2 start, 1 end)
HSYNC_EDP..................: 0x00000000 (1 start, 1 end)
VTOTAL_EDP.................: 0x00000000 (1 active, 1 total)
VBLANK_EDP.................: 0x00000000 (1 start, 1 end)
VSYNC_EDP..................: 0x00000000 (1 start, 1 end)
VSYNCSHIFT_EDP.............: 0x00000000
PIPEEDP_DATA_M1............: 0x00000000 (TU 1, val 0x0 0)
PIPEEDP_DATA_N1............: 0x00000000 (val 0x0 0)
PIPEEDP_LINK_M1............: 0x00000000 (val 0x0 0)
PIPEEDP_LINK_N1............: 0x00000000 (val 0x0 0)
PFA_CTL_1..................: 0x00000000 (disable, auto_scale yes, auto_scale_cal no, v_filter enable, vadapt disable, mode least, filter_sel programmed,chroma pre-filter disable, vert3tap auto, v_inter_invert field 1)
PFA_WIN_POS................: 0x8ca8dd43 (3240, 3395)
PFA_WIN_SIZE...............: 0x00007fff (0, 4095)
PFB_CTL_1..................: 0x00000000 (disable, auto_scale yes, auto_scale_cal no, v_filter enable, vadapt disable, mode least, filter_sel programmed,chroma pre-filter disable, vert3tap auto, v_inter_invert field 1)
PFB_WIN_POS................: 0x60006021 (0, 33)
PFB_WIN_SIZE...............: 0x08000100 (2048, 256)
PFC_CTL_1..................: 0x00000076 (disable, auto_scale yes, auto_scale_cal no, v_filter enable, vadapt disable, mode least, filter_sel programmed,chroma pre-filter disable, vert3tap auto, v_inter_invert field 1)
PFC_WIN_POS................: 0x40e51400 (229, 1024)
PFC_WIN_SIZE...............: 0x140241ba (5122, 442)
TRANS_HTOTAL_A.............: 0x00000000 (1 active, 1 total)
TRANS_HBLANK_A.............: 0x90000000 (1 start, 36865 end)
TRANS_HSYNC_A..............: 0x00000000 (1 start, 1 end)
TRANS_VTOTAL_A.............: 0x90000000 (1 active, 36865 total)
TRANS_VBLANK_A.............: 0x00000018 (25 start, 1 end)
TRANS_VSYNC_A..............: 0x00000004 (5 start, 1 end)
TRANS_VSYNCSHIFT_A.........: 0x00000000
TRANSACONF.................: 0x112d8014 (disable, inactive, rsvd)
FDI_RXA_MISC...............: 0x00000008 (FDI Delay 8)
FDI_RXA_TUSIZE1............: 0x746f7270
FDI_RXA_IIR................: 0x74696e69
FDI_RXA_IMR................: 0x696c6169
BLC_PWM_CPU_CTL2...........: 0x00000000 (enable 0, pipe A, blinking 0, granularity 128)
BLC_PWM_CPU_CTL............: 0x00000000 (cycle 0, freq 0)
BLC_PWM2_CPU_CTL2..........: 0x00000000 (enable 0, pipe A, blinking 0, granularity 128)
BLC_PWM2_CPU_CTL...........: 0x00000000 (cycle 0, freq 0)
BLC_MISC_CTL...............: 0x00000000 (PWM1-PCH PWM2-CPU)
BLC_PWM_PCH_CTL1...........: 0xffe5e5e5 (enable 1, override 1, inverted polarity 1)
BLC_PWM_PCH_CTL2...........: 0xffe2e2e2 (freq 65506, cycle 58082)
UTIL_PIN_CTL...............: 0x00000000 (enable 0, transcoder A, mode data, data 0 inverted polarity 0)
PCH_PP_STATUS..............: 0x00000000 (off, not ready, sequencing idle)
PCH_PP_CONTROL.............: 0x00000000 (blacklight disabled, do not power down on reset, panel off)
PCH_PP_ON_DELAYS...........: 0x00000000
PCH_PP_OFF_DELAYS..........: 0x00000000
PCH_PP_DIVISOR.............: 0x00000000
PIXCLK_GATE................: 0x86201548
SDEISR.....................: 0x00000117 (port d:0, port c:0, port b:0, crt:0)
RC6_RESIDENCY_TIME.........: 0x31e05520
IS_GEN6(devid) || IS_GEN7(devid)
FENCE START 0..............: 0x00000005
FENCE END 0................: 0x3f800000
FENCE START 1..............: 0x00010300
FENCE END 1................: 0x00000000
FENCE START 2..............: 0x00000000
FENCE END 2................: 0x00000000
FENCE START 3..............: 0x00000000
FENCE END 3................: 0x00000000
FENCE START 4..............: 0x00000000
FENCE END 4................: 0x00000000
FENCE START 5..............: 0x00000300
FENCE END 5................: 0x00000000
FENCE START 6..............: 0x00000300
FENCE END 6................: 0x00000000
FENCE START 7..............: 0x00000300
FENCE END 7................: 0x00000000
FENCE START 8..............: 0x00000300
FENCE END 8................: 0x00000000
FENCE START 9..............: 0x00000300
FENCE END 9................: 0x00000000
FENCE START 10.............: 0x00000300
FENCE END 10...............: 0x00000000
FENCE START 11.............: 0x00000300
FENCE END 11...............: 0x00000000
FENCE START 12.............: 0x00000300
FENCE END 12...............: 0x00000000
FENCE START 13.............: 0x00000000
FENCE END 13...............: 0x00000000
FENCE START 14.............: 0x00000000
FENCE END 14...............: 0x00000000
FENCE START 15.............: 0x00000000
FENCE END 15...............: 0x00000000
FENCE START 16.............: 0x00000000
FENCE END 16...............: 0x00000000
FENCE START 17.............: 0x00000000
FENCE END 17...............: 0x00000000
FENCE START 18.............: 0x00000000
FENCE END 18...............: 0x00000000
FENCE START 19.............: 0x137de0e0
FENCE END 19...............: 0x00000001
FENCE START 20.............: 0x00000000
FENCE END 20...............: 0x00000300
FENCE START 20.............: 0x00000000
FENCE END 20...............: 0x00000300
FENCE START 21.............: 0x00000000
FENCE END 21...............: 0x00000300
FENCE START 22.............: 0x00000000
FENCE END 22...............: 0x00000300
FENCE START 23.............: 0x00000000
FENCE END 23...............: 0x00000300
FENCE START 24.............: 0x00000000
FENCE END 24...............: 0x00000300
FENCE START 25.............: 0x00000000
FENCE END 25...............: 0x00000300
FENCE START 26.............: 0x00000000
FENCE END 26...............: 0x00000300
FENCE START 27.............: 0x00000000
FENCE END 27...............: 0x00000300
FENCE START 28.............: 0x00000005
FENCE END 28...............: 0x00000000
FENCE START 29.............: 0x00000000
FENCE END 29...............: 0x00000000
FENCE START 30.............: 0x00000000
FENCE END 30...............: 0x00000000
FENCE START 31.............: 0x00000000
FENCE END 31...............: 0x00000000
GEN6_RP_CONTROL............: 0xfff6f6f6 (enabled)
GEN6_RPNSWREQ..............: 0xfff6f6f6
GEN6_RP_DOWN_TIMEOUT.......: 0xfff6f6f6
GEN6_RP_INTERRUPT_LIMITS...: 0xfff6f6f3
GEN6_RP_UP_THRESHOLD.......: 0xfff6f4e9
GEN6_RP_UP_EI..............: 0xffc7b2b2
GEN6_RP_DOWN_EI............: 0xffcadcea
GEN6_RP_IDLE_HYSTERSIS.....: 0xfff5f6f4
GEN6_RC_STATE..............: 0xfff6f6f6
GEN6_RC_CONTROL............: 0xfff6f6f6
GEN6_RC1_WAKE_RATE_LIMIT...: 0xfff6f6f6
GEN6_RC6_WAKE_RATE_LIMIT...: 0xfff6f6f6
GEN6_RC_EVALUATION_INTERVAL: 0xfff6f6f6
GEN6_RC_IDLE_HYSTERSIS.....: 0xfff6f6f6
GEN6_RC_SLEEP..............: 0xfff6f6f6
GEN6_RC1e_THRESHOLD........: 0xfff6f6f6
GEN6_RC6_THRESHOLD.........: 0xfff6f6f6
GEN6_RC_VIDEO_FREQ.........: 0xfff6f6f6
GEN6_PMIER.................: 0x00000000
GEN6_PMIMR.................: 0x00007fff
GEN6_PMINTRMSK.............: 0xffeadac3

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

IGPU Info:
------------------------------------
IGPU Current Frequency.............: 550 MHz
IGPU Minimum Frequency.............: 200 MHz
IGPU Maximum Non-Turbo Frequency...: 400 MHz
IGPU Maximum Turbo Frequency.......: 1250 MHz
IGPU Maximum limit.................: No Limit

CPU P-States [ (17) 23 26 ] iGPU P-States [ (11) ]
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) 17 23 26 ] iGPU P-States [ (11) ]
CPU P-States [ 8 13 (17) 23 26 ] iGPU P-States [ (11) ]
CPU P-States [ (8) 13 17 23 25 26 ] iGPU P-States [ (11) ]
CPU P-States [ (8) 13 17 19 23 25 26 ] iGPU P-States [ (11) ]
CPU P-States [ (8) 13 17 18 19 23 25 26 ] iGPU P-States [ (11) ]
CPU P-States [ 8 13 14 (17) 18 19 23 25 26 ] iGPU P-States [ (11) ]
CPU P-States [ 8 13 14 17 18 19 23 25 26 29 (32) ] iGPU P-States [ (11) ]
CPU P-States [ (8) 11 13 14 17 18 19 23 25 26 29 32 ] iGPU P-States [ (11) ]
CPU P-States [ 8 11 13 14 17 18 19 20 23 25 (26) 29 32 ] iGPU P-States [ (11) ]
CPU P-States [ 8 11 13 14 (17) 18 19 20 21 23 25 26 29 32 ] iGPU P-States [ (11) ]
CPU P-States [ (8) 11 12 13 14 17 18 19 20 21 23 25 26 29 32 ] iGPU P-States [ (11) ]
CPU P-States [ 8 11 12 13 14 16 17 18 19 20 21 23 25 (26) 29 32 ] iGPU P-States [ (11) ]
CPU P-States [ 8 11 12 13 14 15 16 (17) 18 19 20 21 23 25 26 29 32 ] iGPU P-States [ (11) ]
CPU P-States [ 8 11 12 13 14 15 16 (17) 18 19 20 21 23 24 25 26 29 32 ] iGPU P-States [ (11) ]
CPU P-States [ 8 11 12 13 14 15 16 17 18 19 20 21 23 24 25 (26) 29 32 ] iGPU P-States [ 11 (12) ]
CPU P-States [ (8) 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 29 32 ] iGPU P-States [ (11) 12 ]
CPU P-States [ 8 11 12 13 14 15 16 (17) 18 19 20 21 22 23 24 25 26 28 29 32 ] iGPU P-States [ (11) 12 ]
CPU P-States [ 8 11 12 13 14 15 16 (17) 18 19 20 21 22 23 24 25 26 27 28 29 32 ] iGPU P-States [ (11) 12 ]
CPU P-States [ 8 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 (29) 30 32 ] iGPU P-States [ (11) 12 ]
CPU P-States [ 8 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 (29) 30 31 32 ] iGPU P-States [ (11) 12 ]
CPU P-States [ 8 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 (33) ] iGPU P-States [ (11) 12 ]
CPU P-States [ (8) 9 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 ] iGPU P-States [ (11) 12 ]
CPU P-States [ (8) 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 ] iGPU P-States [ (11) 12 ]



I also followed the instructions for patching my DSDTs and SDSTs. I didn't run into any
problems in the process and all of the files compile without errors, so I thought I performed
this work correctly.

The patches I installed include:
Remove_DSM
Replace Names
Remove WMI
Rename PCI0.VID to PCI0.IGPU
Haswell HD4600 Yosemite
Battery Patch for T440P
IRQ Fix
AC Adapter Fix
Fix _Wak Arg0 v2
Add IMEI
Haswell LPC
7-Series/8-Series USB
Fix Mutex w/Non-zero Sync
OSX Fix Win89



If there are any Debug statements I could place into the DSDT/SDSTs to trace
the flow for when I place the laptop into sleep mode, I would appreciate any
guidance.

Otherwise, I will start over with my DSDT/SDST patching.

Thanks,
dsomer
 
Thanks RehabMan,

I removed my edit to info.plist in AppleACPIPlatform.kext and rebooted. The driver is
attaching to the EC device properly, so it looks like I was chasing a problem I thought
I had incorrectly. I now have a "vanilla" AppleACPIPlatform.kext.

Unfortunately, this particular change did not change the Sleep/Wake behavior.


I went back to the FAQ to look at the checklist for power management and patching the
DSDTs. I believe I have followed the instructions properly.

I don't think you read the FAQ very carefully.

Hint: Your ioreg shows USB WiFi.
 
Thanks Swatpt,

I will check my BIOS settings again, but I'm pretty sure I don't have any of the security features
enabled. But ... I appreciate the reminder.

Any chance you can share with me which DSDT patches you used? Perhaps I have applied too
many of the patches.

In addition, did you add any of the kexts for the USB ports? I used USBInjectAll and FakePCIID_XHCIMux.
I'm curious if you did the same.

I appreciate any help you can offer.

Thanks,
dsomer
 
Well ... don't I feel stupid. :)

I thought the USB WiFi device I have installed was working just fine. I didn't realize it would
interfere with Sleep / Wake. As RehabMan pointed out, I must have glossed over that in all of my
reading and rereading of the various FAQ documents ... but it is there. :)

The bottom line ... if I remove this USB WiFi device, and put the laptop to sleep, it goes
to sleep in 20-30 seconds. However, now the system does indeed respond to the power
button and wakes up as one would expect. Sheesh ... I feel like an idiot ... but ... I learned
a thing or two in the process.

It looks like I need to go purchase the Broadcom device ... or unplug my USB WiFi device prior to
putting the system to sleep.

Thanks all,
dsomer
 
dsomer,

I've been through the wifi bios whitelist removal. you need to flash the bios with a usb programmer as after the file is edited you can't get it onto the laptop via the normal methods. The laptop also bleeps 5 times as it know it be tampered with, but thats only when the SMC starts up after a total power down so not too annoying.

What patch did you use for the brightness control? I found the below, and it compiles ok but its not working.

into method label _Q15 replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPC.KBD, 0x0205)\n
Notify(\_SB.PCI0.LPC.KBD, 0x0285)\n
end;
into method label _Q14 replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPC.KBD, 0x0206)\n
Notify(\_SB.PCI0.LPC.KBD, 0x0286)\n
end;
 
dsomer,

I've been through the wifi bios whitelist removal. you need to flash the bios with a usb programmer as after the file is edited you can't get it onto the laptop via the normal methods. The laptop also bleeps 5 times as it know it be tampered with, but thats only when the SMC starts up after a total power down so not too annoying.

What patch did you use for the brightness control? I found the below, and it compiles ok but its not working.

into method label _Q15 replace_content
begin
// Brightness Down\n
Notify(\_SB.PCI0.LPC.KBD, 0x0205)\n
Notify(\_SB.PCI0.LPC.KBD, 0x0285)\n
end;
into method label _Q14 replace_content
begin
// Brightness Up\n
Notify(\_SB.PCI0.LPC.KBD, 0x0206)\n
Notify(\_SB.PCI0.LPC.KBD, 0x0286)\n
end;

Brightness guide: http://www.tonymacx86.com/threads/guide-patching-dsdt-ssdt-for-laptop-backlight-control.152659/
 
have you try to apply [igpu] Brightness fix (Haswell/Broadwell) for brightness control.
 
Status
Not open for further replies.
Back
Top