Jump to content

DSDT compiling error


nid1
 Share

3 posts in this topic

Recommended Posts

6 hours ago, nid1 said:

Error premature end of file when attempting to compile DSDT

i5-8300H

Dell G3 153579

GTX 1050

DSDT.dsl

DSDT.aml.zip

 

change GFX0 to IGPU
47465830 
49475055 

 

change HDAS to HDEF
48444153 
48444546 

 

change HECI to IMEI
48454349 
494d4549 

 

change SAT0 to SATA
53415430 
53415441

 

change ECDV to EC
45434456 
45435f5f

Link to comment
Share on other sites

On 10/7/2019 at 7:00 PM, MaLd0n said:

DSDT.aml.zip

 

change GFX0 to IGPU
47465830 
49475055 

 

change HDAS to HDEF
48444153 
48444546 

 

change HECI to IMEI
48454349 
494d4549 

 

change SAT0 to SATA
53415430 
53415441

 

change ECDV to EC
45434456 
45435f5f

HOLY COW , you're instinctively talented 

my DSDT was a MESS,  I guess some people were born to code, thanks! 

On 10/7/2019 at 12:25 PM, Hervé said:

Well-known bug...

 

Replace:


                If (LEqual (PM6H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW)  // _RW_: Read-Write Status
                    Store (Zero, ECRW (If (PM0H)
                            {
                                CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)  // _LEN: Length
                                Store (Zero, F0LN)
                            }))
                }


with:


                If (LEqual (PM6H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW)  // _RW_: Read-Write Status
                    Store (Zero, ECRW)
                }

                If (PM0H)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)  // _LEN: Length
                    Store (Zero, F0LN)
                }

  

yeah I was aware of that , saw it on rehab guide, but even after applying the patch I faced another error , which was an indicator to me that I'm doing it wrong.

it's all good now , thank you.

Link to comment
Share on other sites

 Share

×
×
  • Create New...