Jump to content

18 posts in this topic

Recommended Posts

Hello there, I know that exists another question about it, but I'm asking again because the first one don't helped me to solve my problem

 

 

I'm trying to patch the DSDT that I extracted from linux, for audio ALC255 that I asked for help in this post, I already dissasembled from DSDT.aml to DSDT.dsl

 

then I opened the DSDT.dsl in MaciASL and try to compile and get these two errors:

11288, 6126, syntax error, unexpected PARSEOP_ARG0

13018, 6126, syntax error, unexpected PARSEOP_NAMESEG, expecting '('

I apply the patch [syn] Remove _DSM Methods from RehabMan repository and try to compile again, then I get this error:

13018, 6126, syntax error, unexpected PARSEOP_NAMESEG, expecting '('

the clean DSDT.dsl from linux:

 

DSDT.dsl.zip

Share this post


Link to post
Share on other sites
Advertisement

hello

 

try to delete that line

 

if u are applying the right patch should not have any problems .. the dsl i send u before no error

 

so .. u are applying wrong patch

 

good hack

Share this post


Link to post
Share on other sites

@artur_pt

 

I'm not applying any patch, just open the .dsl and press compile.

 

tried to delete line, get these two errors:

11289, 6126, syntax error, unexpected PARSEOP_ARG2
23394, 6126, syntax error, unexpected $end and premature End-Of-File

I'm trying to apply this patch:

Edited by wesleycguirra

Share this post


Link to post
Share on other sites

I was able to get it down to 38 warnings. Although, I'm sure Mald0n could remove some these warnings (unfortunately, beyond my knowledge of DSDTs):

 

c6WSR4e.png

 

And 

teTB3o3.png

 

Otherwise, no errors.

 

How can I do the same?

 

 

hello

 

send me the original aml file u extract

 

what layout id u want for applehda ?

 

good hack

DSDT.aml.zip

 

layout-id 3 (I think is the right one for laptops)

Share this post


Link to post
Share on other sites

hello

 

there u go

 

hdef device insert in PCIO with layout 3

 

DSDT.aml.zip

 

and warnings is not a problem .. is generated by the compiler ..

 

if u have error .. that is a problem .. and u can't compile the file ..

 

usually the errors and warnings u get when u decompile the original file

 

and drop all ur ssdt files .. ur audio are in the ssdt files

 

good hack

Share this post


Link to post
Share on other sites

Figured it out.

 

Only 15 warnings, no errors.

I Want to learn how to do, because I'll need to do others patches for power management.

 

hello

 

there u go

 

hdef device insert in PCIO with layout 3

 

attachicon.gifDSDT.aml.zip

 

and warnings is not a problem .. is generated by the compiler ..

 

if u have error .. that is a problem .. and u can't compile the file ..

 

usually the errors and warnings u get when u decompile the original file

 

and drop all ur ssdt files .. ur audio are in the ssdt files

 

good hack

https://drive.google.com/drive/folders/0B7-iTUmQfbmTWl9HbjVKR1NyZVk?usp=sharing

 

in this folder have all files extracted from linux, I not rename all yet.

 

If I understand well, I need to apply audio patch for all SSDT and DSDT files when patching? like DSDT, SSDT-1, SSDT-2...

Share this post


Link to post
Share on other sites

Understood!

 

how can I figure out this error:

11289, 6126, syntax error, unexpected PARSEOP_ARG1

and Need I patch all SSDT files?

Share this post


Link to post
Share on other sites

u need only one SSDT, Pike SSDTS for Native Power Management

Just run it, open, save and compile

attachicon.gifssdtPRGen.command.zip

The best is drop SSDTs, speed up boot, not use many and many SSDTs

 

Check Line 11294

attachicon.gifDSDT.aml.zip

 

I do exact what u say:

 

Run, then open and save, then opened in MaciASL compile and save as .aml, I'll test if it works.

 

But for DSDT I didn't understand, aml is compiled, and I never edit that just dissasembly the linux file, open it in MaciASL and click compile, then I get the errors.

 

What you mean as drop SSDT? put them into ACPI/patched CLOVER FOLDER?

Did not working.

 

I put only SSDT in ACPI/patched

 

post-1694180-14923835496785_thumb.jpg

 

 

hello

 

there u go

 

hdef device insert in PCIO with layout 3

 

attachicon.gifDSDT.aml.zip

 

and warnings is not a problem .. is generated by the compiler ..

 

if u have error .. that is a problem .. and u can't compile the file ..

 

usually the errors and warnings u get when u decompile the original file

 

and drop all ur ssdt files .. ur audio are in the ssdt files

 

good hack

