Contribute
Register

Lid close stop working after sleep

Status
Not open for further replies.
Joined
Apr 24, 2019
Messages
38
Motherboard
Lenovo E580 (20KS003AXS)
CPU
i5-8250U
Graphics
UHD620, RX 550
In my Lenovo E580 when it first starts after reboot everything works as expected - I can make it sleep with lid close.
After wake behavior is changed - lid close will not work anymore. Also FN hotkeys stops working (only F1-F12 alternate is working).
I still can put it in sleep with Sleep option in main menu, so looks like some queries/signals does not work.
After reboot everything is fixed again.

Any suggestion what can cause such behavior?
 

Attachments

  • debug_4748.zip
    6.5 MB · Views: 91
  • debug_2259_after_sleep.zip
    6.5 MB · Views: 68
Any suggestion on what area I should investigate to determine the root cause will be highly appreciated!
 
Any suggestion on what area I should investigate to determine the root cause will be highly appreciated!
SortedOrder shouldn't be necessary with Hotpatch

should be removed:
Code:
<key>ForceKextsToLoad</key>
        <array>
            <string>\System\Library\Extensions\IONetworkingFamily.kext</string>
        </array>

this may need to be enabled:
Code:
change OSID to XSID (to avoid match against _OSI XOSI patch)

run these commands in terminal:
Code:
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0

also, what patches did you do in your DSDT?

How and where to install kexts:
 
@Feartech , thank you for you answer!

I did all the steps you mentioned, but it makes no difference...

also, what patches did you do in your DSDT?

In DSDT there is only Battery patch (battery_Lenovo-X230i by RehabMan).
Also I have tried putting all kexts in /L/E/ directory, but it makes no difference to this problem.
Right now I find it easier to investigate problem while kexts are injected by Clover.

Maybe you have any additional ideas how to investigate this problem?
I've attached the most recent version of debug archives.
 

Attachments

  • reboot_debug_29664.zip
    8.6 MB · Views: 48
  • sleep_debug_32023.zip
    8.7 MB · Views: 60
I've cleaned up a mess inside Clover configuration and get rid of DSDT static patches. Now the system should be easier to analyze, but I still do not have any idea where to look regarding this problem.
I would be very appreciate for any advice.

New debug info attached.
 

Attachments

  • restart_debug_14198.zip
    6.7 MB · Views: 71
  • sleep_debug_28989.zip
    6.8 MB · Views: 73
I've cleaned up a mess inside Clover configuration and get rid of DSDT static patches. Now the system should be easier to analyze, but I still do not have any idea where to look regarding this problem.
I would be very appreciate for any advice.

New debug info attached.
kexts are a mess:
Code:
Kext with invalid signatured (-67030) allowed: <OSKext 0x7f8f7f296190 [0x7fffa74b98e0]> { URL = "file:///System/Library/Extensions/IO80211Family.kext/", ID = "com.apple.iokit.IO80211Family" }
Kext with invalid signatured (-67030) allowed: <OSKext 0x7f8f7b482040 [0x7fffa74b98e0]> { URL = "file:///System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortBrcm4360.kext/", ID = "com.apple.driver.AirPort.Brcm4360" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7f8f7d61ded0 [0x7fffa74b98e0]> { URL = "file:///System/Library/Extensions/IOPlatformPluginFamily.kext/", ID = "com.apple.driver.IOPlatformPluginFamily" }
Rejecting invalid/inauthentic kext for bundle id com.apple.driver.IOPlatformPluginFamily at location file:///System/Library/Extensions/IOPlatformPluginFamily.kext/.
/System/Library/Extensions/AppleIntelPCHPMC.kext - no compatible dependency found for com.apple.driver.IOPlatformPluginFamily.
/System/Library/Extensions/AppleIntelPCHPMC.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
KernelCache ID: 9EC607D443B416EA3A598D326B233ABD
Kext rejected due to improper filesystem permissions: <OSKext 0x7f81da5c76c0 [0x7fffa74b98e0]> { URL = "file:///System/Library/Extensions/IOPlatformPluginFamily.kext/", ID = "com.apple.driver.IOPlatformPluginFamily" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7f81da5c9110 [0x7fffa74b98e0]> { URL = "file:///System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/", ID = "com.apple.driver.X86PlatformPlugin" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7f81da5c9f70 [0x7fffa74b98e0]> { URL = "file:///System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/AppleSMCPDRC.kext/", ID = "com.apple.driver.AppleSMCPDRC" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7f81da5ccae0 [0x7fffa74b98e0]> { URL = "file:///System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformShim.kext/", ID = "com.apple.driver.X86PlatformShim" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7f81da5ce5b0 [0x7fffa74b98e0]> { URL = "file:///System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/IOPlatformPluginLegacy.kext/", ID = "com.apple.driver.IOPlatformPluginLegacy" }
Kext rejected due to improper filesystem permissions: <OSKext 0x7f81dc42d5f0 [0x7fffa74b98e0]> { URL = "file:///System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext/", ID = "com.apple.driver.ACPI_SMC_PlatformPlugin" }
Kext with invalid signatured (-67030) allowed: <OSKext 0x7f81dc747f00 [0x7fffa74b98e0]> { URL = "file:///System/Library/Extensions/IO80211Family.kext/", ID = "com.apple.iokit.IO80211Family" }
Kext with invalid signatured (-67030) allowed: <OSKext 0x7f81dc74b800 [0x7fffa74b98e0]> { URL = "file:///System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortBrcm4360.kext/", ID = "com.apple.driver.AirPort.Brcm4360" }

try re running the macos installer to refresh your kexts

also still no 3rd party kexts installed to /L/E....
 
kexts are a mess

try re running the macos installer to refresh your kexts

also still no 3rd party kexts installed to /L/E....

@Feartech , thanks for your answer. I put all kexts in /L/E and rebuild cache. Please take a look
 

Attachments

  • debug_17496.zip
    7.1 MB · Views: 67
@Feartech , thanks for your answer. I put all kexts in /L/E and rebuild cache. Please take a look
again... please check your kextcache.log and sort out those errors

How and where to install kexts:
 
again... please check your kextcache.log and sort out those errors

@Feartech , thanks for your support.
I fixed kext error with LiluFriend, but all other errors saying:
Code:
Kext with invalid signatured allowed:

I believe this is fine and cannot be fixed? Or am I wrong?
 

Attachments

  • debug_6277.zip
    6.8 MB · Views: 58
@Feartech , thanks for your support.
I fixed kext error with LiluFriend, but all other errors saying:
Code:
Kext with invalid signatured allowed:

I believe this is fine and cannot be fixed? Or am I wrong?
yes, "kext with invalid...." is fine and is what you should be seeing

although it looks like you patched this file:

Code:
Kext with invalid signatured (-67054) allowed: <OSKext 0x7f9b3ce9eb10 [0x7fffa968b8e0]> { URL = "file:///System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/", ID = "com.apple.driver.X86PlatformPlugin" }
for some reason?

your config.plist is a bit of a mess, did you use clover configurator to create a conifg.plist for you? as that is very wrong, best to use a clean one form the laptop guide
 
Status
Not open for further replies.
Back
Top