Jump to content
MaLd0n

DSDT Auto-Patcher

5,756 posts in this topic

Recommended Posts

Hallo,

 

Can you make the auto-patch for Desktop based MB ASUS P5P43TD? I do not have much experience, and I do not know and do not dare, because I am afraid that I might destroy the MB! Also, thanks for everything you do, that we can use OSX on a PC. Thanks a lot!

 

Respect ! :)

Share this post


Link to post
Share on other sites
Advertisement
SLeep/Wake is working. I had a Nvidia 7300 Graphics card and I don't think they work well in SL? I replaced back with the Gigabyte 8400GS.

So just cmos reset, audio and ethernet , smbus and removal of the devices not needed. I could follow some of your patches to see what is removed and changed but if you want to add this board to your growing list I have attached files above.

 

Thanks

LPC is loaded without a patch?

dsdt.aml_osx.zip

:P

 

HDEF/ALC888

into device name_adr 0x001B0000 set_label
begin
HDEF
end;
into_all all code_regex AZAL replaceall_matched
begin
HDEF
end;
into method label _DSM parent_adr 0x001B0000 remove_entry;
into device name_adr 0x001B0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x08)\n
       {\n
           "codec-id", \n
           Buffer (0x04)\n
           {\n
               0x88, 0x08, 0xEC, 0x10\n
           }, \n
           "layout-id", \n
           Buffer (0x04)\n
           {\n
               0x78, 0x03, 0x00, 0x00\n
           }, \n
           "device-type", \n
           Buffer (0x0F)\n
           {\n
               "Realtek ALC888"\n
           }, \n
           "PinConfigurations", \n
           Buffer (One)\n
           {\n
               0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end

 

 

 

Hallo,

 

Can you make the auto-patch for Desktop based MB ASUS P5P43TD? I do not have much experience, and I do not know and do not dare, because I am afraid that I might destroy the MB! Also, thanks for everything you do, that we can use OSX on a PC. Thanks a lot!

 

Respect ! :(

 

send your DSDT(original)

perl -e 'open(CMD, "ioreg -lw0 \| grep DSDT|") or die; while(<CMD>) { chomp; if($_ =~ /\"DSDT\.?\d?\"=<([^>]*)>/) { $buff = $1; open(PIP, "|xxd -r -p > ~/Desktop/dsdt.aml") or die; print PIP "$1"; } }'

 

kextstat

kextstat

 

ioreg

ioreg -fl

Share this post


Link to post
Share on other sites
LPC is loaded without a patch?

dsdt.aml_osx.zip

:)

 

HDEF/ALC888

into device name_adr 0x001B0000 set_label
begin
HDEF
end;
into_all all code_regex AZAL replaceall_matched
begin
HDEF
end;
into method label _DSM parent_adr 0x001B0000 remove_entry;
into device name_adr 0x001B0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x08)\n
       {\n
           "codec-id", \n
           Buffer (0x04)\n
           {\n
               0x88, 0x08, 0xEC, 0x10\n
           }, \n
           "layout-id", \n
           Buffer (0x04)\n
           {\n
               0x78, 0x03, 0x00, 0x00\n
           }, \n
           "device-type", \n
           Buffer (0x0F)\n
           {\n
               "Realtek ALC888"\n
           }, \n
           "PinConfigurations", \n
           Buffer (One)\n
           {\n
               0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end

 

 

 

 

 

send your DSDT(original)

perl -e 'open(CMD, "ioreg -lw0 \| grep DSDT|") or die; while(<CMD>) { chomp; if($_ =~ /\"DSDT\.?\d?\"=<([^>]*)>/) { $buff = $1; open(PIP, "|xxd -r -p > ~/Desktop/dsdt.aml") or die; print PIP "$1"; } }'

 

kextstat

kextstat

 

ioreg

ioreg -fl

 

Here are the files and once again thank you very much for your help! :P

DSDT___KEXT_STAT___IOREG.zip

Share this post


Link to post
Share on other sites
dsdt.aml_mlstudio.zip

 

AHCI ICH10

ALIAS

DTGP

FRWR

HID/CID

IRQs

LAN0

MUTE

REMOVE

RENAME

SBUS

SHUTDOWN

FIX WARNINGS

 

Dear God, you're so fast! Patch works perfectly! Thanks a lot!

Finally P5P43TD patched!

Thank you for everything ... Simply have no words ... Thanks!

:)

Share this post


Link to post
Share on other sites
Here are the files for my system i loaded iatos s3 v2 and got this from the commands you ask to be run.

 

My system is ECS G41T-M(2.0)

 

thank you very much.

 

dsdt.aml_fbifido.zip

 

ALIAS

DTGP

EHCI

HID/CID

IRQs

LAN0

LPC ICH7

REMOVE

RENAME

SHUTDOWN

FIX WARNINGS

 

Dear God, you're so fast! Patch works perfectly! Thanks a lot!

Finally P5P43TD patched!

Thank you for everything ... Simply have no words ... Thanks!

:)

 

:P

Share this post


Link to post
Share on other sites

@MaLd0n,

 

Man thanks that was lightening fast MaLd0n. I used the patch from the Gigabyte G41 patch which is IHC7 southbridge, so I just used it assuming it would work and it did the trick. Sorry for that confusion.

 

I'll just add that to your patch. The ethernet patch you provided should do the trick then?

 

I keep screwing up. Is the LPC device the PMIO or the PX40?

 

Thanks

Share this post


Link to post
Share on other sites

Dear MaLd0n, here is my existing DSDT.aml along with the Kextstat and IORegistry outputs.

Whenever possible, would you please create a personalized DSDT Auto-Patch for my rig as I believe mine to be faulty?

 

 

 

Thank You.

Share this post


Link to post
Share on other sites

@MaLd0n,

 

First off thanks so much for the very hard work and effort you have put into this project and to share it.

 

I was able to patch the ALC888 no issue with the patch from DSDTeditor. I patched the PX40 (LPC). Kernel Panic with the DSDT.aml you posted. Message is No Hpets, Cpus not configured.

 

Ethernet shows up in System Profiler just no connection?

 

System profiler for Serial-ATA is "Unkown AHCI Standard Controller"

 

Is there some patch or injection I need in the DSDT to fix that? Once I get these fixes the DSDT is 100% working. I'll test it again when you get a chance and thanks again.

 

I too have the XPS M1530 and it seems we have not been able to get LPC to register even though its in the list of Ids. 2815. SOmething we never many solve on the Dell?

Share this post


Link to post
Share on other sites
Dear MaLd0n, here is my existing DSDT.aml along with the Kextstat and IORegistry outputs.

Whenever possible, would you please create a personalized DSDT Auto-Patch for my rig as I believe mine to be faulty?

 

 

 

Thank You.

 

you could send me the original DSDT?

Share this post


Link to post
Share on other sites
you could send me the original DSDT?

 

Do I obtain that by removing my curent DSDT.aml, then attempting to boot up with no DSDT at all and extracting the original that way?

I would need a AICPUPM.kext disabler of some kind.

Share this post


Link to post
Share on other sites
@MaLd0n,

 

First off thanks so much for the very hard work and effort you have put into this project and to share it.

 

I was able to patch the ALC888 no issue with the patch from DSDTeditor. I patched the PX40 (LPC). Kernel Panic with the DSDT.aml you posted. Message is No Hpets, Cpus not configured.

 

Ethernet shows up in System Profiler just no connection?

 

System profiler for Serial-ATA is "Unkown AHCI Standard Controller"

 

Is there some patch or injection I need in the DSDT to fix that? Once I get these fixes the DSDT is 100% working. I'll test it again when you get a chance and thanks again.

 

I too have the XPS M1530 and it seems we have not been able to get LPC to register even though its in the list of Ids. 2815. SOmething we never many solve on the Dell?

 

try this DSDT

dsdt.aml_HPET_ICH7.zip

 

for Ethernet use Kext

Share this post


Link to post
Share on other sites

@MaLd0n,

 

The final attachment works perfect. I just added the ALC888 patch and changed AZAL to HDEF. If I don't change it to HDEF system profiler = no audio. With HDEF it shoes audio. WHy I have no idea.

 

I also added the LPC patch for ICH7 to the PX40 device.

 

I'll find a kext but thanks again for the work.

 

BTW if you post this patch it is this:

 

HP Desktop Model a6040N with Asus P5LP-LE OEM Motherboard Equivalent to an Asus P5LD2-VM DH Retail board

Share this post


Link to post
Share on other sites
@MaLd0n,

 

The final attachment works perfect. I just added the ALC888 patch and changed AZAL to HDEF. If I don't change it to HDEF system profiler = no audio. With HDEF it shoes audio. WHy I have no idea.

 

I also added the LPC patch for ICH7 to the PX40 device.

 

I'll find a kext but thanks again for the work.

 

BTW if you post this patch it is this:

 

HP Desktop Model a6040N with Asus P5LP-LE OEM Motherboard Equivalent to an Asus P5LD2-VM DH Retail board

 

solved the problem "Unkown AHCI Standard Controller"?

Share this post


Link to post
Share on other sites
solved the problem "Unkown AHCI Standard Controller"?

 

Forgot to mention that. It fixed it perfectly thanks again.

 

Here is the working driver for the Intel Pro /100 VE by Azimutz.

 

Just had to add 0x27dc8086 to the Info.plist and it worked with no problems.

 

 

IntelPro100Snow.zip

Share this post


Link to post
Share on other sites
Forgot to mention that. It fixed it perfectly thanks again.

 

Here is the working driver for the Intel Pro /100 VE by Azimutz.

 

Just had to add 0x27dc8086 to the Info.plist and it worked with no problems.

 

 

IntelPro100Snow.zip

 

Ok

Thanks for file

otima.gif

 

My pc don't have in your list patched. :(

please help me.

My pc is Toshiba sattelite M645 s4055

i attached my ori dsdt and Ioreg file.

Thank you.

 

I'll be away until Monday

when I get to travel can see your DSDT

I'm preparing AutoPatcher Dell

NoteBook is far more complicated

We need to test

Share this post


Link to post
Share on other sites
i'm willing test if you need. it have optimus techno.

wait for you.

 

:)

 

