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! Quote 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. Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 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 Quote 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. Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 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 Quote 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...