Contribute
Register

Powermanagement Lenovo Yoga 700 14isk

Status
Not open for further replies.
Your DSDT uses 0x6d... note:
Code:
        Device (XHC)
        {
...
 
            Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
            {
                0x6D,
                0x03
            })

Yes, that is exactly why I thought I should go for 0x6d. Though because of my inexperience with DSDTs I wasn't 100% though.

Thanks for all your effort RehabMan.

Sleep is still not working after all the patches.

I discovered something 'new'. Lenovo keyboard backlight can be activated with fn+space, not matter the OS whatsoever. If I go to Apple -> Sleep, the screen turns off and the fans keep spinning. The keyboard backlight remains the same state as it was when I put it to sleep. However here's the 'catch': I can switch the backlight on and off for a good 10 seconds, after which I can't anymore and the backlight remains either on or off (depends on the situation it was before switching is disabled).

Could this be some kind of useful information?

Also, there is no way I can turn off bluetooth. The 'off' option is greyed out. Is it possible that the bluetooth card keeps my laptop 'awake'?
 
Sleep is still not working after all the patches.

You will need to provide specifics...

I discovered something 'new'. Lenovo keyboard backlight can be activated with fn+space, not matter the OS whatsoever.

Just like my u430. It is handled in the EC.

If I go to Apple -> Sleep, the screen turns off and the fans keep spinning.

There is at least a 20 sec delay. And all assertions must be clear first...

The keyboard backlight remains the same state as it was when I put it to sleep. However here's the 'catch': I can switch the backlight on and off for a good 10 seconds, after which I can't anymore and the backlight remains either on or off (depends on the situation it was before switching is disabled).

Maybe your laptop is crashing/hanging during the process of entering sleep (which begins 15-20 sec after Apple->Sleep).
Make sure you disabled hibernation.

Also, there is no way I can turn off bluetooth. The 'off' option is greyed out. Is it possible that the bluetooth card keeps my laptop 'awake'?

Did you install compatible Broadcom bluetooth hardware?
 
You will need to provide specifics...

There is at least a 20 sec delay. And all assertions must be clear first...

The ones seen with pmset -g assertions? Or does this have nothing to do with manual sleep.


Maybe your laptop is crashing/hanging during the process of entering sleep (which begins 15-20 sec after Apple->Sleep).
Make sure you disabled hibernation.

Yes, I have disabled hibernation.


Did you install compatible Broadcom bluetooth hardware?

No. The standard Intel WiFi / Bluetooth adapter it shipped with provides bluetooth. I can use this to connect to a shared network and transfer files. WiFi of course does not work. I still have to get another card.
 
The ones seen with pmset -g assertions?

Yes.

No. The standard Intel WiFi / Bluetooth adapter it shipped with provides bluetooth. I can use this to connect to a shared network and transfer files. WiFi of course does not work. I still have to get another card.

Turning off bluetooth is supported only with compatible Broadcom bluetooth hardware.
 
Yes.



Turning off bluetooth is supported only with compatible Broadcom bluetooth hardware.

pmset -g assertions:

Code:
Last login: Tue Nov 15 19:26:23 on console
Thijmens-MacBook-Air:~ thijmen$ pmset -g assertions
2016-11-15 19:27:00 +0100 
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   0
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
Listed by owning process:
   pid 75(apsd): [0x00000010000b0153] 00:00:37 ApplePushServiceTask named: "com.apple.apsd-login" 
   pid 75(apsd): [0x0000000e000b0150] 00:00:38 ApplePushServiceTask named: "com.apple.apsd-connectionestablish-push.apple.com" 
   pid 42(UserEventAgent): [0x00000004000b0141] 00:00:48 BackgroundTask named: "com.apple.metadata.mds.power" 
    Created for PID: 61. 
No kernel assertions.
Idle sleep preventers: IODisplayWrangler
Thijmens-MacBook-Air:~ thijmen$

Might it be a good idea to physically remove the card, or are there other things I should try first?
 