you can use the Generic

until we solve this

 

headphonesa.gif

Share this post


Link to post
Share on other sites

@MaLd0n,

 

For reference there was a lot of work that went into the XPS M1330/M1530. After all the great work they got everything working perfectly except LPC.

 

Here is the thread for reference which you may already know?

 

http://www.insanelymac.com/forum/index.php?showtopic=190780

Share this post


Link to post
Share on other sites
@MaLd0n,

 

For reference there was a lot of work that went into the XPS M1330/M1530. After all the great work they got everything working perfectly except LPC.

 

Here is the thread for reference which you may already know?

 

http://www.insanelymac.com/forum/index.php?showtopic=190780

 

Yep

:(

I've been reading this topic for quite some time

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By kylon
      A big thanks to wegface for teaching me a lot of things.
       
       
      Tested on Catalina 10.15.4 and Clover EFI 5104 (Catalina Patcher)
       
      Not Working:
      - realtek sd card reader (pm me if you have a fix)
       
      Notes:
      **CPU patches are disabled, if you are using a locked BIOS you must enable them**
       
      Clover EFI:
      - Install it in UEFI Mode and change your hdd partition table to GPT.
      - You will be able to install ANY OS in EFI mode, even if this pc does not support EFI at all! (No guide available for this)
       
      You will need:
      My unlocked BIOS (OPTIONAL) (here) Latest Clover config from CCE Bank (here) (asus k53sj-kylon) Rehabman Voodoo PS2 Controller (here) acidanthera AppleALC (here) acidanthera Lilu (here) acidanthera VirtualSMC (here) acidanthera SMCBatteryManager (here) acidanthera SMCLightSensor (here) acidanthera WhateverGreen (here) Mieze Realtek RTL8111 (here)
    • By DoZe
      Hi :0)
       
      Hope As usual a perfect matching DSDT for this good Laptop.
       
      Regards, Ray
       
       
      SendMeStudiMac.zip
    • 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
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://www.olarila.com/topic/5165-olarila-app-images-and-folders/   Install MacOS with Olarila Image, Step by Step, Install and Post Install
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
        First... If you need DSDT edits... -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation --Create a bootable copy of El Capitan /  Sierra / High Sierra / Mojave https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick https://github.com/CloverHackyColor/CloverBootloader/releases   --Replace with my Clover folder https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/   --Install EL Capitan / Sierra / High Sierra and boot into system!     Post Installation   --Install Clover and replace with my folder   https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/     --Reboot and activate video!   Bingo! Now you need a fine tune! DSDT Time!   My DSDT GA P35-DS3   DSDT.MaLd0n.zip     Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DARWIN -LPC -HDEF -RTC -EHCI -UHCI -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -EC -PNLF --Native Power Management
       
      Use Clover, check Generate P and C States
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --AUDIO
       
      Device HDEF + AppleAlc + Lilu
       
      --install Lan driver by Mieze
        -Atheros   http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel   http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek   http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC   https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio   https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/   -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 and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
×