Jump to content

Recommended Posts

Posted

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)

Posted

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


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

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

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)

Posted

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


If you post the entire method I can show you.

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

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)

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


×
×
  • Create New...