Jump to content
InsanelyMac Forum
Sign in to follow this  
kkdesire

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

Recommended 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

})

}

}

 

 

post-710661-1318255044_thumb.png

 

dsdt.aml.zip

Share this post


Link to post
Share on other sites
Advertisement

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

Share this post


Link to post
Share on other sites

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.

 

post-710661-1318288612_thumb.png

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • Cool! Do you have a link? Googled and didn't see anything yet.   Never mind... you're quick! I just noticed you updated it on the 1st page THANKS!!!!!!
    • I resolved the problem. Just set this coding in your config.plist:   "
      <key>KextsToPatch</key>
              <array>
                  <dict>
                      <key>Comment</key>
                      <string>USB 10.13.4+ by PMHeart</string>
                      <key>Disabled</key>
                      <false/>
                      <key>Find</key>
                      <data>
                      g32UDw+DlwQAAA==
                      </data>
                      <key>InfoPlistPatch</key>
                      <false/>
                      <key>MatchOS</key>
                      <string>10.13.x</string>
                      <key>Name</key>
                      <string>com.apple.driver.usb.AppleUSBXHCI</string>
                      <key>Replace</key>
                      <data>
                      g32UD5CQkJCQkA==
                      </data>
                  </dict>
              </array>     "
    • New Web Driver - 387.10.10.10.30.107 for 10.13.4 build 17E202
    • I guess having pre{max-height: 500px;overflow: auto;} in CSS was too much for IPS Devs' tast.  Until an admin has hands on this, you still can use stylish plugin to accomplish it.     In fact, it is pretty easy than it appears - Just apply a simple click on the codebox (it will highlight it), then 'delete' key.
    • all the possible frequencyes i have added seems to work fine at the moment, i have added a lot of different frequencyes to support better all kinds of professional applications, inclunding strange sampling rates and goes from 8khz up to 176.4 khz, unfortunately 192 khz does not seems to work even on cards which should support it like the audigy rx, but other frequencyes just works fine and at the moment i have tested only the sound blaster audigy rx and the audigy sb0090 (1st gen audigy) and i can confirm that all the frequencyes from 8khz up to 176.4 khz does work on that card, so i think that such frequencyes should work on all the audigy 2, 2sz, 4 cards as well, tomorrow i will test with my sound blaster live! cards and i will let you know, but here are also some photos (pro tip: use cmd + alt/opton + 4 and then press space to make a screenshot of a single window):


×