Jump to content
bbritton

Syntax error help DSDT

12 posts in this topic

Recommended Posts

Hi

 

I am trying to create a clean DSDT for my new hackintosh.  It is all working very well and I hope this will make things even better.

I have a Gigabyte Z390 AORUS MASTER,

I9-9900K

32 gb Ram

gigabyte vega 64 OC

 

I extracted the DSDT and SSDT files using F4 in Clover.  I have supplied the resulting DSDT below.  THese are the four errors I get when trying to compile in MACIasl.  ALso I am using ACPI 5.1 in maciasl.

 

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

12900, 6126, syntax error, unexpected PARSEOP_CASE

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

12913, 6126, syntax error, unexpected PARSEOP_CASE, expecting $end and premature End-Of-File

 

I am newbie to hackintosh so am learning as much as I can as i go.  I am not a programmer so the syntax errors I am not sure what to do with yet.  Any assistance would be appreciated.

 

Thanks

 

DSDT.dsl

DSDT.aml

Edited by bbritton

Share this post


Link to post
Share on other sites
Advertisement

maybe I am not using the up to date maciasl . Mine is 1.4.  I dont see an option for ACPI 6.1 . only 5.1

 

Share this post


Link to post
Share on other sites

I have installed the DSDT and now my USB ports don't work.  Only the USB 2.0.  I had previously made a custom SSDT-UIAC in Clover/ACPI/Patched after port mapping and they were all working nicely.

DO I have to create another SSDT file now that I am using this DSDT in CLover/ACPI/Patched?

I noticed there is an option in MACIasl to create a SSDT.

 

Share this post


Link to post
Share on other sites
8 minutes ago, bbritton said:

I have installed the DSDT and now my USB ports don't work.  Only the USB 2.0.  I had previously made a custom SSDT-UIAC in Clover/ACPI/Patched after port mapping and they were all working nicely.

DO I have to create another SSDT file now that I am using this DSDT in CLover/ACPI/Patched?

I noticed there is an option in MACIasl to create a SSDT.

 

You need create USBLegacy.kext try this one. Delete USBInjectAll and SSDT-UIAC if present.

UsbPrimeZ270P.kext.zip

Share this post


Link to post
Share on other sites

Really . Wow never would have thought.  Is that because the new DSDT file gives instructions for the proper USb configuration already?

Share this post


Link to post
Share on other sites

I tried your USBprime kext and deleted USBinjectall and SSDT-UIAC but my USB ports don't work still except for the 2.0 ports.

I have googled to see how to make this USBlegacy kext but I am not finding anything.  Could you please steer me in the right direction?

 

Much appreciated.

 

Also, how do I enable ACPI 6.1 in MacIasl?  In version 1.4 i don't see it.

Edited by bbritton

Share this post


Link to post
Share on other sites
Just now, bbritton said:

I tried your USBprime kext and deleted USBinjectall and SSDT-UIAC but my USB ports don't work still except for the 2.0 ports.

I have googled to see how to make this USBlegacy kext but I am not finding anything.  Could you please steer me in the right direction?

 

Much appreciated.

 

Use this tool

Share this post


Link to post
Share on other sites
57 minutes ago, bbritton said:

I had previously made a custom SSDT-UIAC in Clover/ACPI/Patched after port mapping and they were all working nicely.

 

Why not use same SSDT? if it was working why break it?

Share this post


Link to post
Share on other sites

That was my thought.  But initially the only change I made was adding the new DSDT to ACPI/Patched and left my SSDT-UIAC that I created earlier in there as well.  But with both those in the patched folder the system boots very fast and works great, except my USB ports are all not working except 2.0 even though I left the SSDT-UIAC in the patched folder

Essentially the new DSDT file broke my USB port mapping and I don't know why.

PS: Still trying to figure out how to utilise ACPI 6.1

 

Share this post


Link to post
Share on other sites
22 minutes ago, bbritton said:

That was my thought.  But initially the only change I made was adding the new DSDT to ACPI/Patched and left my SSDT-UIAC that I created earlier in there as well.  But with both those in the patched folder the system boots very fast and works great, except my USB ports are all not working except 2.0 even though I left the SSDT-UIAC in the patched folder

Essentially the new DSDT file broke my USB port mapping and I don't know why.

PS: Still trying to figure out how to utilise ACPI 6.1

 

https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-MaciASL-2016-0423.zip

Share this post


Link to post
Share on other sites

It seems neither of these things is fixing my USb issue.  Could the DSDT file I made be causing a problem with the USB?  

