Contribute
Register

[solved] Dell XPS 13 9350 Skylake Freezes Upon AC Adapter Un/Plugging / Sleep / Wake

Joined
Dec 18, 2013
Messages
410
Motherboard
Lenovo Yoga 920
CPU
i7-8550U/16GB/EVO+
Graphics
UHD620@4K
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android
Almost perfect machine showing this issue I cannot fix. Patched DSDT to my best knowledge but still no luck...

Also sleep/wake not working... :(

Code:
pmset -g assertions
2018-10-22 22:13:47 +0200
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
Listed by owning process:
   pid 95(hidd): [0x0000001200098049] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968263.3"
    Timeout will fire in 1800 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00300000 owner=USB3.0 Hub
   id=502  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00100000 owner=USB2.0 Hub
   id=504  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00340000 owner=Mass Storage Device
   id=505  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00330000 owner=USB 10/100/1000 LAN
   id=506  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00320000 owner=4-Port USB 3.0 Hub
   id=508  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14100000 owner=Keyboard Hub
   id=510  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00110000 owner=USB Keyboard          
   id=511  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00120000 owner=4-Port USB 2.0 Hub
   id=513  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
MOJXPS13:~ edin$
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,974
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Almost perfect machine showing this issue I cannot fix. Patched DSDT to my best knowledge but still no luck...

Also sleep/wake not working... :(

Code:
pmset -g assertions
2018-10-22 22:13:47 +0200
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     0
   NetworkClientActive            0
Listed by owning process:
   pid 95(hidd): [0x0000001200098049] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968263.3"
    Timeout will fire in 1800 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00300000 owner=USB3.0 Hub
   id=502  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00100000 owner=USB2.0 Hub
   id=504  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00340000 owner=Mass Storage Device
   id=505  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00330000 owner=USB 10/100/1000 LAN
   id=506  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00320000 owner=4-Port USB 3.0 Hub
   id=508  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.14100000 owner=Keyboard Hub
   id=510  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00110000 owner=USB Keyboard        
   id=511  level=255 0x4=USB mod=01.01.70, 01:00 description=com.apple.usb.externaldevice.00120000 owner=4-Port USB 2.0 Hub
   id=513  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
MOJXPS13:~ edin$
You will need to describe each issue in detail.
You say sleep/wake not working: Which one? If sleep not working, what happens when you use Apple->Sleep?
And if you can't get it to sleep, impossible to test wake, right?

What do you mean by "freeze ... Un /Plugging". Does the freeze happen after unplugging? Or just after plugging? Or just after both unplugging then plugging back in?

Comments:
- your USB configuration is wrong (should be same number HSxx/SSxx with UsbConnector=3)
- why is SSDT-1 patched?
- backlight control is wrong (should not have PNLF patch and SSDT-PNLF.aml). Remove PNLF from DSDT.aml.
refer to guide:
https://www.tonymacx86.com/threads/...ontrol-using-applebacklightfixup-kext.218222/
- remove HibernationFixup.kext... you have hibernatemode=0 anyway
- you have unpatched _OSI references. Use OSID->XSID, _OSI->XOSI, and SSDT-XOSI.aml instead of "OS Check Fix".
 
Joined
Dec 18, 2013
Messages
410
Motherboard
Lenovo Yoga 920
CPU
i7-8550U/16GB/EVO+
Graphics
UHD620@4K
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android
You will need to describe each issue in detail.
You say sleep/wake not working: Which one? If sleep not working, what happens when you use Apple->Sleep?
And if you can't get it to sleep, impossible to test wake, right?
Right, so going to sleep works. Waking not. I only can switch off and reboot.

What do you mean by "freeze ... Un /Plugging". Does the freeze happen after unplugging? Or just after plugging? Or just after both unplugging then plugging back in?
Both. If it booted without AC the system stands still after connecting and vice versa. If it started with AC it freezes when unplugged. Immediately.

Comments:
- your USB configuration is wrong (should be same number HSxx/SSxx with UsbConnector=3)
I think Thunderbolt / USB-C is messing it up.
- why is SSDT-1 patched?
It had errors. I only fixed it by applying clean/fix.
- backlight control is wrong (should not have PNLF patch and SSDT-PNLF.aml). Remove PNLF from DSDT.aml.
refer to guide:
https://www.tonymacx86.com/threads/...ontrol-using-applebacklightfixup-kext.218222/
- remove HibernationFixup.kext... you have hibernatemode=0 anyway
OK
- you have unpatched _OSI references. Use OSID->XSID, _OSI->XOSI, and SSDT-XOSI.aml instead of "OS Check Fix".
OK, I'll look into those...

Thanks!
 
Joined
Dec 18, 2013
Messages
410
Motherboard
Lenovo Yoga 920
CPU
i7-8550U/16GB/EVO+
Graphics
UHD620@4K
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android
I can remove it but not sure if it that may resolve the problems. So going to sleep works well, shutdown and waking not.

I re-patched the DSDT, left out the obsolete patches. Not quite sure how to handle the _OSI references. Clover can handle those, right?

Also the SSDT-XOSI.aml does not compile without errors but I need to look further into docs...

What exactly to do with the Thunderbolt/USB-C port? USB devices connected there do not show up in the FBPatcher...
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,974
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Not quite sure how to handle the _OSI references.
Best is SSDT-XOSI.aml (and OSID->XSID, _OSI->XOSI patches).

Also the SSDT-XOSI.aml does not compile without errors but I need to look further into docs...
What are you referring to? An AML is already compiled.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,974
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
I know but the dsl in the repository did not want to compile. I'll go back and see...
It compiles just fine...
Output from make:
Code:
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 3 Optimizations
iasl -vw 2095 -vw 2008 -vw 4089 -vi -vs -p build/SSDT-XOSI.aml hotpatch/SSDT-XOSI.dsl
ASL Input:     hotpatch/SSDT-XOSI.dsl - 42 lines, 1768 bytes, 5 keywords
AML Output:    build/SSDT-XOSI.aml - 206 bytes, 1 named objects, 4 executable opcodes
Must use correct ACPI version in MaciASL (ACPI 6.2a) /correct iasl.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,974
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Got it! Sleep works! Ha!

And also no freezes! Thanks one more time Mr. Rehabman!

Feel free to mark resolved...
Marked solved.
 
Top