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.

Announcements

  • Similar Content

    • By MaLd0n
      -EFI OpenCore Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition in your USB STICK
      https://tinyurl.com/ybwr9kq3
       
      -Tutorial
      https://tinyurl.com/re2c9sz
       
      -Post Installation
      Paste EFI folder into EFI Partition in your SSD, reboot and extract one full dump with this app and post here!
      https://tinyurl.com/ybwr9kq3
      RunMe.app
      https://tinyurl.com/y9562hz7
       
      --DSDT PATCHES--
       
      -FIX ERRORS AND WARNINGS -FIX ACPI ERRORS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE ID -DMAC -REMOVE LINES, PROBLEMATIC and UNUSED -FIX K.P in REBOOT -NVRAM -REAL TIME CLOCK -SLPB -DARWIN / WINDOWS -XHCI -PLUGIN TYPE -HDEF -ARTC -IPIC -TIMR -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -UAR1 -LAN -FWHD -USBX -PMCR -PPMC -XSPI -GMM -kUSBCompanionIndex -io-device-location -IMEI -EC -PNLF -ARPT -GFX0 -NVME -ACPI-WAKE-GPE -DTGP -ACQUIRE MUT0 0XFFFF -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES  
      --SCREENSHOTS--
       









































       
       
      Big Thanks to XLR and your Badass Motherboard, Ultrafast CPU, Coolest Heatsink, Huge Graphics Card, Tonnes of RAM,
      Gigantic Hard Drive, Lightspeed Disk Burner, Professional Sound Card, Massive LCD Display.
       
       
      -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, headkaze, onemanosx, erroruser, Jenny David, Sampath007, Facebook Hackintosh community, Facebook Olarila community, SchmockLord, daliansky and many, many, many others!
       
      We're all here to have fun and learn from each other!
    • By MaLd0n
      ---USB---
      https://pikeralpha.wordpress.com/2016/07/13/simple-skylake-usb-fix-no-kexts-required/
       
      ---CLOVER FOLDER---
      https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/
       
       
      --MOBO
      GigaByte Z390 M Gaming



      --PROCESSOR
      Intel Core i9-9900K


      --COOLER
      CoolerMaster MasterLiquid ML120R RGB


      --MEMORY
      Corsair Dominator Platinum 16GB (2 x 8GB)


      --GPU
      Sapphiretech Radeon RX 590 8 GB GDDR5


       
      --SSD
      Samsung 970 EVO NVMe M2 Flash Drive


      --POWER SUPPLY
      EVGA 750 N1, 750W


      --WIRELESS
      TP-Link Archer T9E


      --BLUETOOTH
      Orico BTA-403


      --CASE
      Thermaltake View 21 Tempered Glass Edition


      --DSDT Patches--
      -FIX ERRORS AND WARNINGS -FIX ACPI ERRORS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE 10 ID -DMAC -REMOVE 22K LINES, PROBLEMATIC and UNUSED -FIX K.P in REBOOT -NVRAM -REAL TIME CLOCK -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -MIKEY -BUS1 -MCHC -ALS0 -SHUTDOWN -UAR1 -LAN -FWHD -USBX -PMCR -PPMC -XSPI -GMM -IMEI -EC -PNLF -ARPT -GFX0 -NVME -DTGP -ACQUIRE MUT0 0XFFFF -OPERATION REGION GPIO -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES  
      --SCREENSHOTS--





























      --BruceX--
       
      --USB-C-- test with SanDisk Ultra USB-STICK 128gb


       
      -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 MaLd0n
      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!  
    • By Preet
      I am getting only one syntax compile error after patching with the rehab man Skylake generic and hp g6 2221ss.
      Error: syntax error, unexpected PARSEOP_ARG1
      Error example on Tony Mac ( Link - https://www.tonymacx86.com/threads/solved-unable-to-compile-dsdt-syntax-error-unexpected-parseop_arg1.201774/)
      I found a guide on using refs.txt but I do not know how to use it with the new maciASL on this GitHub (link -https://github.com/acidanthera/MaciASL/releases). 
      System Info Pavillion AU003tx. (Skylake i5, intel HD520)
      Please respond, I would love to have the battery status working. Thanks in advance!!
×