Jump to content

Need help fixing errors on DSDT for eGPU


migle25
 Share

3 posts in this topic

Recommended Posts

  

I'm trying to perform this fix to be able to hot plug my razercore to my macbook pro but i keep getting errors when compiling please help!!!




9030 Error syntax error, unexpected PARSEOP_IF, expecting ',' or ')'

9030 Warning Result is not used, operator has no effect

9031 Error syntax error, unexpected ')'

9035 Error syntax error, unexpected ','

9040 Error syntax error, unexpected ','

9043 Error syntax error, unexpected ')'


First line below is 9027 Last line is 9045
{
\_SB.PCI0.PEG1.UPSB.LSTX (Zero, One, \_SB.PCI0.PEG1.UPSB.LSTX (One, One, \_SB.PCI0.PEG2.UPSB.LSTX (Zero, One, \_SB.PCI0.PEG2.UPSB.LSTX (
One, One, \_SB.SGDI (0x01020009), \_SB.SPMV (0x01020009, Zero), \_SB.SGDI (0x0102000D)), \_SB.SPMV (0x0102000D, 
Zero), \_SB.SGDI (0x01020015)), \_SB.SPMV (0x01020015, Zero), If (LOr (LEqual (Arg0, 0x03), 
LEqual (Arg0, 0x04)))
{
Store (\_SB.MBOX (0x03), Local0)
If (LNotEqual (Local0, Zero)) {}
}, If (LEqual (Arg0, 0x05))
{
Store (\_SB.PCI0.XHC1.USBM, Local0)
Store (\_SB.MBOX (0x05), Local0)
If (LNotEqual (Local0, Zero)) {}
}, If (LNot (OSDW ()))
{
Store (Arg0, \_SB.PCI0.LPCB.EC.ECSS)
}))
}
}

 

 
 
 

 

  

Link to comment
Share on other sites

its a maxed out 2016 macbook pro 15" 460 radeon 

I have no idea ssdt is... sorry im a newb.

I got it down to 1 error by deleting the , or ) that it told me to do so now i only have this

9038 Error syntax error, unexpected PARSEOP_NAMESTRING, expecting ',' or ')'

 

 

        }
        If (LAnd (LNot (OSDW ()), LGreaterEqual (Arg0, 0x04)))
        {
            Store (Zero, \_SB.PCI0.LPCB.EC.EWLO)
        }
        If (LGreaterEqual (Arg0, 0x05))
        {
            \_SB.PCI0.PEG1.UPSB.LSTX (Zero, One, \_SB.PCI0.PEG1.UPSB.LSTX (One, One, \_SB.PCI0.PEG2.UPSB.LSTX (Zero, One, \_SB.PCI0.PEG2.UPSB.LSTX (
                One, One, \_SB.SGDI (0x01020009), \_SB.SPMV (0x01020009, Zero), \_SB.SGDI (0x0102000D)), \_SB.SPMV (0x0102000D, 
                Zero)
                \_SB.SGDI (0x01020015),                   <-------- this is line 9038
                \_SB.SPMV (0x01020015, Zero)
                If (LOr (LEqual (Arg0, 0x03), 
                LEqual (Arg0, 0x04)))
                    {
                        Store (\_SB.MBOX (0x03), Local0)
                        If (LNotEqual (Local0, Zero)) {}
                    } If (LEqual (Arg0, 0x05))
                    {
                        Store (\_SB.PCI0.XHC1.USBM, Local0)
                        Store (\_SB.MBOX (0x05), Local0)
                        If (LNotEqual (Local0, Zero)) {}
                    } If (LNot (OSDW ()))
                    {
                        Store (Arg0, \_SB.PCI0.LPCB.EC.ECSS)
                    }
        }
Link to comment
Share on other sites

 Share

×
×
  • Create New...