pmset -g assertions:

Code:
Last login: Tue Nov 15 19:26:23 on console
Thijmens-MacBook-Air:~ thijmen$ pmset -g assertions
2016-11-15 19:27:00 +0100
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   0
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
Listed by owning process:
   pid 75(apsd): [0x00000010000b0153] 00:00:37 ApplePushServiceTask named: "com.apple.apsd-login"
   pid 75(apsd): [0x0000000e000b0150] 00:00:38 ApplePushServiceTask named: "com.apple.apsd-connectionestablish-push.apple.com"
   pid 42(UserEventAgent): [0x00000004000b0141] 00:00:48 BackgroundTask named: "com.apple.metadata.mds.power"
    Created for PID: 61.
No kernel assertions.
Idle sleep preventers: IODisplayWrangler
Thijmens-MacBook-Air:~ thijmen$

Might it be a good idea to physically remove the card, or are there other things I should try first?

Assertions are clear. Sleep will start 15-20 sec after Apple->Sleep.

If you have an issue, describe it in detail... and provide details on your setup...

Attach ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

Provide output (in Terminal):
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda

Attach EFI/Clover folder as ZIP (press F4 at main Clover screen before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Attach output of (in Terminal):
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /

Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.
 
Setup: Lenovo Yoga 700 14isk. Intel HD520. Skylake Intel core i5 6200U.

Problem: Sleep is not working. When manually putting the laptop to sleep (Apple -> Sleep) the display turns off and the fans keep spinning. Power led stays white.

Problem report:
Code:
Last login: Tue Nov 15 20:28:52 on console

Thijmens-MacBook-Air:~ thijmen$

Thijmens-MacBook-Air:~ thijmen$ kextstat|grep -y acpiplat

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

Thijmens-MacBook-Air:~ thijmen$ kextstat|grep -y appleintelcpu

Thijmens-MacBook-Air:~ thijmen$ kextstat|grep -y applelpc

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

Thijmens-MacBook-Air:~ thijmen$ kextstat|grep -y applehda

Code:
Last login: Tue Nov 15 20:41:47 on ttys001

Thijmens-MacBook-Air:~ thijmen$ sudo touch /System/Library/Extensions && sudo kextcache -u /

Password:

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooHDA.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext SATA-100-series-unsupported.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext

kext file:///System/Library/Extensions/AppleHDADisabler.kext/ is in hash exception list, allowing to load

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIDebug.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext

Thijmens-MacBook-Air:~ thijmen$
 

Attachments

  • Problem report.zip
    2.2 MB · Views: 58
Setup: Lenovo Yoga 700 14isk. Intel HD520. Skylake Intel core i5 6200U.

Problem: Sleep is not working. When manually putting the laptop to sleep (Apple -> Sleep) the display turns off and the fans keep spinning. Power led stays white.

This is the expected behavior for the first 15-20 seconds after Apple->Sleep.
What happens after that?

As far as your ACPI setup, there are questionable patches...

For example, you changed _INI from:
Code:
            Method (_INI, 0, NotSerialized)  // _INI: Initialize
            {
                Store (LTRF, LTRN)
                Store (PMLF, LMSL)
                Store (PNLF, LNSL)
                Store (OBFF, OBFN)
            }

To:
Code:
            Method (_INI, 0, NotSerialized)  // _INI: Initialize
            {
                Store (LTRF, LTRN)
                Store (PMLF, LMSL)
                Store (OBFF, OBFN)
            }

Why? It is not a valid/typical patch.

Also, why this change, from:
Code:
            Name (SBFB, Buffer (0x23)
            {
                /* 0000 */  0x8E, 0x1E, 0x00, 0x01, 0x00, 0x01, 0x02, 0x00,
                /* 0008 */  0x00, 0x01, 0x06, 0x00, 0x80, 0x1A, 0x06, 0x00,
                /* 0010 */  0x4C, 0x00, 0x5C, 0x5F, 0x53, 0x42, 0x2E, 0x50,
                /* 0018 */  0x43, 0x49, 0x30, 0x2E, 0x49, 0x32, 0x43, 0x31,
                /* 0020 */  0x00, 0x79, 0x00                             
            })

To:
Code:
            Name (SBFB, Buffer (0x23)
            {
                /* 0000 */  0x8E, 0x1E, 0x00, 0x02, 0x00, 0x01, 0x02, 0x00,
                /* 0008 */  0x00, 0x01, 0x06, 0x00, 0x80, 0x1A, 0x06, 0x00,
                /* 0010 */  0x4C, 0x00, 0x5C, 0x5F, 0x53, 0x42, 0x2E, 0x50,
                /* 0018 */  0x43, 0x49, 0x30, 0x2E, 0x49, 0x32, 0x43, 0x31,
                /* 0020 */  0x00, 0x79, 0x00                             
            })

And from:
Code:
                Name (SBUF, Buffer (0x23)
                {
                    /* 0000 */  0x8E, 0x1E, 0x00, 0x01, 0x00, 0x01, 0x02, 0x00,
                    /* 0008 */  0x00, 0x01, 0x06, 0x00, 0x80, 0x1A, 0x06, 0x00,
                    /* 0010 */  0x6E, 0x00, 0x5C, 0x5F, 0x53, 0x42, 0x2E, 0x50,
                    /* 0018 */  0x43, 0x49, 0x30, 0x2E, 0x49, 0x32, 0x43, 0x31,
                    /* 0020 */  0x00, 0x79, 0x00                             
                })

To:
Code:
                Name (SBUF, Buffer (0x23)
                {
                    /* 0000 */  0x8E, 0x1E, 0x00, 0x02, 0x00, 0x01, 0x02, 0x00,
                    /* 0008 */  0x00, 0x01, 0x06, 0x00, 0x80, 0x1A, 0x06, 0x00,
                    /* 0010 */  0x6E, 0x00, 0x5C, 0x5F, 0x53, 0x42, 0x2E, 0x50,
                    /* 0018 */  0x43, 0x49, 0x30, 0x2E, 0x49, 0x32, 0x43, 0x31,
                    /* 0020 */  0x00, 0x79, 0x00                             
                })

There are more similar changes that don't make sense. It is as if you didn't patch based on a current extract. Or your patches are based on files from another computer. Or files that were extracted with different BIOS version or different BIOS settings.

Also, I will let you verify the offsets used in RECB and WECB.

Also, IGPU PM is not implemented (GFX0 should be IGPU).

You should probably also try a different SMBIOS.
 
I applied the GX0 to IGPU patch. My system now won't boot; It is stuck at a prohibition sign after a much longer 'boot' time. Is there any way to boot with the native DSDT?

Or is it a better idea just to start from scratch since there were some strange DSDT edits?

Edit: I can't find a way to 'just' boot without the patched DSDT. So I decided the best option would be to remove the DSDT from /patched on my EFI partition. However my installer on the USB can't 'see' my main SSD (therefore it can not mount the EFI partition as well). For that I need SATA-100-series-unsupported.kext. Though the EFI partition of my USB is empty? Anyway, on the main USB partition I went to S/L/E and put the kext there. Then I boot via USB, opened terminal and used kextload to load the kext. But the kext can not be loaded since I did not have permission to do so...

Anyway, I'll remove the SSD from the Lenovo, connect it to my Macbook and remove the 'corrupt' DSDT that way. After that I'll extract my DSDT/SSDT files from clover and start the patching process over again.
 
Last edited:
I applied the GX0 to IGPU patch. My system now won't boot; It is stuck at a prohibition sign after a much longer 'boot' time. Is there any way to boot with the native DSDT?

It means you made a mistake. Probably you did not apply the rename across all referencing SSDTs. Or you did, but forgot to use DropOem=true and SortedOrder properly.

See guide: https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

Boto using your USB so you can correct your mistakes.
 
Status
Not open for further replies.
Back
Top