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 _ivan_palmisano_
      Ho provato tutti i modi ma sono arrivato alla conclusione che ha bisogno di una patch DSDT.
      Ciao, ho recentemente un hackintosh nel mio laptop e devo risolvere l'attacco video HDMI che non ha eseguito quando collego il mio laptop alla TV.
      le foto con queste informazioni sono state fatte con un programma quando che avrei vinto 10 nell'altra foto l'informazione di hackintosh.
      Acer Aspire 5741g Modello High Sierra System!
      Caratteristiche:
      CPU: Intel Core I3 350M 2.27Ghz Arrandale 32nm Tecnologia
      Ram: 6: 00GB
      Grafica: Monitor Pnp generico (1366x768 Ghz) 1024mb Nvidia GeForce GT 320M (Acer Incorporated)
      Archiviazione: 465 GB Sata
      Driver Optiocal: Optiarc DVD RW- AS-7585H
      Audio: dispositivo audio ad alta degradazione
      Qualcuno può aiutarmi!?! E 'la terza volta che faccio questo post in questo gruppo visto che sono nuovo nel mondo hackintosh preferisco se qualcuno è capace a risolvere il mio problema che lo faccia in remoto così non faccio sbagli.
    • By MaLd0n
      ---INSTALLATION TUTORIAL---
       
      ---Original Post---
      https://olarila.com/forum/viewtopic.php?f=45&t=9172
       
      ---USB---
      https://pikeralpha.wordpress.com/2016/07/13/simple-skylake-usb-fix-no-kexts-required/
       
      ---CLOVER FOLDER---
       
      CLOVER.zip
       
       
      --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 soumaxetuirk
      If you have a working Brightness Slider and you might be using Brightness slider or manual hotkeys to control brightness then this guide may help you to use your Native hotkeys of laptop.
       
      (All the Credits goes to @RehabMan     For OS-X-ACPI-Debug Kext and DSDT Patches.)
       
       
      This step assumes that you are using RehabMan's VoodooPS2Controller or Acidanthera's PS2Controller
      Install the kext: https://github.com/RehabMan/OS-X-ACPI-Debug Open MaciASL and click on patch.(Add rehab man repo) Apply "Add DSDT Debug Methods" and "Instrument EC Queries" that are under Brightness Fix. Save the DSDT and restart Look in Syslog as you press the key corresponding to brightness to determine which _QXX methods handle the keys (UPDATE: From Sierra Apple changed logging process. So you won't find ACPIdebug result using syslog command. Instead use following command )
      log show --last 5 | grep ACPIDebug 6. Then patch DSDT:
      into method label _Q1D replace_content begin // Brightness Down\n Notify(\_SB.PCI0.LPCB.PS2M, 0x0205)\n Notify(\_SB.PCI0.LPCB.PS2M, 0x0285)\n end; into method label _Q1C replace_content begin // Brightness Up\n Notify(\_SB.PCI0.LPCB.PS2M, 0x0206)\n Notify(\_SB.PCI0.LPCB.PS2M, 0x0286)\n end; Change the variable _Q1D/_Q1C as per the log. 

      7. Try compiling and check if it generates errors
      8. If it does, then change the PS2M to PS2X according to the one found in your DSDT
      9. Save and place the compiled DSDT.
      10. Now you should see that you have your corresponding keys to change your brightness 
       
       
       FOR  more detail and Queries,Check Out original Post of @RehabMan Here;
      http://www.insanelym...18#entry1997112
      Get Latest Version of  OS-X-ACPI-Debug kext here:
      https://bitbucket.org/RehabMan/os-x-acpi-debug/downloads
    • By jcrcarmo
      Hello everyone,

      Greetings from Brazil! I'm running macOS Catalina 10.15.2 on my Lenovo Ideapad 300-15ISK laptop. Everything works smoothly, except decent battery management, so I decided to rebuild my DSDT from scratch, so I can patch it properly. It was a bit messy to start with.

      I followed Rehabman's guide (to the letter) posted on tonymacx86. However, I keep getting a compile error, no warnings at all, just 'syntax error, unexpected PARSEOP_ARG1'.  Please refer to attached PNG image and .dsl file.

      I've searched endlessly for a solution, but can't fix it no matter what I try. Any ideas on how to fix this issue? I really appreciate your time and help.

      Best regards and Happy Holidays!

      DSDT.dsl
    • By Bazza08
      Hi Guys I have been trying to get my hackintosh to work using High Sierra... My Build is:--
       
      Asus Z87-K Mother board
      Intel i5 processor
      8 gig of Memory
      Nvidia Geforce GT 730 4gb DDR3 
      500gb SSD hard drive 
      I can get it up and running if I take Graphics card out and use Internal graphics, but when I have my graphics card in the only way I can get it to work is to use boot flag nv_disabe=1 .... and the graphics are rubbish..... I am trying to get it working by creating my own DSDT file..
       
      what I have tried is to download and used  RwPortableX64V1.7 to extract 4 SSDT.aml files and one DSDT.aml ... I was looking on this forum for any clues what to do next
      but I a am afraid I am stuck... I have uploaded the files I extracted from  RwPortableX64V1.7
       
      Any Help would be appreciated 
       
      Bazza
      DSDT.aml
      SSDT-1.aml
      SSDT-3.aml
      SSDT.aml
      SSDT-2.aml
×