Tried to copy it to ACPI/patched OSX booted but no audio

 

 

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 Duyhaicx
      Hi everybody. I am not a programmer and English is not my native language. So I'm very sorry if it bothers you.
      I want to use an EGPU but that requires editing the DSDT file. I have added the necessary lines of code. The other is to remove the Warning and Remark. It was really hard for me. So I look forward to getting help from a kind person.
      I use HP 8570w and this is my DSDT.dsl file.
      https://drive.google.com/open?id=1Th5DhYm7L08Ufj8AeQHFrLPSzrTaxFC6
      Thank you and have a nice day.
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   Nehalem, SandyBridge, IvyBridge, Haswell, Broadwell     Skylake, Kabylake and Coffeelake is here http://www.insanelymac.com/forum/topic/321872-guide-sierra-on-gigabyte-mobos-serie-200-kabylake-dsdt/   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
        Mojave Full DSDT patch   http://olarila.com/forum/viewtopic.php?f=59&t=6428   First...   ***Update bios to last available version!***   If you need a full patched DSDT...  -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation   --Create a bootable copy of macOS Sierra / High Sierra / Mojave   https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick   https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder https://olarila.com/files/Clover.Folder/CLOVER.SERIES.CHIPSET.zip   --Install Sierra/High Sierra and boot into system!   Post Installation --Install Clover and replace with my folder   https://olarila.com/forum/viewtopic.php?f=28&t=8222   --Reboot and activate video!   Bingo!   Now you need a fine tune! DSDT time!   --DSDT   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -XXXX to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI
       
      --Power Management
      - 1 Generation Intel Processors, use Generate P and C States in config.plist
      - 2 and 3 Generations Intel Processors, Generate SSDT with Piker script and drop CpuPm and Cpu0Ist SSDTs
      ssdtPRGen.command.zip
      Credits-https://github.com/Piker-Alpha/ssdtPRGen.sh
      - 4 Generation+ Intel Processors, use PluginType=1 in DSDT, SSDT or Clover config.plist
       
      for check Power, Frequency, Temperature and Utilization, use it
       
      Install Intel Power Gadget.pkg.zip
       
      --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
       
      --Clover
       
      https://sourceforge.net/projects/cloverefiboot/files/Installer/
       
      --AUDIO
       
      Use DSDT + AppleAlc
       
      --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/314406-voodoohda-289/   -USB   https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   It's time to Rock   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Apple, 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, 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!  
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
        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://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder   https://olarila.com/files/Clover.Folder/CLOVER.LGA775.zip   --Install EL Capitan / Sierra / High Sierra and boot into system!     Post Installation   --Install Clover and replace with my folder   https://olarila.com/forum/viewtopic.php?f=28&t=8222     --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!  
    • By kylon
      ACPI and Clover config for Acer Aspire v5-571PG
       
      Tested on Catalina 10.15.1 and Clover EFI 5098 (Should work on MacOS 10.9.x - 10.15.x)
       
      Not Working:
      - sd card reader
      - Atheros AR9462 (use a compatible USB wireless adapter, see below)
      - Touchscreen (MacOS 10.15 only)
       
       
      Notes:
      Disable Secure Boot and enable Legacy Boot. Legacy Mode is recommended.  
      **To reset your BIOS, power on the pc and hold the power button for about 30-40 seconds or you can short G2101 (RAM SLOT 1)**
       
       
      About the Atheros card:
      You can install ATH9KFixup (you will also need additional patches on 10.14+ to restore Atheros support) to enable this card, however,
      it will break sleep on MacOS 10.14+, it can freeze your OS at any time and it can freeze your network settings.
      Because of its instability it is highly recommended to buy a USB wireless adapter.
       
      You can find a list of working adapters, and the drivers, here.
       
       
      Additional things you will need:
      Latest Clover config (AcerAspireV5-571pg - CCE Bank) from here CloverEFI (download) or OpenCore (download - Untested) WhateverGreen (download) VoodooPS2 (download) VirtualSMC + SMCBatteryManager (download) AppleALC (download) Lilu (download) Mieze Realtek RTL8111 (download)  
      CloverEFI drivers you will need:
      ApfsDriverLoader EmuVariableUefi FSInject DataHubDxe VBoxHfs (if you have hfs partitions)  
      Remember to install BIOS drivers if you enable Legaby Boot.
       
       
       
      Feel free to ask for help.
      Please send me a PM if you have fixes or improvements, thanks.
    • By artaa5474
      Hello,
      hello I have a problem with mw laptop
      I installed Mojave 10.14.6
      on clover I use fix HPET on ACPI, but make my SSDT for processor multiplier didn't work
      If I Uncheck Fix HPET my audio can't work

      Spec:
      Acer E5-471
      intel core i3 4005U
      ram 6GB
      Intel HD 4400
      Send me SanKyuus-iMac.zip
×