Master Chief Posted December 2, 2009 Author Share Posted December 2, 2009 and if you dare to handle IOService::message.... in your class you may give "sh**t" if dsdt broken or sbus, cbus ..xbus ?? Right. Let me check that. Thanks. Edit: I take it that you want me to add this: IOReturn OSX_Restart_Handler::message(UInt32 type, IOService * provider, void * argument) { return super::message(type, provider, argument); } Right? Never mind got it. Did a couple of reboots with the old code. It's fine now. OSXRestart.kext version 1.5 will be released shortly. Thanks again! OSXRestart Version 1.5 is now available!!! – see attachments in post #1 Link to comment Share on other sites More sharing options...
np_ Posted December 2, 2009 Share Posted December 2, 2009 Right. Let me check that. Thanks. Edit: I take it that you want me to add this: IOReturn OSX_Restart_Handler::message(UInt32 type, IOService * provider, void * argument) { return kIOReturnSuccess; } Right? just return success not enough , 1: attach your class to correct provider 2: handle messages / sub messages start's with kIOMes.... and sub comes from argument ( cast it to int ) i give you all possible hints wish to give entire function(s) but you all know where will finish so no more favors to psysf**k and "co" just read darn iokit doc's - all you need is there have a fun Link to comment Share on other sites More sharing options...
AudiSport Posted December 2, 2009 Share Posted December 2, 2009 Master Chief, The Finder says that v1.5 is v1.4. Did the Info.plist not get updated or did the wrong kext get zipped? Link to comment Share on other sites More sharing options...
Master Chief Posted December 2, 2009 Author Share Posted December 2, 2009 Master Chief,The Finder says that v1.5 is v1.4. Did the Info.plist not get updated or did the wrong kext get zipped? I've downloaded the attachment from post #1 and checked the version info – both strings are set to 1.5 but "Bundle versions string, short" is still 1.4 Let me fix this for the next update. Thanks. Link to comment Share on other sites More sharing options...
donkey Posted December 2, 2009 Share Posted December 2, 2009 MasterChief and other ppl: The restart works great and thanks for the update. One issue that I noticed is that I cannot restart after waking the computer from sleep. So that there isn't any confusion in what I'm saying: 1) Put computer to sleep 2) Wake computer from sleep 3) Attempt to restart computer = Computer won't restart. I've tested this about 6 times after putting the computer to sleep and it doesn't work. All other times it(OsxRestart) works.... Link to comment Share on other sites More sharing options...
blackosx Posted December 2, 2009 Share Posted December 2, 2009 I've tested this about 6 times after putting the computer to sleep and it doesn't work. All other times it(OsxRestart) works.... Restart works fine with OSXRestart v1.5 after wake from sleep on my system. Link to comment Share on other sites More sharing options...
Master Chief Posted December 2, 2009 Author Share Posted December 2, 2009 well mine can reboot after sleep BUT if i do that the "long boot" reappear after the reboot. Try the attached test version of OSXRestart.kext (v1.5b) and let me know if this one works for you. Thanks. Edit: The attached test version has been replaced with a new one in post #118 OSXRestart.kext.zip Link to comment Share on other sites More sharing options...
Gabo_c Posted December 2, 2009 Share Posted December 2, 2009 Well done! works OK for me Only 4 Kexts on my extra, vodoohda, openhaltrestar (for shutdown) , fakesmc of course...and OSXRestart and all togethers works fine, now it can shut down, can restart, can sleep, can wake up after sleep and can shut down or restart fine afer waking up ! thanks! Link to comment Share on other sites More sharing options...
donkey Posted December 2, 2009 Share Posted December 2, 2009 Try the attached test version of OSXRestart.kext (v1.5b) and let me know if this one works for you. Thanks. Thanks for the update!! I'll test it out asap. Thanks! Link to comment Share on other sites More sharing options...
wayover Posted December 2, 2009 Share Posted December 2, 2009 but you probably know how to make your computer restarts without any additional extensions of the kernel? Link to comment Share on other sites More sharing options...
donkey Posted December 3, 2009 Share Posted December 3, 2009 Thanks for the update!! I'll test it out asap. Thanks! MasterChief, Checked out 1.5b and no restarts on this laptop. 1.3 and 1.5 work as long as the computer hasn't been put to sleep at some point... Thanks for checkin out the issue! Link to comment Share on other sites More sharing options...
Master Chief Posted December 3, 2009 Author Share Posted December 3, 2009 from dmesg the extension is loaded OSXRestart Version 1.5b \M-B\M-) Master Chief 2009 but now the reboot doesn't work at all Oops. Thanks for testing. Will look at it later today (just woke up early). MasterChief, Checked out 1.5b and no restarts on this laptop. 1.3 and 1.5 work as long as the computer hasn't been put to sleep at some point... Thanks for checkin out the issue! Seems like the tips I got from np_ in post #100 aren't working. For now; Keep using OSXRestart v1.5 while I figure out another solution. Might take a while because I also have to finish other work. p.s. I did add a short info string (see kernel.log) simply because without this, I wouldn't know what people are using. And this will be especially useful for the upcoming releases... which will include new features. Edit: Attached is a soup (test version only) of my work and that of np_ Let's see what this brings. OSXRestart.kext.zip Link to comment Share on other sites More sharing options...
Master Chief Posted December 3, 2009 Author Share Posted December 3, 2009 1.5c loaded reboot working but i still got the "long boot" if i reboot after sleep Do you see a line with Device (SBUS) in your DSDT? Or just attach your DSDT so that I can look at it. Thanks. Link to comment Share on other sites More sharing options...
Terenc3 Posted December 3, 2009 Share Posted December 3, 2009 i have no problems with restarting and shutting down. just that they might take 45s to finish. may i know if this kext will help me hasten the reboot? Link to comment Share on other sites More sharing options...
Master Chief Posted December 3, 2009 Author Share Posted December 3, 2009 yep i got it, also i see it in IoRegistryExplorer Right. I take it that you also have _PS0 under PCIB if yes comment it out (see also post #99). Link to comment Share on other sites More sharing options...
Master Chief Posted December 3, 2009 Author Share Posted December 3, 2009 well here i have an problem as i cant find _PS0 anyware o.O If you want my help then attach your DSDT. And just to be sure; You don't have this (long) reboot issue when you use OpenHaltRestart or EvoReboot? Link to comment Share on other sites More sharing options...
Terenc3 Posted December 4, 2009 Share Posted December 4, 2009 i removed openhaltrestart and install this osxrestart. reboot time still the same. =X haha.. Link to comment Share on other sites More sharing options...
michael_sp Posted December 4, 2009 Share Posted December 4, 2009 Masterchief thank you ! Iam able to shutdown and reboot p5q finally. I have tried all the other solutions and none of them worked. I can confirm that OSXrestart v5 works for p5q with no dsdt. Thanks again ! Link to comment Share on other sites More sharing options...
Master Chief Posted December 4, 2009 Author Share Posted December 4, 2009 i dont use OpenHaltRestart or EvoReboot here it is dsdt it is not hpet patched Thanks. But I have never ever seen anything like your DSDT. Man what a mess. I'll have to pass. Sorry. Link to comment Share on other sites More sharing options...
Terenc3 Posted December 5, 2009 Share Posted December 5, 2009 Master Chief! Do you happen to have any idea on what is casuing slow shut downs and restart? Mine mainly takes 46s to shut down and restart. But once in a blue moon it takes less than 5s to do so!.. =) Link to comment Share on other sites More sharing options...
Master Chief Posted December 5, 2009 Author Share Posted December 5, 2009 Master Chief! Do you happen to have any idea on what is casuing slow shut downs and restart? Mine mainly takes 46s to shut down and restart. But once in a blue moon it takes less than 5s to do so!.. =) OT talk: Well. Looking at the Apple forums; It can be anything. Checking log files and booting with -v (verbose) would be the first things to do. The next thing would be disabling hardware in the BIOS and removing kexts. But let's start by adding a signature first, because I don't even have a clue as to what hardware you are using. There might be some network adapter involved, but that is just another guess... Link to comment Share on other sites More sharing options...
Terenc3 Posted December 5, 2009 Share Posted December 5, 2009 OT Talk: Roger That. Talking about removing kexts, i thought of that too. I suppose its okay for me to just delete all unused kexts like ATi/Intel/nVidia video kexts other than my 9600M GT injector? Link to comment Share on other sites More sharing options...
MikeyMike01 Posted December 5, 2009 Share Posted December 5, 2009 M1530, Nvidia 8600M GT, Vanilla Install Sleep, Restart, Shutdown did not work. Restart now works. Thanks! Link to comment Share on other sites More sharing options...
THe KiNG Posted December 5, 2009 Share Posted December 5, 2009 Thanks. But I have never ever seen anything like your DSDT. Man what a mess. I'll have to pass. Sorry. For the first time in Apple Intel history I see such {censored} DSDT: iMac11_1_DSDT Shame on you Apple! I never expected such mess from you... Link to comment Share on other sites More sharing options...
Master Chief Posted December 5, 2009 Author Share Posted December 5, 2009 For the first time in Apple Intel history I see such {censored} DSDT: iMac11_1_DSDTShame on you Apple! I never expected such mess from you... What in .... name are they doing with the following Asus specific code: Name (ASSB, 0x00) Name (AOTB, 0x00) Name (AAXB, 0x00) Thanks for sharing man! Link to comment Share on other sites More sharing options...
Recommended Posts