Jump to content
NaxiumEQ

Another Debugging question DSDT

Recommended Posts

Not all control Paths return a value (SIOS)


Is there a way to fix this? Did I miss a patch somewhere?

 

Method (SIOS, 1, NotSerialized)
               {
                   Store ("SIOS", Debug)
                   If (LEqual (One, Arg0))
                   {
                       ^SIO1.ENFG (0x0A)
                       And (^SIO1.RGE0, 0x9F, ^SIO1.RGE0)
                       If (KBFG)
                       {
                           Or (^SIO1.OPT6, 0x10, ^SIO1.OPT6)
                       }
                       Else
                       {
                           And (^SIO1.OPT6, 0xEF, ^SIO1.OPT6)
                       }
                       If (MSFG)
                       {
                           Or (^SIO1.OPT6, 0x20, ^SIO1.OPT6)
                       }
                       Else
                       {
                           And (^SIO1.OPT6, 0xDF, ^SIO1.OPT6)
                       }
                       Store (0xFF, ^SIO1.OPT3)
                       Store (0xFF, ^SIO1.OPT4)
                       Or (One, ^SIO1.OPT2, ^SIO1.OPT2)
                       ^SIO1.EXFG ()
                       Return (Zero)

 


Thanks for the help!

OSX Lion 10.7.3/EasyBeast

Intel i5 2500k Sandy Bridge

Asus P8Z68-V Pro Gen3 3202

8 GB (2x4GB) Corsair Vengeance 1600 MHZ

BFG Nvidia GTX 260

(2) 150GB WD Raptors 1.5G/s (using one of them for hackintosh for the time being)

Apple wired keyboard (alumnium)

Link to comment
Share on other sites

This is not an error, it's just a warning.


To avoid it, add Return (Zero) before the last } of the method.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Forgive me as I am extremely new to this whole thing....otherwise it can be ignored?



 

Method (SIOS, 1, NotSerialized)
               {
                   Store ("SIOS", Debug)
                   If (LEqual (One, Arg0))
                   {
                       ^SIO1.ENFG (0x0A)
                       And (^SIO1.RGE0, 0x9F, ^SIO1.RGE0)
                       If (KBFG)
                       {
                           Or (^SIO1.OPT6, 0x10, ^SIO1.OPT6)
                       }
                       Else
                       {
                           And (^SIO1.OPT6, 0xEF, ^SIO1.OPT6)
                       }
                       If (MSFG)
                       {
                           Or (^SIO1.OPT6, 0x20, ^SIO1.OPT6)
                       }
                       Else
                       {
                           And (^SIO1.OPT6, 0xDF, ^SIO1.OPT6)
                       Return (Zero) <---------Right here?
                       }
                       Store (0xFF, ^SIO1.OPT3)
                       Store (0xFF, ^SIO1.OPT4)
                       Or (One, ^SIO1.OPT2, ^SIO1.OPT2)
                       ^SIO1.EXFG ()
                       Return (Zero)

 

Again, Thanks

OSX Lion 10.7.3/EasyBeast

Intel i5 2500k Sandy Bridge

Asus P8Z68-V Pro Gen3 3202

8 GB (2x4GB) Corsair Vengeance 1600 MHZ

BFG Nvidia GTX 260

(2) 150GB WD Raptors 1.5G/s (using one of them for hackintosh for the time being)

Apple wired keyboard (alumnium)

Link to comment
Share on other sites

No, "before the last } of the method".


If you post the entire method I can show you.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

I didn't realize there was more to the method lol.


I think I got it now, after recompiling the warning disappeared. I appreciate your patience cassio!


Do you think you might be able to check over my dsdt and tell me if I'm missing anything or on the right track?

dsdt.aml.zip

OSX Lion 10.7.3/EasyBeast

Intel i5 2500k Sandy Bridge

Asus P8Z68-V Pro Gen3 3202

8 GB (2x4GB) Corsair Vengeance 1600 MHZ

BFG Nvidia GTX 260

(2) 150GB WD Raptors 1.5G/s (using one of them for hackintosh for the time being)

Apple wired keyboard (alumnium)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...