Jump to content

Can someone please help me with these 4 warning in the DSDT?


  • Please log in to reply
7 replies to this topic

#1
kkdesire

kkdesire

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
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
})
}
}


Attached File  _____________2011_10_10_______09.56.11.png   38.64KB   42 downloads

Attached File  dsdt.aml.zip   16.74KB   2 downloads

#2
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
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)
				}
			}

Attached Files



#3
kkdesire

kkdesire

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
Thanks a lot for your help! so much appreciated! :D

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.

Attached File  _____________2011_10_11_______07.14.03.png   199.94KB   22 downloads

#4
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
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)
}
				}
			}


#5
kkdesire

kkdesire

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
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!

#6
Onixs

Onixs

    Since 2007

  • Members
  • PipPipPipPipPipPipPip
  • 780 posts
  • Gender:Male
newer iasl will detect new errors/warnings which old one wont . dsdtse uses old one.

#7
kkdesire

kkdesire

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
Is that mean the error is not false alarm? Thanks!

#8
existation

existation

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts

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
                        })
 
                }
            }






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy