Jump to content

( SOLVED ) MaciASL ONE Error


Best Answer toleda, 02 February 2014 - 12:01 AM

I Need for my Installer and testing other things  

where is it

OK. Confirm you now have a dsdt.aml for your motherboard.

Go to the full post


  • Please log in to reply
34 replies to this topic

#1
chris1111

chris1111

    InsanelyMac Deity

  • Donators
  • 1,524 posts
  • Gender:Male
  • Location:Montreal Canada

I try to compile my DSDT  for My Mobos GA Z87X-UD5H

 

How can fix this only one Error  with MaciASL   ??  the compiler gives me this error  :(

Someone help me please to fixing this  ;)

 

186.png

Attached Files



#2
fusion71au

fusion71au

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 499 posts
  • Gender:Male

@chris1111,

 

Maybe apply Toleda's 8 series clean compile patch to your native dsdt -located in his repo--->link.



#3
chris1111

chris1111

    InsanelyMac Deity

  • Donators
  • 1,524 posts
  • Gender:Male
  • Location:Montreal Canada

@chris1111,

 

Maybe apply Toleda's 8 series clean compile patch to your native dsdt -located in his repo--->link.

Thanks  but not work   :(



#4
fusion71au

fusion71au

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 499 posts
  • Gender:Male

@chris1111,

 

Deleting all the lines with zero might work....

 

Pjalm had a very good patch repo for gigabyte boards (including yours) that used MaciASL.....disappeared 1-2 weeks ago :no: .

 

As an alternative to patching your dsdt, Rampagedev provides an optimised SSDT for the GA-Z87X-UD5H (and other Haswell motherboards) at his website.  This injects code into the native DSDT during boot to achieve the same effect as a patched DSDT.  Apparently this survives through firmware upgrades.



#5
naiclub

naiclub

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 191 posts
  • Gender:Male
  • Location:ThaiLand
  • Interests:Nuclear Fission+Galaxy
    http://www.youtube.com/watch?v=JVMlc4SgE5g

Thanks  but not work   :(

See .. We will use MaciASL u can download it from here. 
 
After download install application and run it, go to preferences and add sources like this. 
 
Preview guiding 
Do not forget to this Ad 
 
Or to follow me anywhere. 
search 
Device (P0PB) 
             {
                 Name (_ADR, 0x00010002) 
                 Method (_PRT, 0, NotSerialized). 
                 {
                     If (PICM) 
                     {
                         Return (AR0B ()) 
                     } 
 
                     Return (PR0B ()) 
                 } 
             } 
 
under the
 
Device (MEI)
            {
                Name (_ADR, 0x00160000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x02)
                        {
                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x3A, 0x8C, 0x00, 0x00
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

            Device (IGPU)
            {
                Name (_ADR, 0x00020000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x0E)
                        {
                            "AAPL,slot-name", 
                            "Built In", 
                            "name", 
                            "Intel Graphics Controller", 
                            "model", 
                            Buffer (0x17)
                            {
                                "Intel HD Graphics 4600"
                            }, 

                            "device_type", 
                            Buffer (0x14)
                            {
                                "Graphics Controller"
                            }, 

                            "device-id", 
                            Buffer (0x04)
                            {
                                0x12, 0x04, 0x00, 0x00
                            }, 

                            "AAPL,ig-platform-id", 
                            Buffer (0x04)
                            {
                                0x03, 0x00, 0x22, 0x0D
                            }, 

                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

            Device (HDAU)
            {
                Name (_ADR, 0x00030000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x14)
                        {
                            "AAPL,slot-name", 
                            "Built In", 
                            "name", 
                            "High Definition Audio Controller", 
                            "built-in", 
                            Buffer (One)
                            {
                                0x00
                            }, 

                            "model", 
                            Buffer (0x16)
                            {
                                "Intel Lynx Point HDMI"
                            }, 

                            "device_type", 
                            Buffer (0x17)
                            {
                                "Intel(R) Display Audio"
                            }, 

                            "device-id", 
                            Buffer (0x04)
                            {
                                0x0C, 0x0C, 0x00, 0x00
                            }, 

                            "subsystem-id", 
                            Buffer (0x04)
                            {
                                0x10, 0x20, 0x00, 0x00
                            }, 

                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x01, 0x00, 0x00, 0x00
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}, 
                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

arrive

Device (B0D4)



#6
chris1111

chris1111

    InsanelyMac Deity

  • Donators
  • 1,524 posts
  • Gender:Male
  • Location:Montreal Canada

HI naidb  :D  I try to understand ;   I am nor sure what 

you said  ? :P



#7
chris1111

chris1111

    InsanelyMac Deity

  • Donators
  • 1,524 posts
  • Gender:Male
  • Location:Montreal Canada

@chris1111,

 

Deleting all the lines with zero might work....

 

Pjalm had a very good patch repo for gigabyte boards (including yours) that used MaciASL.....disappeared 1-2 weeks ago :no: .

 

As an alternative to patching your dsdt, Rampagedev provides an optimised SSDT for the GA-Z87X-UD5H (and other Haswell motherboards) at his website.  This injects code into the native DSDT during boot to achieve the same effect as a patched DSDT.  Apparently this survives through firmware upgrades.

I have already used the PjALM patch for my mobos and the only one error stays

 

I am really bad whit DSDT  :lol:  :P I try to delete the Zero and result 38 error  :w00t:  :lol:



#8
toleda

toleda

    InsanelyMac Legend

  • Gurus
  • 1,266 posts
  • Gender:Male

I try to compile my DSDT  for My Mobos GA Z87X-UD5H

How can fix this only one Error  with MaciASL   ??  the compiler gives me this error  

It is not possble to Patch a patched dsdt.

I cannot reproduce a compile with one error.  Suggest extracting the native dsdt:

1. Remove edited dsdt or boot with DSDT=null flag

2. MaciASL/File/New from ACPI/DSDT or File/Export Tableset...

Attach native dsdt.



#9
chris1111

chris1111

    InsanelyMac Deity

  • Donators
  • 1,524 posts
  • Gender:Male
  • Location:Montreal Canada

It is not possble to Patch a patched dsdt.

I cannot reproduce a compile with one error.  Suggest extracting the native dsdt:

1. Remove edited dsdt or boot with DSDT=null flag

2. MaciASL/File/New from ACPI/DSDT or File/Export Tableset...

Attach native dsdt.

ok thanks  I have to files  :)

Attached Files



#10
naiclub

naiclub

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 191 posts
  • Gender:Male
  • Location:ThaiLand
  • Interests:Nuclear Fission+Galaxy
    http://www.youtube.com/watch?v=JVMlc4SgE5g

ok thanks  I have to files  :)

Hichris1111

This program AIDA64 (everest) Extreme Edition 2.0.1758 Beta. 
Save Acpi then bottom right click choose Save Acpi DSDT. 
The one you sent, it is not clean enough. :)  :)



#11
toleda

toleda

    InsanelyMac Legend

  • Gurus
  • 1,266 posts
  • Gender:Male

ok

Not native, Clover patched - PEG0 not correct (adds GFX0/interferes with existing GFX0), HDEF missing, No HD4600 edits.

PJALM repo down is back.

 

MaciASL/Patch/8series/8series-Clean Compile/Apply/Close/Compile

Three errors: Name already exists in ..., Delete each line, Compile/Save

 

Whatever was wrong with the dsdt in Post #1, can be fixed with the code in the successfully compiling dsdt.

 

Correct audio/video edits: Patch/8series:

1. Desktop-add_dsdt(PCI0/P0P2 (w/ssdt/PEGO)

2. Desktop-HD5K/AMD/Nvidia-A1



#12
chris1111

chris1111

    InsanelyMac Deity

  • Donators
  • 1,524 posts
  • Gender:Male
  • Location:Montreal Canada

Hichris1111

This program AIDA64 (everest) Extreme Edition 2.0.1758 Beta. 
Save Acpi then bottom right click choose Save Acpi DSDT. 
The one you sent, it is not clean enough. :)  :)

I dont have windows  for now  sorry   :blush:


Not native, Clover patched - PEG0 not correct (adds GFX0/interferes with existing GFX0), HDEF missing, No HD4600 edits.

PJALM repo down.

 

MaciASL/Patch/8series/8series-Clean Compile/Apply/Close/Compile

Three errors: Name already exists in ..., Delete each line, Compile/Save

 

Whatever was wrong with the dsdt in Post #1, can be fixed with the code in the successfully compiling dsdt.

 

Correct audio/video edits: Patch/8series:

1. Desktop-add_dsdt(PCI0/P0P2 (w/ssdt/PEGO)

2. Desktop-HD5K/AMD/Nvidia-A1

not work I give up on that  :blowup:  :fiery:



#13
iFIRE

iFIRE

    InsanelyMacaholic

  • Banned
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,807 posts
  • Gender:Male
  • Location:Bcn-Spain

with a linux live cd :

 

DSDT EXTRACT LINUX:

sudo cat /sys/firmware/acpi/tables/DSDT > dsdt.aml

 

cd /home/ubuntu/Desktop

sudo cat /sys/firmware/acpi/tables/SSDT > SSDT.aml

sudo cat /sys/firmware/acpi/tables/dynamic/SSDT2



#14
chris1111

chris1111

    InsanelyMac Deity

  • Donators
  • 1,524 posts
  • Gender:Male
  • Location:Montreal Canada

with a linux live cd :

 

DSDT EXTRACT LINUX:

sudo cat /sys/firmware/acpi/tables/DSDT > dsdt.aml

 

cd /home/ubuntu/Desktop

sudo cat /sys/firmware/acpi/tables/SSDT > SSDT.aml

sudo cat /sys/firmware/acpi/tables/dynamic/SSDT2

I have the live cd  I going try that tonight thanks   :)



#15
toleda

toleda

    InsanelyMac Legend

  • Gurus
  • 1,266 posts
  • Gender:Male

With Clover dsdt patching, native dsdt: EFI/Clover/ACPI/origin/DSDT-or.aml



#16
Maniac10

Maniac10

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,258 posts
  • Gender:Not Telling

Within Clover's GUI press F3 or F4 (I don't remember that well. Read the F1 help menu) and all your tables will be dumped to the ACPI/origin folder. Be aware that if you use the OEM folder then you'll need to create the ACPI/origin sub folders for it to work. You could also check the DSDT patches you want within Clover and then dump the patched DSDT using the same method, but it's another "F" key (check the help).



#17
chris1111

chris1111

    InsanelyMac Deity

  • Donators
  • 1,524 posts
  • Gender:Male
  • Location:Montreal Canada

with a linux live cd :

 

DSDT EXTRACT LINUX:

sudo cat /sys/firmware/acpi/tables/DSDT > dsdt.aml

 

cd /home/ubuntu/Desktop

sudo cat /sys/firmware/acpi/tables/SSDT > SSDT.aml

sudo cat /sys/firmware/acpi/tables/dynamic/SSDT2

same error  :hysterical:  ubuntu  one more !   now have to error   :lol:


Within Clover's GUI press F3 or F4 (I don't remember that well. Read the F1 help menu) and all your tables will be dumped to the ACPI/origin folder. Be aware that if you use the OEM folder then you'll need to create the ACPI/origin sub folders for it to work. You could also check the DSDT patches you want within Clover and then dump the patched DSDT using the same method, but it's another "F" key (check the help).

