kkdesire Posted October 10, 2011 Share Posted October 10, 2011 Can someone please kindly help me? I try to fix these 4 warnings for the past week but still fail as a result...dsdt.aml is attached. Thanks a lot! start of line 6911 Method (_CRS, 0, NotSerialized) { If (IGDS) { Return (CRS) } } } } } start of line 9021 Method (_DOD, 0, NotSerialized) { If (LNotEqual (SKUT, 0x03)) { If (LEqual (GPUT, 0x03)) { If (LAnd (LGreater (OSYS, 0x07D0), LLess (OSYS, 0x07D6))) { Return (Package (0x03) { 0x0110, 0x0100, 0x0120 }) } Else { Return (Package (0x03) { 0x0110, 0x80000100, 0x80007330 }) } } dsdt.aml.zip Link to comment Share on other sites More sharing options...
LatinMcG Posted October 10, 2011 Share Posted October 10, 2011 here u go Return (zero) for both Method (_DOD, 0, NotSerialized) { If (LNotEqual (SKUT, 0x03)) { If (LEqual (GPUT, 0x03)) { If (LAnd (LGreater (OSYS, 0x07D0), LLess (OSYS, 0x07D6))) { Return (Package (0x03) { 0x0110, 0x0100, 0x0120 }) } Else { Return (Package (0x03) { 0x0110, 0x80000100, 0x80007330 }) } } If (LEqual (PMDP, 0x03)) { Return (Package (0x03) { 0x0400, 0x00010100, 0x00010210 }) } Return (Package (0x03) { 0x00010110, 0x00010100, 0x00010210 }) } Return (Zero) } Device (^^MEM2) { Name (_HID, EisaId ("PNP0C01")) Name (_UID, 0x02) Name (CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x20000000, // Address Base 0x00200000, // Address Length ) Memory32Fixed (ReadWrite, 0x40000000, // Address Base 0x00200000, // Address Length ) }) Method (_CRS, 0, NotSerialized) { If (IGDS) { Return (CRS) } Return (Zero) } } might want to change Windows 2006 to Darwin for HPET to show 0x0F instead of 0x0B Method (_INI, 0, NotSerialized) { Store (0x07D0, OSYS) If (CondRefOf (_OSI, Local0)) { If (_OSI ("Windows 2001")) { Store (0x07D1, OSYS) } If (_OSI ("Windows 2001 SP1")) { Store (0x07D1, OSYS) } If (_OSI ("Windows 2001 SP2")) { Store (0x07D2, OSYS) } If (_OSI ("Windows 2001.1")) { Store (0x07D3, OSYS) } If (_OSI ("Darwin")) { Store (0x07D6, OSYS) } If (_OSI ("Windows 2009")) { Store (0x07D9, OSYS) } If (_OSI ("Linux")) { Store (0x03E8, OSYS) } } kkdesire.aml.zip Link to comment Share on other sites More sharing options...
kkdesire Posted October 10, 2011 Author Share Posted October 10, 2011 Thanks a lot for your help! so much appreciated! With your dsdt.aml, I compile it and found 2 errors. Please kindly have a look on it? Thanks a lot, you are so nice. Link to comment Share on other sites More sharing options...
LatinMcG Posted October 11, 2011 Share Posted October 11, 2011 strange it compiled fine in dsdtse .. guess its best to use dsdt editor to check it more. try this Device (^^MEM2) { Name (_HID, EisaId ("PNP0C01")) Name (_UID, 0x02) Name (CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x20000000, // Address Base 0x00200000, // Address Length ) Memory32Fixed (ReadWrite, 0x40000000, // Address Base 0x00200000, // Address Length ) }) Method (_CRS, 0, NotSerialized) { If (IGDS) { Return (CRS) } Else { Return (Zero) } } } Link to comment Share on other sites More sharing options...
kkdesire Posted October 11, 2011 Author Share Posted October 11, 2011 Opps, the same error occurs after change, but as you say, I try it in DSDTSE, it is no problem, so I just use your one. Thanks so much, anyway! Link to comment Share on other sites More sharing options...
Onixs Posted October 11, 2011 Share Posted October 11, 2011 newer iasl will detect new errors/warnings which old one wont . dsdtse uses old one. Link to comment Share on other sites More sharing options...
kkdesire Posted October 11, 2011 Author Share Posted October 11, 2011 Is that mean the error is not false alarm? Thanks! Link to comment Share on other sites More sharing options...
existation Posted August 21, 2013 Share Posted August 21, 2013 In my case i need to add like this Device (^^MEM2) { Name (_HID, EisaId ("PNP0C01")) // _HID: Hardware ID Name (_UID, 0x02) // _UID: Unique ID Name (CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x20000000, // Address Base 0x00200000, // Address Length ) Memory32Fixed (ReadWrite, 0x40000000, // Address Base 0x00200000, // Address Length ) }) Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings { If (IGDS) { Return (CRS) } Return (Buffer (One) { 0x00 }) } } Link to comment Share on other sites More sharing options...
Recommended Posts