Contribute
Register

DSDT errors for Toshiba

Status
Not open for further replies.
Joined
Oct 3, 2011
Messages
21
Motherboard
Gigabyte GA-H67N-USB3-B3
CPU
Intel Core i3-2105
Graphics
Intel HD 3000
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
I have managed to compile my dsdt.aml, but I can not find any solutions for my errors.

/Users/Nick/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 8193: Method (CBRL, 0, NotSerialized)
Warning 1088 - Not all control paths return a value ^ (CBRL)

/Users/Nick/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 9850: Method (_CRS, 0, NotSerialized)
Warning 1088 - Not all control paths return a value ^ (_CRS)

/Users/Nick/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 9850: Method (_CRS, 0, NotSerialized)
Warning 1081 - Reserved method must return a value ^ (_CRS)

/Users/Nick/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 10409: Method (BTST, 0, NotSerialized)
Warning 1088 - Not all control paths return a value ^ (BTST)

/Users/Nick/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 10696: Method (EVNT, 1, NotSerialized)
Warning 1088 - Not all control paths return a value ^ (EVNT)




I have attached my dsdt.aml file, please help if you can
 

Attachments

  • dsdt.aml
    52.7 KB · Views: 193
Method (BTST, 0, NotSerialized)
{
If (ECON)
{
Store (^^PCI0.LPCB.EC0.KSWH, Local0)
XOr (Local0, One, Local0)
Store (^^PCI0.LPCB.EC0.BTHE, Local7)
If (Local0)
{
ShiftLeft (Local7, 0x06, Local6)
ShiftLeft (Local7, 0x07, Local7)
Or (Local7, Local6, Local1)
Or (Local0, Local1, Local2)
Return (Local2)
}
Else
{
Return (Zero)
}
}
// Add this one
Else
{
Return (Zero)
}
//end
}
}
Method (EVNT, 1, NotSerialized)
{
While (VZOK)
{
If (LEqual (VZOK, One))
{
Store (Arg0, VZOK)
Notify (TVAP, 0x80)
Return (Zero)
}
Else
{
If (LEqual (VALF, 0x1E))
{
Store (One, VZOK)
Store (Zero, VALF)
Return (Zero)
}
Sleep (0x64)
Add (VALF, One, VALF)
// add this
Return (Zero)
//end
}
}
}
Method CBRL
Else
{
If (LEqual (Local0, PL06))
{
Return (0x06)
}
Else
{
If (LEqual (Local0, PL07))
{
Return (0x07)
}
}
//add this after last return
Return (Zero)
//end
 
Thank you for helping.
I am very new to editing DSDT
I tried editing adding what you have told me, but I still cannot get it to compile correctly, maybe I am inputting it in the wrong place. Is there any way you can go into more detail with where to put the edits?
 
Actually, I figured it out! Thank you!
Another thing, every time I compile, I get this:

External (\TNOT)
Error 4057 - Name already exists in scope ^ (\TNOT)

Every time when I'm ready to save the dsdt, I just go delete the line and it allows me to compile. Is that what I should do?

And I still don't know what to do about the two _CRS errors. Any ideas anyone?
 
you can compile you dsdt using iasl in windows,
try iasl -tc dsdt.dsl
output file dsdt.aml 53 k
 
It still compiles the same. I always get it to compile by deleting the (TNot) line, so I'm not too worried about that. But I am not sure how to edit the dsdt to solve the two CRS warnings the compiler is giving. Any idea how to edit it, or any idea what the two warnings/errors mean?
 
Moved to correct forum,
Snow Leopard Installation -> 10.6 Laptops.
 
Status
Not open for further replies.
Back
Top