NaxiumEQ Posted March 3, 2012 Share Posted March 3, 2012 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 More sharing options...
Cassio Posted March 3, 2012 Share Posted March 3, 2012 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 Link to comment Share on other sites More sharing options...
NaxiumEQ Posted March 3, 2012 Author Share Posted March 3, 2012 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 More sharing options...
Cassio Posted March 3, 2012 Share Posted March 3, 2012 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 Link to comment Share on other sites More sharing options...
NaxiumEQ Posted March 3, 2012 Author Share Posted March 3, 2012 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now