hgloow Posted May 21, 2020 Share Posted May 21, 2020 I'm a newbie here, can anyone help me with this DSDT error? Scope (_SB.PCI0) { Device (I2C0) { Name (LINK, "\\_SB.PCI0.I2C0") Method (_PSC, 0, NotSerialized) // _PSC: Power State Current { Return (GETD (SB10)) } Method (_PS0, 0, NotSerialized) // _PS0: Power State 0 { LPD0 (SB10) } Method (_PS3, 0, NotSerialized) // _PS3: Power State 3 { LPD3 (SB10) } If (LNotEqual (SMD0, 0x02)) >>> Syntax error, unexpected PARSEOP_IF { Name (_HID, "INT3442") // _HID: Hardware ID Method (_HRV, 0, NotSerialized) // _HRV: Hardware Revision { Return (LHRV (SB10)) } Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { Return (LCRS (SMD0, SB00, SIR0)) } Method (_STA, 0, NotSerialized) // _STA: Status { Return (LSTA (SMD0)) } } If (LEqual (SMD0, 0x02)) >>> Syntax error, unexpected PARSEOP_IF { Name (_ADR, 0x00150000) // _ADR: Address Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { If (PCIC (Arg0)) { Return (PCID (Arg0, Arg1, Arg2, Arg3)) } Return (Buffer (One) { 0x00 }) } } } } >>> Syntax error, unexpected '}', expecting $end and premature End-Of-File Link to comment https://www.insanelymac.com/forum/topic/343916-syntax-error-unexpected-parseop_if-and-premature-end-of-file/ Share on other sites More sharing options...
Recommended Posts