THe issue with the USB not working was immediately after I input the new DSDT into my ACPI/Patched file

 

 

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 DiddyKong
      Fully optimizing DSDT & SSDT for OS X Sierra POST INSTALL on a Dell345MT with a i7 - 920(first gen) 
       
      I have scoured the web, went to insanelymac chat on discord, no one replies to me but will reply to others, idk if my question is too advanced or too easy. 
       
      I know how this forum feels about 3rd party software, but that was just a crutch, I'm 100% vanilla now which is why I'm now posting for help because I eliminated the possibility having to do with 3rd party. Anyways, with that said I just have a couple things I want to be sure of.
       
      I used a n---bistro to get a App Store copy of Sierra, as I didn't know there were other ways of getting it now from a windows10 machine. anyways, I was able to build a vanilla usb. I couldn't figure the EFI out on my vanilla Sierra-usb, but the EFI on the usb-ni---bistro I had would boot my pre-install and post-install. so I was able to install Sierra. After a few days of figuring out how to remake a EFI and config, I broke my EFI.
       
      So back to my windows10 SSD and I found BootDiskUtility, and that made a EFI usb with the newest version of clover(r4895). So then swapped SSDs back to my OS X, plugged in the BDU-usb, after trial and error I got back into my Sierra. Now with the newest version of clover and no traces of ni---bistro anymore. Then copied the BDU-usb to my SSD EFI and was able to boot without a usb again!! YAY.
       
      Then starting working on fixing my web drivers for my gtx 1050 2gb. Installed the os update so i'm at 10.12.6, pulled my hair out figuring out the web drivers, eventually got them installed and the cuda fixed.
       
      Now all 3 of my screens work, yet windows can't sit 'between' screens, I just simply haven't looked for that fix yet as I want the sys itself running like a top first.
      My screen saver works, I don't get stuck in screensaver, I did once before, I believe lilu.kext and whatevergreen.kext fixed that.
      Now with all that I felt it was time to give my config.plist a diet cos it was bloated, I generated a config copied the clover settings check for check instead of coping text cos I'm trying to shrink it.
      Config.plist boots my system with DSDT-1FE7B5D7
       
      So that last thing on the list of optimizing I feel would be a 100% correct DSDT and SSDT cos then I could use a blank config.plist with my patched DSDT & SSDT correct
       
      but with the patching part that I think I understand how to do it now, but when I extract with F4 every file has RSDT in front of it, I have one that says RSDP.aml and RSDT.aml
      so would I just erase the RSDT from the beginning of each file then go from their, which would then leave me with a DSDT.aml and 17 SSDTs
       
      so if thats correct I would then decompile with iasl patch and compile and put the patched files into EFI/CLOVER/ACPI/Patched/
       
      also how do I know if everything is patched correctly? like if my CPU is fully working and not just sorta working that way when I start running software like photoshop, unity, 10 chrome tabs, my hackintosh doesn't crash
       
      Thanks to anyone that can help me out, I've been working on my system for about two weeks and this is basically the wall I finally can't seem to figure out how to pass

    • By MaLd0n
      ---INSTALLATION TUTORIAL---
       
      ---Original Post---
      https://olarila.com/forum/viewtopic.php?p=77102#p77102
       
      ---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 bradipi15
      Ciao ragazzi ho un problema strano... 
      Praticamente quando avvio il pc usando il dsdt, appena connetto la tavoletta grafica huion h640p, il pc si riavvia... 
      Se invece tolgo il dsdt, funziona tutto perfettamente... 
    • By bradipi15
      Ciao ragazzi, ho bisogno di un aiuto per verificare che ho fatto tutto giusto, perché penso che la mx150 non sia effettivamente disabilitata. Ho utilizzato un dsdt fatto da gengik84 per un pc simile al mio.. Al momento penso di avere solo due problemi : la mx150, appunto... E poi il trackpad riesco ad usarlo in modalità advanced da bios proprio grazie al dsdt, però il doppio tap per trascinare oggetti ecc non va... L'ho abilitato anche dal menu accessibilità.. 
      Grazie mille! 
       
    • 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 for SkyLake, KabyLake or CoffeeLake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606 -Run it, post files generated in your desktop http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222609  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  CLOVER.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER.zip   --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   --DSDT My DSDT with Skylake patches DSDT.MaLd0n GA H110M-S2.zip Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI --FakeSMC https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek --Audio https://github.com/vit9696/AppleALC --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads --LAN http://www.insanelymac.com/forum/topic/287161-new-driver-for-realtek-rtl8111/   -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!  
×