Help - Search - Members - Calendar
Full Version: [help] Correct Warning On My Dsdt P5q Deluxe
Project OS X Forums > Snow Leopard Guides & Tutorials > New Users Discussion
stitch2k9

hello,
I am new to your community:)

I have a problem with my DSDT for my P5Q DELUXE ...
I can not fix my warning and my remarks.

I hope I'm posting in the right place (sorry if this is not the case)

hoping someone helps me (sorry for my English google translation)

CODE
0 Warning, 0 Error occurred.
Done.

Intel ACPI Component Architecture
AML Disassembler version 20081204 [Dec  4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a


Intel ACPI Component Architecture
ASL Optimizing Compiler version 20081204 [Dec  4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl  2727:                             Name (_T_0, Zero)
Remark   5110 -        Use of compiler reserved name ^  (_T_0)

dsdt.dsl  2809:                             Name (_T_0, Zero)
Remark   5110 -        Use of compiler reserved name ^  (_T_0)

dsdt.dsl  2857:                             Name (_T_0, Zero)
Remark   5110 -        Use of compiler reserved name ^  (_T_0)

dsdt.dsl  2923:                             Name (_T_0, Zero)
Remark   5110 -        Use of compiler reserved name ^  (_T_0)

dsdt.dsl  2993:                             Name (_T_0, Zero)
Remark   5110 -        Use of compiler reserved name ^  (_T_0)

dsdt.dsl  5717:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  5733:                 Name (_T_0, Zero)
Remark   5110 -                          ^ Use of compiler reserved name (_T_0)

dsdt.dsl  5825:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  5924:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  6419:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  6462:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  6546:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  6560:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  6679:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  6749:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  6840:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  6854:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  6981:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7051:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7055:                 Name (_T_1, Zero)
Remark   5110 -                          ^ Use of compiler reserved name (_T_1)

dsdt.dsl  7293:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7356:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7524:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7557:                     Name (_T_1, Zero)
Remark   5110 -                              ^ Use of compiler reserved name (_T_1)

dsdt.dsl  7598:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7654:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7824:             Name (_T_0, Zero)
Remark   5110 -                      ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7852:                 Name (_T_0, Zero)
Remark   5110 -                          ^ Use of compiler reserved name (_T_0)

dsdt.dsl  7905:                     Name (_T_1, Zero)
Remark   5110 -                              ^ Use of compiler reserved name (_T_1)

dsdt.dsl  9577:         Method (VGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (VGET)

dsdt.dsl  9622:         Method (TGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (TGET)

dsdt.dsl  9684:         Method (FGET, 1, NotSerialized)
Warning  1087 -                    ^ Not all control paths return a value (FGET)

dsdt.dsl  9720:             Store (VGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl  9762:             Store (TGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl  9795:             Store (FGET (Local0), Local1)
Warning  1092 -                       ^ Called method may not always return a value

dsdt.dsl  9996: Return(Package(0x02){0x00, 0x00})
Warning  1099 -              ^ Statement is unreachable

dsdt.dsl 10075:                 Name (_T_0, Zero)
Remark   5110 -                          ^ Use of compiler reserved name (_T_0)

dsdt.dsl 10143:                                         ShiftRight (BUF2, 0x04)
Warning  1105 -             Result is not used, operator has no effect ^

dsdt.dsl 10211:                     Name (_T_1, Zero)
Remark   5110 -                              ^ Use of compiler reserved name (_T_1)

ASL Input:  dsdt.dsl - 10315 lines, 332632 bytes, 4856 keywords
AML Output: dsdt.aml - 38608 bytes, 998 named objects, 3858 executable opcodes

Compilation complete. 0 Errors, 8 Warnings, 31 Remarks, 71 Optimizations

0 Warning, 0 Error occurred.
Done.


here is my DSDT => http://www.insanelymac.com/forum/index.php...st&id=58672

thanks
Gringo Vermelho
Please search before posting.

Apparently all ASUS P5Q series boards have these same issues. Some other ASUS boards too.

18seven helped me with those compiling errors here:
http://www.projectosx.com/forum/index.php?showtopic=454

If you don't understand his directions, download the DSDT he posted where the errors are fixed and compare to yours.
stitch2k9
yes I saw this post ...
I tried the proposed solutions and I found myself with more than 200 errors,

please be indulgent I do not speak English fluently
SilentBlade
I'm also french, and like you, i do not speak English fluently too.

But 18seven reply on Gringo Vermelho post has helped me to resolve all warnings and errors i used to have.

CODE
Warning  1099 -              ^ Statement is unreachable

there's a fix for this in DSDTSE app like many others fixs
MiniHack
These are just remarks, and are not really a problem (the DSDT will still "work"). Real problems are "errors" and "warnings" are not so bad.....remarks are not much of a concern usually.
The remarks you have about "reserved name", for instance, can be solved by just doing a search and replace for the name - for example search "_T_" and replace with "dit0". The compiler will then be happier......
The errors about "unreachable" mean that the method will simply never reach that point because the condition will never occur.
Anyway, your DSDT seems actually not too bad!
Gringo Vermelho
All the iasl compiler errors/warnings/remarks in ASUS P35/45 based boards' DSDT occur in code that OS X doesn't even use! Most of it is for Asus Probe and AI Life.

It is safe to delete all of the following from your DSDT (information courtesy Master Chief @ InsanelyMac):

OperationRegion: SMRG
Field: SMRG,
Method: SCMD, SBYT, WBYT, WWRD, RSBT, RBYT, RWRD, RBLK, WBLK

OperationRegion: RAMW and IOB2
Field: RAMW and IOB2
Method: ISMI, GNVS, SNVS, GMAX, GMDX, GCAX, GCDX
Note: Remove that empty Scope (\) {} also.

Methods: RBPE, RWPE, RDPE, WBPE, WWPE, WDPE, RWDP and RPME
Note: You can remove everything in this block, starting with Scope (_SB) { and ending with }

Devices RMEM, FDC, ASOC, RMSC, SIOR, ^PCIE and IELK

Edit OSVR/OSFL to look like this:
CODE

Name (OSVR, Ones)
Method (OSFL, 0, NotSerialized)
{
If (LNotEqual (OSVR, Ones))
{
Return (OSVR)
}

If (LEqual (PICM, Zero))
{
Store (0xAC, DBG8)
}

Store (One, OSVR)
Return (OSVR)
}

And remove method MCTH below it.

Delete FWH and FWHE and put this in their place:
CODE

Device (FWHD)
{
Name (_HID, EisaId ("INT0800"))
Name (_CRS, ResourceTemplate ()
{
Memory32Fixed (ReadOnly,
0xFF000000, // Address Base
0x01000000, // Address Length
)
})
}


Be careful with your {}'s when editing, and visit the thread linked below for more information - there is much more you can do than what I've shown here.
http://www.insanelymac.com/forum/index.php?showtopic=188920
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.