Jump to content
chatdeau

HP Z400/Z600/Z800 Workstations OS X 10.10.x/10.11.x Installation

1,482 posts in this topic

Recommended Posts

Hi, I read the last 30 pages.

 

I would like to buy a HP Z620 with 1 Xeon E5-2680 / 32GB Ram

 

+ GPU HD7870 working oob

 

 

Is it still possible to install macOS 10.13?

Share this post


Link to post
Share on other sites
Advertisement

Yes

Thanks Rockey12!.

 

Reading in the thread I understood that it was no longer possible with HighSierra 10.13.2 / 10.13.3
 
Following your guide, will you confirm that it is still possible?

Share this post


Link to post
Share on other sites

put All The Kexts into EFI/CLOVER directory for macOS 10.13.2 in 10.13.2directory. Have fun!

How to install MacOS Sierra 10.12.3 on HP Z620 Workstation.

download macOS Sierra Installer (go to App Store to download).

create a USB Installer.

 to create a bootable USB. However, we have to use kexts from CustoMac Essential package and put these kexts to /Volumes/EFI/EFI/CLOVER/kexts/Other/ directory (mount your EFI partition first!)

 

Here the Tricks

Note: I put my /Volumes/EFI/EFI/CLOVER directory and all kexts we need in the repo.

 

  • Install the lastest CLOVER (e.g., v2k4)
  • We have to use flag npci=0x2000 all the time. (I also use dart=1)
  • Z620 crashes randomly when booting, we can fix that with flag cpus=1. However, this makes our PC slow (only 1 CPU!!), therefore, we fix this problem by installing VoodooTSCSync.kext at /System/Library/Extensions . Remember to fix permission. E.g.
    chmod -R 755 /System/Library/Extensions/* && chown -R root:wheel /System/Library/Extensions/* && kextcache -system-caches.
  • We got problem with USB ports (therefore, cannot install from USB). We fix it by:
    • First, Use Clover Configurator V4.39.1 app to mount EFI and patch ACPI (Look at "List of Patches" in Acpi menu and apply All Of Them)
    • Install USBInjectAll.kext to inject all USB ports!
  • HP Z620 crashes with many versions of FakeSMC and NullCPUPowerManagement.kext, so please use those

 

http://sixflow.net/osx86/index.php?mid=System&document_srl=83674&cpage=1#comment

untitled folder.zip

Share this post


Link to post
Share on other sites

 Unfortunately I can not get to the installer of 10.13.3

Clover 4415

HP Z620 Bios 3.91

CPU E5-2680

Bios settings as a guide

drivers64 and kext (other and 10.13 folder) with the kext you gave me.

I tried to boot with -v npci=0x2000 and debug=0x100 to try to understand what the problem is.

 

 

 

Tips?

 

I think i need this patch 

 

http://www.insanelymac.com/forum/topic/326200-new-possibilities-for-x79-appleacpiplatform-panic/page-3

 

EDIT:

 

 

I added my EFI folder and the origin folder generated by Clover F4

 

 

 

Tips?put All The Kexts into EFI/CLOVER directory for macOS 10.13.2 in 10.13.2directory. Have fun!

How to install MacOS Sierra 10.12.3 on HP Z620 Workstation.

download macOS Sierra Installer (go to App Store to download).

create a USB Installer.

 to create a bootable USB. However, we have to use kexts from CustoMac Essential package and put these kexts to /Volumes/EFI/EFI/CLOVER/kexts/Other/ directory (mount your EFI partition first!)

 

Here the Tricks

Note: I put my /Volumes/EFI/EFI/CLOVER directory and all kexts we need in the repo.

 

  • Install the lastest CLOVER (e.g., v2k4)
  • We have to use flag npci=0x2000 all the time. (I also use dart=1)
  • Z620 crashes randomly when booting, we can fix that with flag cpus=1. However, this makes our PC slow (only 1 CPU!!), therefore, we fix this problem by installing VoodooTSCSync.kext at /System/Library/Extensions . Remember to fix permission. E.g.
    chmod -R 755 /System/Library/Extensions/* && chown -R root:wheel /System/Library/Extensions/* && kextcache -system-caches.
  • We got problem with USB ports (therefore, cannot install from USB). We fix it by:
    • First, Use Clover Configurator V4.39.1 app to mount EFI and patch ACPI (Look at "List of Patches" in Acpi menu and apply All Of Them)
    • Install USBInjectAll.kext to inject all USB ports!
  • HP Z620 crashes with many versions of FakeSMC and NullCPUPowerManagement.kext, so please use those

 

http://sixflow.net/osx86/index.php?mid=System&document_srl=83674&cpage=1#comment

EFI.zip

origin.zip

Share this post


Link to post
Share on other sites

I just followed some Rehabman guides to install MaciASL, Patchmatic etc.

 

I have tried Clover DSDT patch...

 

 

I'm trying but I do not have enough knowledge to succeed

 

 

I am reading the file DSTD.dsl and looking for the values ​​that modify in the guide (SCK0, CPUSCK0) but I can not find them with MaciASL, probably the extracted data are not similar.

 

 

sorry my friend  but you didn't patch your dsdt how can you expect to install any thing   

your clover ACPI patched folder is empty there is no dsdt or any ssdt  

 

 

http://www.insanelymac.com/forum/topic/326200-new-possibilities-for-x79-appleacpiplatform-panic/?p=2489834

Share this post


Link to post
Share on other sites

Rockey12,

 

Thank you, I believe there is positive progress !.

 

I attached photos of the KP, could it depend on the CPU E5-2680 v1 ??

 

Archivio.zip

 

 

use this config.Plist as a reference this one is from z420

 

ssdt from z420 as a reference

 

Share this post


Link to post
Share on other sites

so please don't use this ssdt in your clover folder patch your own ssdt 

 

celect all the patches in config.plist and let the clover to patch  dsdt and ssdt for you  dureanig the clover start press F5

Share this post


Link to post
Share on other sites

Excuse me, I feel very stupid to ask.

Ok for the config.plist part and the patches.

Patch my SSDT what do you mean?

With the SSDT.aml you attached me what do I do?

 

so please don't use this ssdt in your clover folder patch your own ssdt 

 

celect all the patches in config.plist and let the clover to patch  dsdt and ssdt for you  dureanig the clover start press F5

Share this post


Link to post
Share on other sites

I solved with a user who contacted me via PM.

 

@Rockey12 I have read of your workstation with bricked bios, have you tried to restore it with the Boot Block Recovery mode (E15 jumper + USB with bios .bin?

 

Excuse me, I feel very stupid to ask.

Ok for the config.plist part and the patches.

Patch my SSDT what do you mean?

With the SSDT.aml you attached me what do I do?

Share this post


Link to post
Share on other sites

I am wondering if anyone has an HP Z420 with Native sound working?

 

I have moved up from a z400 with native audio working with patched DSDT + Patched Apple HDA and Codeccommander. 

Since both the z400 and Z420 both use realtek ALC262, I used the same DSDT/HDEF patch on my patched Z420 DSDT + Clover Inject Layout 28 + AppleALC 1.2.3 without success. 

Audio is of course working with VoodooHDA but I can not get Native Audio working.

Everything else working great include native power + speed stepping, LAN, and USB2 ports(not 3).

 

 

Current config: HP Z420, QuadCore Xeon E5-1620, Nvidia Quadro K2000, 48gb Ram, 256 Samsung SSD, Clover Bootloader.

Edited by apav

Share this post


Link to post
Share on other sites
10 hours ago, jaymack said:

I would like to patch the DSDT as I also have an HP Z400 with Realtek ALC262. Can you share the patch?

Sure, see attached.

 

HDEF:DSDT.dsl

Share this post


Link to post
Share on other sites
On 1.4.2018 at 3:02 AM, apav said:

Since both the z400 and Z420 both use realtek ALC262, I used the same DSDT/HDEF patch on my patched Z420 DSDT + Clover Inject Layout 28 + AppleALC 1.2.3 without success. 

AppleALC.kext needs Lilu.kext
AppleALC alone is not working

https://github.com/vit9696/AppleALC/releases

https://github.com/vit9696/Lilu/releases

Share this post


Link to post
Share on other sites
On 4/9/2018 at 1:12 AM, MacPeet said:

AppleALC.kext needs Lilu.kext
AppleALC alone is not working

https://github.com/vit9696/AppleALC/releases

https://github.com/vit9696/Lilu/releases

Yes, I was using AppleALC + LILU + I tried to patch my DSDT using previous Z400 HDEF patch but wasn't working for me. MaLd0n was able to correctly add DSDT HDEF patch and I now have native sound on my Z420.

Thanks.

Share this post


Link to post
Share on other sites

Hi

I would like to ask if someone work with AMD r580 GPU because I would like to upgrade to this card for after effects

My workstation is

HP Z800 2 x 3,32 GHz 6-Core Intel Xeon | 48gb | GTX titan 6gb | Sierra 10.12.6

All works fine

Edited by post6522

Share this post


Link to post
Share on other sites

Radeon Pro WX 7100  is the best choice

Here's the detailed post. It's kind of long because this happened over the course of a few days of debugging/tinkering.

I'm using:

  • Clover v2.4k r4380
  • Kexts:
    • AppleALC
    • FakeSMC
    • Lilu
    • RealtekRTL8111
    • USBInjectAll
    • WhateverGreen
    • patched AMD kexts (details below)
  • Boot Options:
    • dart=0
    • Inject ATI=False

Story:

I was having a ton of problems with High Sierra. Initially, I tried to do an in-place update from Sierra and that didn't work, I'm not sure what exactly happened. I decided to do a clean High Sierra install.

 

I was able to get through the installation process up to where you're prompted for username, etc. I saw the Apple logo and the loading bar get about half way, then a flash on the screen, then the screen turned black, the backlight on the screen was still and and I didn't get any "no signal" messages so it seemed like it booted up fine, just no video. I tried reinstalling a few times to see if it was something that went wrong during install and I kept getting the same results.

 

Eventually, I tried booting into safe mode (-x) and was then able to complete the installation. After the installation completed, everytime I tried booting normally into the OS it would go to the same black screen that occurred during installation. Booting into safe mode, however, seemed to work fine but without video acceleration.

 

First, I attempted to use the framebuffer patching guide. I gave up on it because I was never able to find a framebuffer in the AMD9500Controller.kext that had the same number of ports (4 display ports) as the WX 7100.

 

I was able to get this video card to work previously in Sierra by patching some of the kexts with the WX 7100's device id. I wasn't sure which kexts to add the device id to in High Sierra.

 

In safe mode, I dumped the currently loaded kexts and made note of all the AMD kexts that were loaded (kextstat -l | grep AMD). Here is a list of the loaded kexts:

 

96    2 0xffffff7f817b1000 0x1f8000   0x1f8000   com.apple.kext.AMDSupport (1.6.0) 441E3318-2B41-3EC8-95CA-7A098B2801F5 <94 93 11 10 7 5 4 3 1>
104    0 0xffffff7f819a9000 0x64000    0x64000    com.apple.kext.AMD9500Controller (1.6.0) 74FE706C-076A-3302-9D0D-12846730C210 <96 94 93 11 10 5 4 3 1>
112    0 0xffffff7f83a29000 0x28000    0x28000    com.apple.kext.AMDFramebuffer (1.6.0) 74616066-E134-31AD-AEE8-40BB1420567B <96 93 11 10 7 5 4 3 1>

 

I also enabled remote login while in safe mode so that I could ssh into the machine. I booted normally into the machine and was met with another black screen. From another computer, I ssh'ed into the machine and performed the same kextstat -l | grep AMD to see which kexts had loaded. Here is the output:

 

106    2 0xffffff7f82603000 0x1db000   0x1db000   com.apple.kext.AMDSupport (1.6.0) 441E3318-2B41-3EC8-95CA-7A098B2801F5 <105 99 12 11 7 5 4 3 1>
112    0 0xffffff7f82834000 0x64000    0x64000    com.apple.kext.AMD9500Controller (1.6.0) 74FE706C-076A-3302-9D0D-12846730C210 <106 105 99 12 11 5 4 3 1>
134    0 0xffffff7f82c55000 0x84f000   0x84f000   com.apple.kext.AMDRadeonX4250 (1.6.0) BE3FD082-A557-3556-B357-EDD2DFC63E7A <133 124 99 12 7 5 4 3 1>
137    0 0xffffff7f834b2000 0x28000    0x28000    com.apple.kext.AMDFramebuffer (1.6.0) 74616066-E134-31AD-AEE8-40BB1420567B <106 99 12 11 7 5 4 3 1>

 

The first thing I did was try removing the AMDRadeonX4250.kext, the only different kext that was loaded during normal mode versus safe mode. After removing this, the computer could boot in normal mode with video output but still without video acceleration.

 

After this, I remembered that the WX 7100 is very similar to the RX 480/580 (device id 0x67DF1002). So, I found every instance of 0x67DF1002 that appeared in the AMD kexts (grep -R 0x67DF1002 /System/Library/Extensions/AMD*). Here's a list of the kexts that contain the RX 480/580 device id:

 

/System/Library/Extensions/AMD9500Controller.kext/Contents/Info.plist
/System/Library/Extensions/AMD9520Controller.kext/Contents/Info.plist
/System/Library/Extensions/AMDRadeonX4000.kext/Contents/Info.plist
/System/Library/Extensions/AMDRadeonX4000HWServices.kext/Contents/Info.plist
/System/Library/Extensions/AMDRadeonX4200.kext/Contents/Info.plist
/System/Library/Extensions/AMDRadeonX4250.kext/Contents/Info.plist

 

So, I editted each of these kexts to include 0x67C41002. Rebuilt the kext cache (sudo kextcache -i /). Then, booted up in normal mode and was greeted with full video acceleration.

 

This probably could have been accomplished by spoofing the RX 480/580 device id, but I learned a lot through this process and thought I'd share my experience with all of you.

Share this post


Link to post
Share on other sites

Hello hackintoshers. I know this thread is getting long and old, but I am about to try my first hackintosh. Has anyone installed MacOS Sierra 10.12.6 with Clover on a HP Z440 workstation (Xeon E5-1620 v4, Intel C612 chipset, Realtek HD ALC221 audio)? I am using a Sapphire Pulse Radeon RX 580 8GB. Windows 10 Pro is running now.

What kexts do I need? From countless threads and tutorials I have come up with this list:

AppleALC.kext

AppleIntelE1000e.kext

AtherosE2200Ethernet.kext

CoreDisplayFixup.kext

EFICheckDisabler.kext

FakeSMC.kext

IntelGraphicsFixup.kext

Lilu.kext

NullCPUPowerManagement.kext

RealtekRTL8111.kext

Shiki.kext

USBInjectAll.kext

VoodooHDA.kext

VoodooPS2Controller.kext

WhateverGreen.kext

XHCI-x99-injector.kext

 

Others I have seen:

XHCI-x99-injector.kext

AHCIPortInjector_v1.0.0.kext

IOAHCIBlockStorageInjector_v1.0.0.kext

NvidiaGraphicsFixup.kext

 

But I think some of these may be for laptops.

Is it a problem to install unnecessary kexts? Or the more, the merrier? Do I need to edit a DSDT? Or does Clover Configurator or 'that beasty thing' do this for me?

 

When I get it running, can I upgrade to High Sierra 10.13.4 from the App Store without a care, or does some of the above need to change? Would I be better off creating my USB installer for High Sierra to begin with?

What problems should I expect?

Edited by Jon_K

Share this post


Link to post
Share on other sites

Can someone help me with installing high sierra on a HP Workstation Z640. I have never done this before so I'm really confused about what needs to happen. I created a bootable usb installer. I boot up to the "Clover Boot Manager" and when I click "install macOS high sierra" the apple logo comes up but that's it; no loading bar and it's just stuck there. the screen is also offset so the apple logo is closer to the bottom right of the screen(I don't know if that's important). when I use verbose mode setting it gives me this

 

. I take it that means barely anything has happened.

 

I also decided to try the bootable usb on my laptop( ASUS G750jx - nvidia gtx 770M - intel corei7 4700HQ). In this case it doesn't even show the apple logo. It simply shows the computers default startup logo( Replublic Of Gamers Logo) but curiously also offsets the screen when its showing this logo. it then proceeds to startup up to my normal windows log in screen.

 

  I however did not use [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] installer to make the bootable disk I used the os terminal with the command by following this guide http://hackintosher.com/guides/make-macos-flash-drive-installer/

 

I am following this guide https://hackintosher.com/guides/macos-high-sierra-hackintosh-install-clover-walkthrough/ and now I'm stuck in that apple logo. 

 

 

IMG_4357.JPG

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By DoZe
      Hi :0)
       
      Hope As usual a perfect matching DSDT for this good Laptop.
       
      Regards, Ray
       
       
      SendMeStudiMac.zip
    • By NikTheNoob
      Hi,
       
      I'm rather new to Hackintosh and trying my first build with OpenCore on AMD, but I run into issues causing OpenCore to crash before even loading the macOS installer. As I'm not sure which one is causing the crash, I'm trying to resolve all of them and one of the error messages has to do with WhateverGreen, which I was able to see in this slow-mo loading video. Basically I'm getting an error that I'm running an unsupported processor, even though I think I was following this guide by the step.
      What could be causing this and what do I need to do to resolve it?
       
      CPU: AMD Ryzen 2700X
      MB: Gigabyte Aorus X470 Ultra Gaming
      Memory: 4x8 GB HyperX Predator, 3000 MHz Cl15
      Storage: Samsung Evo 970 Nvme 512 GB, Crucial MX500 500GB SATA
      GPU: MSI Radeon RX580 GamingX 8GB
    • By MaLd0n
      --Donations via PayPal--
      https://tinyurl.com/r2bvzm7
       
      --Original Topic--
      https://www.olarila.com/topic/6874-olarila-hackbook-lenovo-ideapad-s145-mojave-catalina-full-dsdt-patches/
       

       
      -Perfect HackBook, HDMI Audio/Video, Bluetooth, AirPlay, Sleep, Lid Sleep, Auto Sleep, Audio, etc!
      -Wifi card has been replaced with Dell DW1560!
      -I'm using a S145-15IWL Model with Intel Core i5 8265u / Intel UHD Graphics 620
      -Update bios/uefi to last version
       
      --Installation--
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
       
      --Clover Folder--
      Just paste EFI folder inside EFI partition
      https://www.olarila.com/files/Clover.Folder/Lenovo IdeaPad S145.zip
      Notebooks with ELAN trackpad use it with my folder above
      IdeaPad S145 ELAN.zip
       
      Bluetooth Broadcom
      Bluetooth Broadcom.zip
       
      CPUFriend for i5-8265U
      CPUFriend i5-8265U.zip
       
      --Full DSDT Patches--
      -My DSDT
      DSDT Lenovo IdeaPad S145.zip
       
      This DSDT work on S145-14IWL, S145-15IWL, V14-IWL, V15-IWL models
      -Patches
      -FIX ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE 11 ID -DMAC -REMOVE LINES, PROBLEMATIC and UNUSED -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -FWHD -USBX -PMCR -PPMC -XSPI -GMM -IMEI -EC -PRWs -_DSMs -PNLF -BRIGHTNESS KEYS -I2C -NATIVE USB -ARPT -GFX0 -DTGP -kUSBCompanionIndex -io-device-location -FULL RENAMED DEVICES   --IGPU Patch--
      Video solution with HDMI Audio and Video
      <key>PciRoot(0x0)/Pci(0x2,0x0)</key> <dict> <key>AAPL,GfxYTile</key> <data> AQAAAA== </data> <key>AAPL,ig-platform-id</key> <data> CQClPg== </data> <key>device-id</key> <data> pT4AAA== </data> <key>enable-hdmi20</key> <data> AQAAAA== </data> <key>framebuffer-con0-alldata</key> <data> AAAIAAIAAACYAAAA </data> <key>framebuffer-con0-enable</key> <integer>1</integer> <key>framebuffer-con1-alldata</key> <data> AQEJAAAIAADHAQAA </data> <key>framebuffer-con1-enable</key> <integer>1</integer> <key>framebuffer-con2-alldata</key> <data> AgYKAAAEAADHAQAA </data> <key>framebuffer-con2-enable</key> <integer>1</integer> <key>framebuffer-fbmem</key> <data> AACQAA== </data> <key>framebuffer-patch-enable</key> <data> AQAAAA== </data> <key>framebuffer-stolenmem</key> <data> AAAwAQ== </data> <key>framebuffer-unifiedmem</key> <data> AAAAgA== </data> <key>hda-gfx</key> <string>onboard-1</string> <key>model</key> <string>Intel Corporation, Cannon Point-LP Iris Plus Graphics 655</string> </dict>   --Native USB Fix for Notebooks - No Injector/Kext Required--
      https://www.olarila.com/topic/6878-guide-native-usb-fix-for-notebooks-no-injectorkext-required/
      https://www.olarila.com/topic/6181-guide-native-usb-fix-for-desktops-no-injectorkext-required-skylake/
       
       
      -ScreenShots

































      -Links
       
       
      Clover https://github.com/CloverHackyColor/CloverBootloader
      AirportBrcmFixup.kext https://github.com/acidanthera/AirportBrcmFixup
      AppleALC.kext https://github.com/acidanthera/AppleALC
      Brcm Bluetooth https://github.com/acidanthera/BrcmPatchRAM
      Lilu.kext https://github.com/acidanthera/Lilu
      SystemProfilerMemoryFixup.kext https://github.com/Goldfish64/SystemProfilerMemoryFixup
      VirtualSMC.kext https://github.com/acidanthera/VirtualSMC
      VoodooI2C.kext https://github.com/alexandred/VoodooI2C
      VoodooPS2Controller.kext https://github.com/acidanthera/VoodooPS2
      WhateverGreen.kext https://github.com/acidanthera/WhateverGreen
      MaciASL - https://github.com/acidanthera/MaciASL
      acpica - https://github.com/acpica/acpica
      AptioMemoryFix.efi https://github.com/acidanthera/AptioFixPkg
      ApfsDriverLoader.efi https://github.com/acidanthera/AppleSupportPkg
      HFSPlus.efi https://github.com/JrCs/CloverGrowerPro/blob/master/Files/HFSPlus/X64/HFSPlus.efi?raw=true
      Hackintool https://github.com/headkaze/Hackintool
       
      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
       
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
       
      We're all here to have fun and learn from each other!
    • By kevin_1351
      tl;dr: VirtualSMC causes me a flood of log messages and correlated cpu spikes. FakeSMC doesn't.
       
      Hi, I have almost finalized my Huawei Matebook X Pro Opencore setup and everything is working very well besides wifi/bt ofc (which is about to change).
       
      However, I noticed how the cpu usage sometimes went up a little and when looking at the Console I could see a never-ending flood of:
      default 14:05:05.983292+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:05.982975+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:05.982996+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:06.985932+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:06.985949+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:06.986134+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:39.426574+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:39.426729+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:39.426585+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:41.431085+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:41.431097+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:41.431246+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:42.433068+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:42.433227+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:42.433078+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:43.434453+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:43.434465+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:43.434622+0100 loginwindow clamshellStateChanged | Clamshell state changed: closed=0, shouldSleepWhenClosed=2 default 14:05:44.436155+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0 default 14:05:44.436166+0100 kernel PMRD: clamshell closed 0, disabled 0, desktopMode 0, ac 0 sleepDisabled 0  
      As you can see, multiple of these per second. Another guy with the same computer is also having this issue and posted a dsdt change to fix it. This fix didn't solve anything though
      He tried to limit the Notify call by implementing a state change requirement before calling Notify.
       
      Here is the original acpi:
      Scope (_SB) { Device (LID) { Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID Method (_LID, 0, NotSerialized) // _LID: Lid Status { Local0 = One Local0 = ^^PCI0.LPCB.EC0.RPIN (0x05, 0x06) If ((Local0 == 0x55)) { Local0 = Zero } Else { Local0 = One } ^^PCI0.GFX0.CLID = Local0 Return (Local0) } } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0B) } } } Scope (_SB.PCI0.LPCB.EC0) { Method (_Q81, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { Local0 = ^^^^LID._LID () If ((Local0 == Zero)) { ADBG ("LID-OFF") SGOV (0x02030009, Zero) SGOV (0x02060000, Zero) } Else { ADBG ("LID-ON") SGOV (0x02030009, One) SGOV (0x02060000, One) Notify (ALSD, 0x80) // Status Change } Notify (LID, 0x80) // Status Change } } Which he changed to: 
      Scope (_SB) { Device (LID) { Name (_OLD, One) // assuming everything else.. the lid should start open? Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID Method (_LID, 0, NotSerialized) // _LID: Lid Status { Local0 = One Local0 = ^^PCI0.LPCB.EC0.RPIN (0x05, 0x06) If ((Local0 == 0x55)) { Local0 = Zero } Else { Local0 = One } Return (Local0) } } Device (PNLF) { Name (_HID, EisaId ("APP0002")) // _HID: Hardware ID Name (_CID, "backlight") // _CID: Compatible ID Name (_UID, 0x0A) // _UID: Unique ID Name (_STA, 0x0B) // _STA: Status } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0B) } } } Scope (_SB.PCI0.LPCB.EC0) { Method (_Q81, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF { Local0 = ^^^^LID._LID () If ((Local0 == Zero)) { ADBG ("LID-OFF") SGOV (0x02030009, Zero) SGOV (0x02060000, Zero) } Else { ADBG ("LID-ON") SGOV (0x02030009, One) SGOV (0x02060000, One) Notify (ALSD, 0x80) // Status Change } If ((^^^^LID._OLD != Local0)) { Notify (LID, 0x80) // Status Change ^^^^LID._OLD = Local0 } } } Besides me not seeing any reason to declare _OLD in LID. The idea itself shouldn't be too bad right? Well, as I said, his fix didn't work.
       
      In fact, to prove that Method _Q81 doesn't have anything to do with the issue at all, I created a Clover/Opencore patch to change _Q81 to XQ81. This resulted in my lid not working at all of course, but the log flooding still persisted!
      So _Q81 doesn't have anything to do with the issue afaik.
       
      Now, further Google searches led me to a chinese post where he tied the issue to VirtualSMC. And indeed, by migrating to FakeSMC the issue is no more.
       
      Unfortunately, I'm very fond of VirtualSMC for various reasons. So I would very much like to keep it. If not I'd have to implement the old way of doing Battery monitoring etcetc. Which isn't very elegant and update proof as it requires DSDT patching.
       
      So, I do believe that the issue may very well be in the DSDT code, perhaps in the ambient light part. I'm not very skilled at this and just started studying the ACPI spec 3 days ago.
       
      Could someone please help me out? Thanks a lot in advance
       
       
      origin.zip
      OC.zip
×