Contribute
Register

Help patching DSDT. Error unexpected PARSEOP_SCOPE

Status
Not open for further replies.
Joined
Jul 17, 2015
Messages
185
Motherboard
HP Pavilion 15 dk0xxx
CPU
i7-9750H
Graphics
UHD 630 + GTX 1650, 1920x1080
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. iOS
I am trying to apply VooDooI2C path to my DSDT but I had to fix errors. I have solved all the errors expect this one. Kindly help me in removing this error. My aml, dsl and a screenshot have been attached.

Thank You.

416415
 

Attachments

  • Archive.zip
    469.5 KB · Views: 76
replace:
Code:
 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:
Code:
 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)
                            }
 
replace:
Code:
 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:
Code:
 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)
                            }
Thank You but not I am getting another error "Illegal recursive call to method that creates objects...". Kindly have a look.
416455
 

Attachments

  • Archive.zip
    604.1 KB · Views: 82
I have the same problem with you, and have been bothering me for a day. Have you solved this problem?
 
Status
Not open for further replies.
Back
Top