Contribute
Register

Laptop does not Shutdown/Reboot. Sleep Works.

Status
Not open for further replies.
Joined
Mar 9, 2013
Messages
121
Motherboard
Dell XPS 13 9360
CPU
Intel i7-8550U
Graphics
Intel HD620
Hello all!
I just finished installing and configuring High Sierra on my HP Omen 17-w102nl (Info in Signature). This model has only GTX1070 video card (no intel HD device). I have successfully installed it with Windows 10 in Dual Boot, but still have some issues on OSX:
  • Shutdown / Reboot doesn't work. It shuts down everything (Monitor, USB Power, etc...) but it never turn totally off, same for reboot. Sleep works well.
  • I think battery indicator is not working. It was not showing at all, so I have patched DSDT applying an HP patch. Now it shows in status bar, but it is stuck at 99%.
  • Trackpad works well, but if I use laptop with external monitors and Lid closed after a while it starts to move windows up and down, like I'm scrolling.
  • Brightness is not working at all (can't find a guide to make it working... is that possible?). I am using Brightness Slider from AppStore to fix brightness when I use it as a laptop. No need when I have external monitor of course.
  • Not sure if Power Management is working, in Intel Power Gadget I see CPU Package at 12W. It seems a lot to me.
Everything else is working: audio, Wifi, BT, video ports, USB, USB PM etc...

Thank you very much for your help!

Terminal Output:
Code:
MacBook-Pro-di-Mirco:Downloads mirco$ kextstat|grep -y acpiplat
   15    2 0xffffff7f83749000 0x9c000    0x9c000    com.apple.driver.AppleACPIPlatform (6.1) 642EF8D6-8F86-3F92-B450-FDC9BAE4F3DD <14 12 11 7 6 5 4 3 1>
MacBook-Pro-di-Mirco:Downloads mirco$ kextstat|grep -y appleintelcpu
MacBook-Pro-di-Mirco:Downloads mirco$ kextstat|grep -y applelpc
MacBook-Pro-di-Mirco:Downloads mirco$ kextstat|grep -y applehda
MacBook-Pro-di-Mirco:Downloads mirco$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory
MacBook-Pro-di-Mirco:Downloads mirco$ pmset -g assertions
2017-11-10 19:59:11 +0100
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 96(hidd): [0x0000019600098227] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968780.3"
    Timeout will fire in 120 secs Action=TimeoutActionRelease
   pid 183(nsurlsessiond): [0x0000001b000b812d] 00:27:07 BackgroundTask named: "NSURLSessionTask A5E5A4D3-23BB-4C2F-AE60-E5B7B046E473"
   pid 183(nsurlsessiond): [0x00000019000b8126] 00:27:08 BackgroundTask named: "NSURLSessionTask 9C1ADEA6-0E52-4990-A085-31C6BA9E5D43"
   pid 183(nsurlsessiond): [0x00000019000b8124] 00:27:08 BackgroundTask named: "NSURLSessionTask 5114FB6D-401B-4C57-89EC-A4E452203153"
Kernel Assertions: 0x5=CPU,USB
   id=503  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14100000 owner=4-Port USB 2.0 Hub
   id=505  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14600000 owner=4-Port USB 3.0 Hub
   id=507  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14110000 owner=Razer BlackWidow Ultimate
   id=508  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14130000 owner=HD Pro Webcam C920
   id=509  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14200000 owner=4-Port USB 2.0 Hub
   id=513  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14210000 owner=Anua Mic CM 900
   id=514  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14220000 owner=Stream Deck
   id=523  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14800000 owner=Razer Ripsaw
   id=524  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14140000 owner=Razer DeathAdder 2013
   id=857  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14700000 owner=4-Port USB 3.0 Hub
   id=858  level=255 0x1=CPU mod=01/01/70, 01:00 description=com.apple.usb.hub.14700000 owner=AppleUSB30Hub
Idle sleep preventers: IODisplayWrangler
MacBook-Pro-di-Mirco:Downloads mirco$ system_profiler SPSerialATADataType|grep TRIM
MacBook-Pro-di-Mirco:Downloads mirco$

Code:
MacBook-Pro-di-Mirco:Downloads mirco$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560aaca90 [0x7fffa04365b0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a4bc50 [0x7fffa04365b0]> { URL = "VoodooPS2Controller.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a74640 [0x7fffa04365b0]> { URL = "VoodooPS2Mouse.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a4d760 [0x7fffa04365b0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a4b080 [0x7fffa04365b0]> { URL = "VoodooHDA.kext/ -- file:///System/Library/Extensions/", ID = "org.voodoo.driver.VoodooHDA" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a04ba0 [0x7fffa04365b0]> { URL = "USBInjectAll.kext/ -- file:///System/Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa5609e6c60 [0x7fffa04365b0]> { URL = "RealtekRTL8111.kext/ -- file:///System/Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55f796030 [0x7fffa04365b0]> { URL = "FakeSMC.kext/ -- file:///System/Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55cf10b70 [0x7fffa04365b0]> { URL = "BrcmPatchRAM2.kext/ -- file:///System/Library/Extensions/", ID = "com.no-one.BrcmPatchRAM2" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55cf0fa80 [0x7fffa04365b0]> { URL = "BrcmFirmwareRepo.kext/ -- file:///System/Library/Extensions/", ID = "com.no-one.BrcmFirmwareStore" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55f03f880 [0x7fffa04365b0]> { URL = "AppleHDADisabler.kext/ -- file:///System/Library/Extensions/", ID = "net.osrom.kext.Disabler" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55ce02350 [0x7fffa04365b0]> { URL = "ACPIBatteryManager.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }
KernelCache ID: E412DB17B86AB4EBF7880D7BF350FBCD
MacBook-Pro-di-Mirco:Downloads mirco$
 

Attachments

  • CLOVER.zip
    1.8 MB · Views: 58
  • ioreg.zip
    818.8 KB · Views: 69
  • RehabMan.zip
    103.8 KB · Views: 57
Hello all!
I just finished installing and configuring High Sierra on my HP Omen 17-w102nl (Info in Signature). This model has only GTX1070 video card (no intel HD device). I have successfully installed it with Windows 10 in Dual Boot, but still have some issues on OSX:
  • Shutdown / Reboot doesn't work. It shuts down everything (Monitor, USB Power, etc...) but it never turn totally off, same for reboot. Sleep works well.
  • I think battery indicator is not working. It was not showing at all, so I have patched DSDT applying an HP patch. Now it shows in status bar, but it is stuck at 99%.
  • Trackpad works well, but if I use laptop with external monitors and Lid closed after a while it starts to move windows up and down, like I'm scrolling.
  • Brightness is not working at all (can't find a guide to make it working... is that possible?). I am using Brightness Slider from AppStore to fix brightness when I use it as a laptop. No need when I have external monitor of course.
  • Not sure if Power Management is working, in Intel Power Gadget I see CPU Package at 12W. It seems a lot to me.
Everything else is working: audio, Wifi, BT, video ports, USB, USB PM etc...

Thank you very much for your help!

Terminal Output:
Code:
MacBook-Pro-di-Mirco:Downloads mirco$ kextstat|grep -y acpiplat
   15    2 0xffffff7f83749000 0x9c000    0x9c000    com.apple.driver.AppleACPIPlatform (6.1) 642EF8D6-8F86-3F92-B450-FDC9BAE4F3DD <14 12 11 7 6 5 4 3 1>
MacBook-Pro-di-Mirco:Downloads mirco$ kextstat|grep -y appleintelcpu
MacBook-Pro-di-Mirco:Downloads mirco$ kextstat|grep -y applelpc
MacBook-Pro-di-Mirco:Downloads mirco$ kextstat|grep -y applehda
MacBook-Pro-di-Mirco:Downloads mirco$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory
MacBook-Pro-di-Mirco:Downloads mirco$ pmset -g assertions
2017-11-10 19:59:11 +0100
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 96(hidd): [0x0000019600098227] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968780.3"
    Timeout will fire in 120 secs Action=TimeoutActionRelease
   pid 183(nsurlsessiond): [0x0000001b000b812d] 00:27:07 BackgroundTask named: "NSURLSessionTask A5E5A4D3-23BB-4C2F-AE60-E5B7B046E473"
   pid 183(nsurlsessiond): [0x00000019000b8126] 00:27:08 BackgroundTask named: "NSURLSessionTask 9C1ADEA6-0E52-4990-A085-31C6BA9E5D43"
   pid 183(nsurlsessiond): [0x00000019000b8124] 00:27:08 BackgroundTask named: "NSURLSessionTask 5114FB6D-401B-4C57-89EC-A4E452203153"
Kernel Assertions: 0x5=CPU,USB
   id=503  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14100000 owner=4-Port USB 2.0 Hub
   id=505  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14600000 owner=4-Port USB 3.0 Hub
   id=507  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14110000 owner=Razer BlackWidow Ultimate
   id=508  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14130000 owner=HD Pro Webcam C920
   id=509  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14200000 owner=4-Port USB 2.0 Hub
   id=513  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14210000 owner=Anua Mic CM 900
   id=514  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14220000 owner=Stream Deck
   id=523  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14800000 owner=Razer Ripsaw
   id=524  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14140000 owner=Razer DeathAdder 2013
   id=857  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14700000 owner=4-Port USB 3.0 Hub
   id=858  level=255 0x1=CPU mod=01/01/70, 01:00 description=com.apple.usb.hub.14700000 owner=AppleUSB30Hub
Idle sleep preventers: IODisplayWrangler
MacBook-Pro-di-Mirco:Downloads mirco$ system_profiler SPSerialATADataType|grep TRIM
MacBook-Pro-di-Mirco:Downloads mirco$

Code:
MacBook-Pro-di-Mirco:Downloads mirco$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560aaca90 [0x7fffa04365b0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a4bc50 [0x7fffa04365b0]> { URL = "VoodooPS2Controller.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a74640 [0x7fffa04365b0]> { URL = "VoodooPS2Mouse.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a4d760 [0x7fffa04365b0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a4b080 [0x7fffa04365b0]> { URL = "VoodooHDA.kext/ -- file:///System/Library/Extensions/", ID = "org.voodoo.driver.VoodooHDA" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a04ba0 [0x7fffa04365b0]> { URL = "USBInjectAll.kext/ -- file:///System/Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa5609e6c60 [0x7fffa04365b0]> { URL = "RealtekRTL8111.kext/ -- file:///System/Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55f796030 [0x7fffa04365b0]> { URL = "FakeSMC.kext/ -- file:///System/Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55cf10b70 [0x7fffa04365b0]> { URL = "BrcmPatchRAM2.kext/ -- file:///System/Library/Extensions/", ID = "com.no-one.BrcmPatchRAM2" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55cf0fa80 [0x7fffa04365b0]> { URL = "BrcmFirmwareRepo.kext/ -- file:///System/Library/Extensions/", ID = "com.no-one.BrcmFirmwareStore" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55f03f880 [0x7fffa04365b0]> { URL = "AppleHDADisabler.kext/ -- file:///System/Library/Extensions/", ID = "net.osrom.kext.Disabler" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55ce02350 [0x7fffa04365b0]> { URL = "ACPIBatteryManager.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }
KernelCache ID: E412DB17B86AB4EBF7880D7BF350FBCD
MacBook-Pro-di-Mirco:Downloads mirco$

Your ACPI configuration is wrong.
As per guide, DropOem must be set true when you have patched SSDTs in ACPI/patched.

You should really consider carefully why you have patched SSDTs at all (no dual GPU, therefore no need to patch SSDTs other than renames, which are easily done with config.plist).

See ACPI patching guide for details:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Hello! Thank you for your answer!
I followed your advice and removed all patched SSDT's and started over with DSDT. I had to remove SSDT.aml for CPU generated from prgen as I was getting a kernel panic.
Code:
Anonymous UUID:       3FA1BF97-5163-399E-155B-70AC2DB7412C

Sun Nov 12 11:30:46 2017

*** Panic Report ***
panic(cpu 0 caller 0xffffff801378a611): Kernel trap at 0xffffff801379ded0, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0x000000010146e000, CR3: 0x0000000029813000, CR4: 0x00000000003627e0
RAX: 0x000000007e008008, RBX: 0x000000000025de71, RCX: 0x00000000000000e2, RDX: 0x0000000000000000
RSP: 0xffffff820f173ed0, RBP: 0xffffff820f173f10, RSI: 0x000000007e008008, RDI: 0xffffff8013e0adb8
R8:  0x0000000000000008, R9:  0x0000000000000006, R10: 0x00000001beeb1ae6, R11: 0x00000001beeb1ae6
R12: 0xffffff8013e976a8, R13: 0x0000000000000000, R14: 0x00000001beeb1ec1, R15: 0xffffff81e2f1f000
RFL: 0x0000000000010046, RIP: 0xffffff801379ded0, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x000000010146e000, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0, VF: 0

Backtrace (CPU 0), Frame : Return Address
0xffffff81e2f2aa80 : 0xffffff801366d366
0xffffff81e2f2aac0 : 0xffffff8013798494
0xffffff81e2f2ab00 : 0xffffff801378a429
0xffffff81e2f2ab80 : 0xffffff801361f190
0xffffff81e2f2aba0 : 0xffffff801366cd8c
0xffffff81e2f2acd0 : 0xffffff801366cafc
0xffffff81e2f2ad30 : 0xffffff801378a611
0xffffff81e2f2aeb0 : 0xffffff801361f190
0xffffff81e2f2aed0 : 0xffffff801379ded0
0xffffff820f173f10 : 0xffffff801378c2ac
0xffffff820f173f30 : 0xffffff801368b3b2
0xffffff820f173f80 : 0xffffff801368b980
0xffffff820f173fa0 : 0xffffff801361c4f7

BSD process name corresponding to current thread: kernel_task
Boot args: darkwake=0 -v

Mac OS version:
17A405

Kernel version:
Darwin Kernel Version 17.0.0: Thu Aug 24 21:48:19 PDT 2017; root:xnu-4570.1.46~2/RELEASE_X86_64
Kernel UUID: B84FDEFC-9081-35CE-8C51-25A9583AACDE
Kernel slide:     0x0000000013400000
Kernel text base: 0xffffff8013600000
__HIB  text base: 0xffffff8013500000
System model name: MacBookPro14,3 (Mac-551B86E5744E2388)

System uptime in nanoseconds: 8205980092
last loaded kext at 7480685172: com.apple.driver.X86PlatformShim    1.0.0 (addr 0xffffff7f96d70000, size 32768)
loaded kexts:
com.nvidia.web.NVDAGP100HalWeb    10.2.5
com.nvidia.web.GeForceWeb    10.2.5
com.nvidia.web.NVDAResmanWeb    10.2.5
org.voodoo.driver.VoodooHDA    2.8.8
com.no-one.BrcmPatchRAM2    2.2.7
com.no-one.BrcmFirmwareStore    2.2.7
com.nvidia.NVDAStartupWeb    10.2.5
com.intel.driver.EnergyDriver    2.0
org.rehabman.voodoo.driver.PS2Mouse    1.8.28
org.rehabman.voodoo.driver.PS2Trackpad    1.8.28
org.rehabman.voodoo.driver.PS2Keyboard    1.8.28
com.insanelymac.RealtekRTL8111    2.2.1
net.osrom.kext.Disabler    1.0.1
org.rehabman.voodoo.driver.PS2Controller    1.8.28
as.lvs1974.NvidiaGraphicsFixup    1.2.1
as.lvs1974.HibernationFixup    1.2.0
as.vit9696.Lilu    1.2.0
org.rehabman.driver.AppleSmartBatteryManager    1.81.4
org.netkas.driver.FakeSMC    1765
com.rehabman.driver.USBInjectAll    0.6.2
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.ApplePlatformEnabler    2.7.0d0
com.apple.driver.AGPM    110.23.24
com.apple.driver.eficheck    1
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.driver.AppleLPC    3.1
com.apple.driver.AudioAUUC    1.70
com.apple.iokit.SCSITaskUserClient    404
com.apple.driver.AppleUSBODD    439
com.apple.iokit.IOBluetoothSerialManager    6.0.0f7
com.apple.driver.AppleUpstreamUserClient    3.6.4
com.apple.driver.AppleGraphicsDevicePolicy    3.16.19
com.apple.driver.AppleMCCSControl    1.5.3
com.apple.AGDCPluginDisplayMetrics    3.16.19
com.apple.driver.pmtelemetry    1
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.nvidia.NVDAStartup    10.2.4
com.apple.driver.AppleFIVRDriver    4.1.0
com.apple.driver.AppleIntelPCHPMC    1.1
com.apple.driver.AppleHV    1
com.apple.driver.AppleOSXWatchdog    1
com.apple.AVEBridge    1.0.0
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.AppleFileSystemDriver    3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.BootCache    40
com.apple.filesystems.hfs.kext    407.1.3
com.apple.driver.AirPort.BrcmNIC    1200.25.1a1
com.apple.driver.AppleAHCIPort    329
com.apple.driver.AppleACPIButtons    6.1
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleACPIEC    6.1
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.nke.applicationfirewall    183
com.apple.security.quarantine    3
com.apple.security.TMSafetyNet    8
com.apple.IOBufferCopyEngineTest    1
com.apple.driver.IOPlatformPluginLegacy    1.0.0
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice    404
com.apple.iokit.IOBDStorageFamily    1.8
com.apple.iokit.IODVDStorageFamily    1.8
com.apple.iokit.IOCDStorageFamily    1.8
com.apple.iokit.IOSerialFamily    11
com.apple.driver.AppleGraphicsControl    3.16.19
com.apple.driver.AppleSMBusController    1.0.18d1
com.apple.iokit.IOAcceleratorFamily2    373
com.apple.iokit.IOTimeSyncFamily    600.15
com.apple.iokit.IONDRVSupport    517.17
com.apple.iokit.IOSurface    209
com.apple.iokit.IOBluetoothFamily    6.0.0f7
com.apple.driver.IOPlatformPluginFamily    6.0.0d8
com.apple.driver.AppleSSE    1.0
com.apple.driver.AppleSMBusPCI    1.0.14d1
com.apple.AppleGPUWrangler    3.16.19
com.apple.AppleGraphicsDeviceControl    3.16.19
com.apple.iokit.IOGraphicsFamily    517.17
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.driver.usb.IOUSBHostHIDDevice    1.2
com.apple.driver.AppleUSBAudio    310.35
com.apple.iokit.IOAudioFamily    206.5
com.apple.vecLib.kext    1.2.0
com.apple.driver.AppleUSBHostMergeProperties    1.2
com.apple.driver.usb.AppleUSBHub    1.2
com.apple.driver.usb.cdc    5.0.0
com.apple.driver.usb.networking    5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.2
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.AppleXsanScheme    3
com.apple.iokit.IOAHCIBlockStorage    301.1.2
com.apple.iokit.IONVMeFamily    2.1.0
com.apple.iokit.IO80211Family    1200.12.2
com.apple.driver.mDNSOffloadUserClient    1.0.1b8
com.apple.driver.corecapture    1.0.4
com.apple.iokit.IONetworkingFamily    3.3
com.apple.driver.AppleIntelLpssGspi    3.0.60
com.apple.iokit.IOAHCIFamily    288
com.apple.driver.usb.AppleUSBXHCIPCI    1.2
com.apple.driver.usb.AppleUSBXHCI    1.2
com.apple.driver.usb.AppleUSBHostPacketFilter    1.0
com.apple.iokit.IOUSBFamily    900.4.1
com.apple.driver.AppleEFINVRAM    2.1
com.apple.driver.AppleEFIRuntime    2.1
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.iokit.IOSMBusFamily    1.1
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleUSBTDM    439
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.iokit.IOUSBMassStorageDriver    140
com.apple.iokit.IOSCSIBlockCommandsDevice    404
com.apple.iokit.IOSCSIArchitectureModelFamily    404
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.KernelRelayHost    1
com.apple.iokit.IOUSBHostFamily    1.2
com.apple.driver.usb.AppleUSBCommon    1.0
com.apple.driver.AppleBusPowerController    1.0
com.apple.driver.AppleSEPManager    1.0.1
com.apple.driver.IOSlaveProcessor    1
com.apple.iokit.IOBufferCopyEngineFamily    1
com.apple.driver.DiskImages    480.1.2
com.apple.iokit.IOStorageFamily    2.1
com.apple.iokit.IOReportFamily    31
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleACPIPlatform    6.1
com.apple.driver.AppleSMCRTC    1.0
com.apple.driver.AppleSMC    3.1.9
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread    1
com.apple.kec.Libm    1
com.apple.kec.corecrypto    1.0

EOF

Regarding DSDT Patching. I've followed the guide to Patch battery: now battery indicator it's showing and AC is correctly detected but indicator is stuck at 99% (HP Omen 17-w102nl). I think I've done everything correctly, there may be some problem in Buffer Fields, has the FLDx fields had all the same Offset, with different bits. I don't know if I handled it correctly, could you please have a look? Thank you!
Shutdown now works, reboot results in everything shutting down, but PC stays there with black screen.

Terminal Outputs:
Code:
MacBook-Pro-di-Mirco:RehabMan mirco$ kextstat|grep -y acpiplat
   15    2 0xffffff7f83759000 0x9c000    0x9c000    com.apple.driver.AppleACPIPlatform (6.1) 642EF8D6-8F86-3F92-B450-FDC9BAE4F3DD <14 12 11 7 6 5 4 3 1>
MacBook-Pro-di-Mirco:RehabMan mirco$ kextstat|grep -y appleintelcpu
MacBook-Pro-di-Mirco:RehabMan mirco$ kextstat|grep -y applelpc
  139    0 0xffffff7f83937000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 7C24E741-BD4A-3917-83AC-E956A03ADC20 <92 12 5 4 3>
MacBook-Pro-di-Mirco:RehabMan mirco$  sudo touch /System/Library/Extensions && sudo kextcache -u /
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76dbbceb0 [0x7fff949275b0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76db5c070 [0x7fff949275b0]> { URL = "VoodooPS2Controller.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76db84a60 [0x7fff949275b0]> { URL = "VoodooPS2Mouse.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76db5db80 [0x7fff949275b0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76db5b4a0 [0x7fff949275b0]> { URL = "VoodooHDA.kext/ -- file:///System/Library/Extensions/", ID = "org.voodoo.driver.VoodooHDA" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76db16680 [0x7fff949275b0]> { URL = "USBInjectAll.kext/ -- file:///System/Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76daf8cb0 [0x7fff949275b0]> { URL = "RealtekRTL8111.kext/ -- file:///System/Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76d89f6d0 [0x7fff949275b0]> { URL = "FakeSMC.kext/ -- file:///System/Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd768dc6790 [0x7fff949275b0]> { URL = "BrcmPatchRAM2.kext/ -- file:///System/Library/Extensions/", ID = "com.no-one.BrcmPatchRAM2" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd768dc4490 [0x7fff949275b0]> { URL = "BrcmFirmwareRepo.kext/ -- file:///System/Library/Extensions/", ID = "com.no-one.BrcmFirmwareStore" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd768d5f0c0 [0x7fff949275b0]> { URL = "AppleHDADisabler.kext/ -- file:///System/Library/Extensions/", ID = "net.osrom.kext.Disabler" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd768e0d0e0 [0x7fff949275b0]> { URL = "ACPIBatteryManager.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }
KernelCache ID: 1630C349242C4FBAA17A5E2B6946827D
MacBook-Pro-di-Mirco:RehabMan mirco$
 

Attachments

  • CLOVER.zip
    1.7 MB · Views: 49
  • CLOVER.zip
    1.7 MB · Views: 74
  • ioreg.zip
    805.8 KB · Views: 65
  • RehabMan.zip
    67.6 KB · Views: 54
Hello! Thank you for your answer!
I followed your advice and removed all patched SSDT's and started over with DSDT. I had to remove SSDT.aml for CPU generated from prgen as I was getting a kernel panic.
Code:
Anonymous UUID:       3FA1BF97-5163-399E-155B-70AC2DB7412C

Sun Nov 12 11:30:46 2017

*** Panic Report ***
panic(cpu 0 caller 0xffffff801378a611): Kernel trap at 0xffffff801379ded0, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0x000000010146e000, CR3: 0x0000000029813000, CR4: 0x00000000003627e0
RAX: 0x000000007e008008, RBX: 0x000000000025de71, RCX: 0x00000000000000e2, RDX: 0x0000000000000000
RSP: 0xffffff820f173ed0, RBP: 0xffffff820f173f10, RSI: 0x000000007e008008, RDI: 0xffffff8013e0adb8
R8:  0x0000000000000008, R9:  0x0000000000000006, R10: 0x00000001beeb1ae6, R11: 0x00000001beeb1ae6
R12: 0xffffff8013e976a8, R13: 0x0000000000000000, R14: 0x00000001beeb1ec1, R15: 0xffffff81e2f1f000
RFL: 0x0000000000010046, RIP: 0xffffff801379ded0, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x000000010146e000, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0, VF: 0

Backtrace (CPU 0), Frame : Return Address
0xffffff81e2f2aa80 : 0xffffff801366d366
0xffffff81e2f2aac0 : 0xffffff8013798494
0xffffff81e2f2ab00 : 0xffffff801378a429
0xffffff81e2f2ab80 : 0xffffff801361f190
0xffffff81e2f2aba0 : 0xffffff801366cd8c
0xffffff81e2f2acd0 : 0xffffff801366cafc
0xffffff81e2f2ad30 : 0xffffff801378a611
0xffffff81e2f2aeb0 : 0xffffff801361f190
0xffffff81e2f2aed0 : 0xffffff801379ded0
0xffffff820f173f10 : 0xffffff801378c2ac
0xffffff820f173f30 : 0xffffff801368b3b2
0xffffff820f173f80 : 0xffffff801368b980
0xffffff820f173fa0 : 0xffffff801361c4f7

BSD process name corresponding to current thread: kernel_task
Boot args: darkwake=0 -v

Mac OS version:
17A405

Kernel version:
Darwin Kernel Version 17.0.0: Thu Aug 24 21:48:19 PDT 2017; root:xnu-4570.1.46~2/RELEASE_X86_64
Kernel UUID: B84FDEFC-9081-35CE-8C51-25A9583AACDE
Kernel slide:     0x0000000013400000
Kernel text base: 0xffffff8013600000
__HIB  text base: 0xffffff8013500000
System model name: MacBookPro14,3 (Mac-551B86E5744E2388)

System uptime in nanoseconds: 8205980092
last loaded kext at 7480685172: com.apple.driver.X86PlatformShim    1.0.0 (addr 0xffffff7f96d70000, size 32768)
loaded kexts:
com.nvidia.web.NVDAGP100HalWeb    10.2.5
com.nvidia.web.GeForceWeb    10.2.5
com.nvidia.web.NVDAResmanWeb    10.2.5
org.voodoo.driver.VoodooHDA    2.8.8
com.no-one.BrcmPatchRAM2    2.2.7
com.no-one.BrcmFirmwareStore    2.2.7
com.nvidia.NVDAStartupWeb    10.2.5
com.intel.driver.EnergyDriver    2.0
org.rehabman.voodoo.driver.PS2Mouse    1.8.28
org.rehabman.voodoo.driver.PS2Trackpad    1.8.28
org.rehabman.voodoo.driver.PS2Keyboard    1.8.28
com.insanelymac.RealtekRTL8111    2.2.1
net.osrom.kext.Disabler    1.0.1
org.rehabman.voodoo.driver.PS2Controller    1.8.28
as.lvs1974.NvidiaGraphicsFixup    1.2.1
as.lvs1974.HibernationFixup    1.2.0
as.vit9696.Lilu    1.2.0
org.rehabman.driver.AppleSmartBatteryManager    1.81.4
org.netkas.driver.FakeSMC    1765
com.rehabman.driver.USBInjectAll    0.6.2
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.ApplePlatformEnabler    2.7.0d0
com.apple.driver.AGPM    110.23.24
com.apple.driver.eficheck    1
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.driver.AppleLPC    3.1
com.apple.driver.AudioAUUC    1.70
com.apple.iokit.SCSITaskUserClient    404
com.apple.driver.AppleUSBODD    439
com.apple.iokit.IOBluetoothSerialManager    6.0.0f7
com.apple.driver.AppleUpstreamUserClient    3.6.4
com.apple.driver.AppleGraphicsDevicePolicy    3.16.19
com.apple.driver.AppleMCCSControl    1.5.3
com.apple.AGDCPluginDisplayMetrics    3.16.19
com.apple.driver.pmtelemetry    1
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.nvidia.NVDAStartup    10.2.4
com.apple.driver.AppleFIVRDriver    4.1.0
com.apple.driver.AppleIntelPCHPMC    1.1
com.apple.driver.AppleHV    1
com.apple.driver.AppleOSXWatchdog    1
com.apple.AVEBridge    1.0.0
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.AppleFileSystemDriver    3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.BootCache    40
com.apple.filesystems.hfs.kext    407.1.3
com.apple.driver.AirPort.BrcmNIC    1200.25.1a1
com.apple.driver.AppleAHCIPort    329
com.apple.driver.AppleACPIButtons    6.1
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleACPIEC    6.1
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.nke.applicationfirewall    183
com.apple.security.quarantine    3
com.apple.security.TMSafetyNet    8
com.apple.IOBufferCopyEngineTest    1
com.apple.driver.IOPlatformPluginLegacy    1.0.0
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice    404
com.apple.iokit.IOBDStorageFamily    1.8
com.apple.iokit.IODVDStorageFamily    1.8
com.apple.iokit.IOCDStorageFamily    1.8
com.apple.iokit.IOSerialFamily    11
com.apple.driver.AppleGraphicsControl    3.16.19
com.apple.driver.AppleSMBusController    1.0.18d1
com.apple.iokit.IOAcceleratorFamily2    373
com.apple.iokit.IOTimeSyncFamily    600.15
com.apple.iokit.IONDRVSupport    517.17
com.apple.iokit.IOSurface    209
com.apple.iokit.IOBluetoothFamily    6.0.0f7
com.apple.driver.IOPlatformPluginFamily    6.0.0d8
com.apple.driver.AppleSSE    1.0
com.apple.driver.AppleSMBusPCI    1.0.14d1
com.apple.AppleGPUWrangler    3.16.19
com.apple.AppleGraphicsDeviceControl    3.16.19
com.apple.iokit.IOGraphicsFamily    517.17
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.driver.usb.IOUSBHostHIDDevice    1.2
com.apple.driver.AppleUSBAudio    310.35
com.apple.iokit.IOAudioFamily    206.5
com.apple.vecLib.kext    1.2.0
com.apple.driver.AppleUSBHostMergeProperties    1.2
com.apple.driver.usb.AppleUSBHub    1.2
com.apple.driver.usb.cdc    5.0.0
com.apple.driver.usb.networking    5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.2
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.AppleXsanScheme    3
com.apple.iokit.IOAHCIBlockStorage    301.1.2
com.apple.iokit.IONVMeFamily    2.1.0
com.apple.iokit.IO80211Family    1200.12.2
com.apple.driver.mDNSOffloadUserClient    1.0.1b8
com.apple.driver.corecapture    1.0.4
com.apple.iokit.IONetworkingFamily    3.3
com.apple.driver.AppleIntelLpssGspi    3.0.60
com.apple.iokit.IOAHCIFamily    288
com.apple.driver.usb.AppleUSBXHCIPCI    1.2
com.apple.driver.usb.AppleUSBXHCI    1.2
com.apple.driver.usb.AppleUSBHostPacketFilter    1.0
com.apple.iokit.IOUSBFamily    900.4.1
com.apple.driver.AppleEFINVRAM    2.1
com.apple.driver.AppleEFIRuntime    2.1
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.iokit.IOSMBusFamily    1.1
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleUSBTDM    439
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.iokit.IOUSBMassStorageDriver    140
com.apple.iokit.IOSCSIBlockCommandsDevice    404
com.apple.iokit.IOSCSIArchitectureModelFamily    404
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.KernelRelayHost    1
com.apple.iokit.IOUSBHostFamily    1.2
com.apple.driver.usb.AppleUSBCommon    1.0
com.apple.driver.AppleBusPowerController    1.0
com.apple.driver.AppleSEPManager    1.0.1
com.apple.driver.IOSlaveProcessor    1
com.apple.iokit.IOBufferCopyEngineFamily    1
com.apple.driver.DiskImages    480.1.2
com.apple.iokit.IOStorageFamily    2.1
com.apple.iokit.IOReportFamily    31
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleACPIPlatform    6.1
com.apple.driver.AppleSMCRTC    1.0
com.apple.driver.AppleSMC    3.1.9
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread    1
com.apple.kec.Libm    1
com.apple.kec.corecrypto    1.0

EOF

The panic is due to a mistake in your config.plist.
You have the _xcpm_idle patch (in KernelAndKextPatches/KernelToPatch), but is marked only for 10.12.
But you are running 10.13, hence the panic.

Note also that MacBookPro14,3 is a poor choice. Use MacBookPro14,1 instead.

Regarding DSDT Patching. I've followed the guide to Patch battery: now battery indicator it's showing and AC is correctly detected but indicator is stuck at 99% (HP Omen 17-w102nl). I think I've done everything correctly, there may be some problem in Buffer Fields, has the FLDx fields had all the same Offset, with different bits. I don't know if I handled it correctly, could you please have a look? Thank you!

What do you mean "stuck at 99%". If your battery is only discharged to 99%, you should not expect it to start charging until it discharges to a lower threshold. Usually around 92%. It is done in the EC to conserve battery life (eliminate small charging cycles).
 
Hello all!
I just finished installing and configuring High Sierra on my HP Omen 17-w102nl (Info in Signature). This model has only GTX1070 video card (no intel HD device). I have successfully installed it with Windows 10 in Dual Boot, but still have some issues on OSX:
  • Shutdown / Reboot doesn't work. It shuts down everything (Monitor, USB Power, etc...) but it never turn totally off, same for reboot. Sleep works well.
  • I think battery indicator is not working. It was not showing at all, so I have patched DSDT applying an HP patch. Now it shows in status bar, but it is stuck at 99%.
  • Trackpad works well, but if I use laptop with external monitors and Lid closed after a while it starts to move windows up and down, like I'm scrolling.
  • Brightness is not working at all (can't find a guide to make it working... is that possible?). I am using Brightness Slider from AppStore to fix brightness when I use it as a laptop. No need when I have external monitor of course.
  • Not sure if Power Management is working, in Intel Power Gadget I see CPU Package at 12W. It seems a lot to me.
Everything else is working: audio, Wifi, BT, video ports, USB, USB PM etc...

Thank you very much for your help!

Terminal Output:
Code:
MacBook-Pro-di-Mirco:Downloads mirco$ kextstat|grep -y acpiplat
   15    2 0xffffff7f83749000 0x9c000    0x9c000    com.apple.driver.AppleACPIPlatform (6.1) 642EF8D6-8F86-3F92-B450-FDC9BAE4F3DD <14 12 11 7 6 5 4 3 1>
MacBook-Pro-di-Mirco:Downloads mirco$ kextstat|grep -y appleintelcpu
MacBook-Pro-di-Mirco:Downloads mirco$ kextstat|grep -y applelpc
MacBook-Pro-di-Mirco:Downloads mirco$ kextstat|grep -y applehda
MacBook-Pro-di-Mirco:Downloads mirco$ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
ls: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*: No such file or directory
MacBook-Pro-di-Mirco:Downloads mirco$ pmset -g assertions
2017-11-10 19:59:11 +0100
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 96(hidd): [0x0000019600098227] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968780.3"
    Timeout will fire in 120 secs Action=TimeoutActionRelease
   pid 183(nsurlsessiond): [0x0000001b000b812d] 00:27:07 BackgroundTask named: "NSURLSessionTask A5E5A4D3-23BB-4C2F-AE60-E5B7B046E473"
   pid 183(nsurlsessiond): [0x00000019000b8126] 00:27:08 BackgroundTask named: "NSURLSessionTask 9C1ADEA6-0E52-4990-A085-31C6BA9E5D43"
   pid 183(nsurlsessiond): [0x00000019000b8124] 00:27:08 BackgroundTask named: "NSURLSessionTask 5114FB6D-401B-4C57-89EC-A4E452203153"
Kernel Assertions: 0x5=CPU,USB
   id=503  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14100000 owner=4-Port USB 2.0 Hub
   id=505  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14600000 owner=4-Port USB 3.0 Hub
   id=507  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14110000 owner=Razer BlackWidow Ultimate
   id=508  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14130000 owner=HD Pro Webcam C920
   id=509  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14200000 owner=4-Port USB 2.0 Hub
   id=513  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14210000 owner=Anua Mic CM 900
   id=514  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14220000 owner=Stream Deck
   id=523  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14800000 owner=Razer Ripsaw
   id=524  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14140000 owner=Razer DeathAdder 2013
   id=857  level=255 0x4=USB mod=01/01/70, 01:00 description=com.apple.usb.externaldevice.14700000 owner=4-Port USB 3.0 Hub
   id=858  level=255 0x1=CPU mod=01/01/70, 01:00 description=com.apple.usb.hub.14700000 owner=AppleUSB30Hub
Idle sleep preventers: IODisplayWrangler
MacBook-Pro-di-Mirco:Downloads mirco$ system_profiler SPSerialATADataType|grep TRIM
MacBook-Pro-di-Mirco:Downloads mirco$

Code:
MacBook-Pro-di-Mirco:Downloads mirco$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560aaca90 [0x7fffa04365b0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a4bc50 [0x7fffa04365b0]> { URL = "VoodooPS2Controller.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a74640 [0x7fffa04365b0]> { URL = "VoodooPS2Mouse.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a4d760 [0x7fffa04365b0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a4b080 [0x7fffa04365b0]> { URL = "VoodooHDA.kext/ -- file:///System/Library/Extensions/", ID = "org.voodoo.driver.VoodooHDA" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa560a04ba0 [0x7fffa04365b0]> { URL = "USBInjectAll.kext/ -- file:///System/Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa5609e6c60 [0x7fffa04365b0]> { URL = "RealtekRTL8111.kext/ -- file:///System/Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55f796030 [0x7fffa04365b0]> { URL = "FakeSMC.kext/ -- file:///System/Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55cf10b70 [0x7fffa04365b0]> { URL = "BrcmPatchRAM2.kext/ -- file:///System/Library/Extensions/", ID = "com.no-one.BrcmPatchRAM2" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55cf0fa80 [0x7fffa04365b0]> { URL = "BrcmFirmwareRepo.kext/ -- file:///System/Library/Extensions/", ID = "com.no-one.BrcmFirmwareStore" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55f03f880 [0x7fffa04365b0]> { URL = "AppleHDADisabler.kext/ -- file:///System/Library/Extensions/", ID = "net.osrom.kext.Disabler" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa55ce02350 [0x7fffa04365b0]> { URL = "ACPIBatteryManager.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }
KernelCache ID: E412DB17B86AB4EBF7880D7BF350FBCD
MacBook-Pro-di-Mirco:Downloads mirco$
Hello! Thank you for your answer!
I followed your advice and removed all patched SSDT's and started over with DSDT. I had to remove SSDT.aml for CPU generated from prgen as I was getting a kernel panic.
Code:
Anonymous UUID:       3FA1BF97-5163-399E-155B-70AC2DB7412C

Sun Nov 12 11:30:46 2017

*** Panic Report ***
panic(cpu 0 caller 0xffffff801378a611): Kernel trap at 0xffffff801379ded0, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0x000000010146e000, CR3: 0x0000000029813000, CR4: 0x00000000003627e0
RAX: 0x000000007e008008, RBX: 0x000000000025de71, RCX: 0x00000000000000e2, RDX: 0x0000000000000000
RSP: 0xffffff820f173ed0, RBP: 0xffffff820f173f10, RSI: 0x000000007e008008, RDI: 0xffffff8013e0adb8
R8:  0x0000000000000008, R9:  0x0000000000000006, R10: 0x00000001beeb1ae6, R11: 0x00000001beeb1ae6
R12: 0xffffff8013e976a8, R13: 0x0000000000000000, R14: 0x00000001beeb1ec1, R15: 0xffffff81e2f1f000
RFL: 0x0000000000010046, RIP: 0xffffff801379ded0, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x000000010146e000, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0, VF: 0

Backtrace (CPU 0), Frame : Return Address
0xffffff81e2f2aa80 : 0xffffff801366d366
0xffffff81e2f2aac0 : 0xffffff8013798494
0xffffff81e2f2ab00 : 0xffffff801378a429
0xffffff81e2f2ab80 : 0xffffff801361f190
0xffffff81e2f2aba0 : 0xffffff801366cd8c
0xffffff81e2f2acd0 : 0xffffff801366cafc
0xffffff81e2f2ad30 : 0xffffff801378a611
0xffffff81e2f2aeb0 : 0xffffff801361f190
0xffffff81e2f2aed0 : 0xffffff801379ded0
0xffffff820f173f10 : 0xffffff801378c2ac
0xffffff820f173f30 : 0xffffff801368b3b2
0xffffff820f173f80 : 0xffffff801368b980
0xffffff820f173fa0 : 0xffffff801361c4f7

BSD process name corresponding to current thread: kernel_task
Boot args: darkwake=0 -v

Mac OS version:
17A405

Kernel version:
Darwin Kernel Version 17.0.0: Thu Aug 24 21:48:19 PDT 2017; root:xnu-4570.1.46~2/RELEASE_X86_64
Kernel UUID: B84FDEFC-9081-35CE-8C51-25A9583AACDE
Kernel slide:     0x0000000013400000
Kernel text base: 0xffffff8013600000
__HIB  text base: 0xffffff8013500000
System model name: MacBookPro14,3 (Mac-551B86E5744E2388)

System uptime in nanoseconds: 8205980092
last loaded kext at 7480685172: com.apple.driver.X86PlatformShim    1.0.0 (addr 0xffffff7f96d70000, size 32768)
loaded kexts:
com.nvidia.web.NVDAGP100HalWeb    10.2.5
com.nvidia.web.GeForceWeb    10.2.5
com.nvidia.web.NVDAResmanWeb    10.2.5
org.voodoo.driver.VoodooHDA    2.8.8
com.no-one.BrcmPatchRAM2    2.2.7
com.no-one.BrcmFirmwareStore    2.2.7
com.nvidia.NVDAStartupWeb    10.2.5
com.intel.driver.EnergyDriver    2.0
org.rehabman.voodoo.driver.PS2Mouse    1.8.28
org.rehabman.voodoo.driver.PS2Trackpad    1.8.28
org.rehabman.voodoo.driver.PS2Keyboard    1.8.28
com.insanelymac.RealtekRTL8111    2.2.1
net.osrom.kext.Disabler    1.0.1
org.rehabman.voodoo.driver.PS2Controller    1.8.28
as.lvs1974.NvidiaGraphicsFixup    1.2.1
as.lvs1974.HibernationFixup    1.2.0
as.vit9696.Lilu    1.2.0
org.rehabman.driver.AppleSmartBatteryManager    1.81.4
org.netkas.driver.FakeSMC    1765
com.rehabman.driver.USBInjectAll    0.6.2
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.ApplePlatformEnabler    2.7.0d0
com.apple.driver.AGPM    110.23.24
com.apple.driver.eficheck    1
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.driver.AppleLPC    3.1
com.apple.driver.AudioAUUC    1.70
com.apple.iokit.SCSITaskUserClient    404
com.apple.driver.AppleUSBODD    439
com.apple.iokit.IOBluetoothSerialManager    6.0.0f7
com.apple.driver.AppleUpstreamUserClient    3.6.4
com.apple.driver.AppleGraphicsDevicePolicy    3.16.19
com.apple.driver.AppleMCCSControl    1.5.3
com.apple.AGDCPluginDisplayMetrics    3.16.19
com.apple.driver.pmtelemetry    1
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.nvidia.NVDAStartup    10.2.4
com.apple.driver.AppleFIVRDriver    4.1.0
com.apple.driver.AppleIntelPCHPMC    1.1
com.apple.driver.AppleHV    1
com.apple.driver.AppleOSXWatchdog    1
com.apple.AVEBridge    1.0.0
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.AppleFileSystemDriver    3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.BootCache    40
com.apple.filesystems.hfs.kext    407.1.3
com.apple.driver.AirPort.BrcmNIC    1200.25.1a1
com.apple.driver.AppleAHCIPort    329
com.apple.driver.AppleACPIButtons    6.1
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleACPIEC    6.1
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.nke.applicationfirewall    183
com.apple.security.quarantine    3
com.apple.security.TMSafetyNet    8
com.apple.IOBufferCopyEngineTest    1
com.apple.driver.IOPlatformPluginLegacy    1.0.0
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice    404
com.apple.iokit.IOBDStorageFamily    1.8
com.apple.iokit.IODVDStorageFamily    1.8
com.apple.iokit.IOCDStorageFamily    1.8
com.apple.iokit.IOSerialFamily    11
com.apple.driver.AppleGraphicsControl    3.16.19
com.apple.driver.AppleSMBusController    1.0.18d1
com.apple.iokit.IOAcceleratorFamily2    373
com.apple.iokit.IOTimeSyncFamily    600.15
com.apple.iokit.IONDRVSupport    517.17
com.apple.iokit.IOSurface    209
com.apple.iokit.IOBluetoothFamily    6.0.0f7
com.apple.driver.IOPlatformPluginFamily    6.0.0d8
com.apple.driver.AppleSSE    1.0
com.apple.driver.AppleSMBusPCI    1.0.14d1
com.apple.AppleGPUWrangler    3.16.19
com.apple.AppleGraphicsDeviceControl    3.16.19
com.apple.iokit.IOGraphicsFamily    517.17
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.driver.usb.IOUSBHostHIDDevice    1.2
com.apple.driver.AppleUSBAudio    310.35
com.apple.iokit.IOAudioFamily    206.5
com.apple.vecLib.kext    1.2.0
com.apple.driver.AppleUSBHostMergeProperties    1.2
com.apple.driver.usb.AppleUSBHub    1.2
com.apple.driver.usb.cdc    5.0.0
com.apple.driver.usb.networking    5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.2
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.AppleXsanScheme    3
com.apple.iokit.IOAHCIBlockStorage    301.1.2
com.apple.iokit.IONVMeFamily    2.1.0
com.apple.iokit.IO80211Family    1200.12.2
com.apple.driver.mDNSOffloadUserClient    1.0.1b8
com.apple.driver.corecapture    1.0.4
com.apple.iokit.IONetworkingFamily    3.3
com.apple.driver.AppleIntelLpssGspi    3.0.60
com.apple.iokit.IOAHCIFamily    288
com.apple.driver.usb.AppleUSBXHCIPCI    1.2
com.apple.driver.usb.AppleUSBXHCI    1.2
com.apple.driver.usb.AppleUSBHostPacketFilter    1.0
com.apple.iokit.IOUSBFamily    900.4.1
com.apple.driver.AppleEFINVRAM    2.1
com.apple.driver.AppleEFIRuntime    2.1
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.iokit.IOSMBusFamily    1.1
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleUSBTDM    439
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.iokit.IOUSBMassStorageDriver    140
com.apple.iokit.IOSCSIBlockCommandsDevice    404
com.apple.iokit.IOSCSIArchitectureModelFamily    404
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.KernelRelayHost    1
com.apple.iokit.IOUSBHostFamily    1.2
com.apple.driver.usb.AppleUSBCommon    1.0
com.apple.driver.AppleBusPowerController    1.0
com.apple.driver.AppleSEPManager    1.0.1
com.apple.driver.IOSlaveProcessor    1
com.apple.iokit.IOBufferCopyEngineFamily    1
com.apple.driver.DiskImages    480.1.2
com.apple.iokit.IOStorageFamily    2.1
com.apple.iokit.IOReportFamily    31
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleACPIPlatform    6.1
com.apple.driver.AppleSMCRTC    1.0
com.apple.driver.AppleSMC    3.1.9
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread    1
com.apple.kec.Libm    1
com.apple.kec.corecrypto    1.0

EOF

Regarding DSDT Patching. I've followed the guide to Patch battery: now battery indicator it's showing and AC is correctly detected but indicator is stuck at 99% (HP Omen 17-w102nl). I think I've done everything correctly, there may be some problem in Buffer Fields, has the FLDx fields had all the same Offset, with different bits. I don't know if I handled it correctly, could you please have a look? Thank you!
Shutdown now works, reboot results in everything shutting down, but PC stays there with black screen.

Terminal Outputs:
Code:
MacBook-Pro-di-Mirco:RehabMan mirco$ kextstat|grep -y acpiplat
   15    2 0xffffff7f83759000 0x9c000    0x9c000    com.apple.driver.AppleACPIPlatform (6.1) 642EF8D6-8F86-3F92-B450-FDC9BAE4F3DD <14 12 11 7 6 5 4 3 1>
MacBook-Pro-di-Mirco:RehabMan mirco$ kextstat|grep -y appleintelcpu
MacBook-Pro-di-Mirco:RehabMan mirco$ kextstat|grep -y applelpc
  139    0 0xffffff7f83937000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 7C24E741-BD4A-3917-83AC-E956A03ADC20 <92 12 5 4 3>
MacBook-Pro-di-Mirco:RehabMan mirco$  sudo touch /System/Library/Extensions && sudo kextcache -u /
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76dbbceb0 [0x7fff949275b0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76db5c070 [0x7fff949275b0]> { URL = "VoodooPS2Controller.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76db84a60 [0x7fff949275b0]> { URL = "VoodooPS2Mouse.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76db5db80 [0x7fff949275b0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76db5b4a0 [0x7fff949275b0]> { URL = "VoodooHDA.kext/ -- file:///System/Library/Extensions/", ID = "org.voodoo.driver.VoodooHDA" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76db16680 [0x7fff949275b0]> { URL = "USBInjectAll.kext/ -- file:///System/Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76daf8cb0 [0x7fff949275b0]> { URL = "RealtekRTL8111.kext/ -- file:///System/Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd76d89f6d0 [0x7fff949275b0]> { URL = "FakeSMC.kext/ -- file:///System/Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd768dc6790 [0x7fff949275b0]> { URL = "BrcmPatchRAM2.kext/ -- file:///System/Library/Extensions/", ID = "com.no-one.BrcmPatchRAM2" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd768dc4490 [0x7fff949275b0]> { URL = "BrcmFirmwareRepo.kext/ -- file:///System/Library/Extensions/", ID = "com.no-one.BrcmFirmwareStore" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd768d5f0c0 [0x7fff949275b0]> { URL = "AppleHDADisabler.kext/ -- file:///System/Library/Extensions/", ID = "net.osrom.kext.Disabler" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd768e0d0e0 [0x7fff949275b0]> { URL = "ACPIBatteryManager.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }
KernelCache ID: 1630C349242C4FBAA17A5E2B6946827D
MacBook-Pro-di-Mirco:RehabMan mirco$

I have exactly the same problem, I just can't shutdown, restart or logout post El Capitan. Sierra and High Sierra have same problem on my Sony Vaio vpceh25en core i3 2ng gen with Nvidia 410m. And there is one more issue, the system freezes while touch any display related setting.
 
Status
Not open for further replies.
Back
Top