Thanks for help Maniac10   :)  so now I have this  on folder origin  

 

 

 

0011.png

 

what I need to do with that  ? :D  sorry but I am not really good on DSDT  this is my worst nightmare  :lol:


With Clover dsdt patching, native dsdt: EFI/Clover/ACPI/origin/DSDT-or.aml

sorry   dont find  this  patching, native dsdt ?



#18
Maniac10

Maniac10

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,258 posts
  • Gender:Not Telling

Now you can use that clean DSDT to add patches of your own, or through MaciASL. And as I told you before you can also obtain an already patched DSDT with Clover, just enable the necessary DSDT Fixes within Clover's menus and proceed to dump the "patched" tables. As a result you'll have a patched DSDT in ACPI/origin/patched or origin.



#19
chris1111

chris1111

    InsanelyMac Deity

  • Donators
  • 1,524 posts
  • Gender:Male
  • Location:Montreal Canada

ok I try to do that  :)



#20
toleda

toleda

    InsanelyMac Legend

  • Gurus
  • 1,266 posts
  • Gender:Male

sorry   dont find  this  patching, native dsdt ?

MaciASL patching:

See MaciASL Repo "general"

Add repo:

8_Series: https://raw.github.com/toleda/audio_hdmi_8series/master
PJALM Gigabyte: http://pjalm.info/repos/gigabyte

1. MaciASL/File/Open/dsdt.aml

2. MaciASL/Patch/    (select patch)

3. MaciASL/Patch/Apply

4. MaciASL/Patch/Close

5. MaciASL/Compile

6. For more patches, goto 2. MaciASL/Patch/

7. MaciASL/File/Save As... /File Format: ACPI Machine Language Binary/DSDT.aml







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy