Superhai Posted April 3, 2008 Share Posted April 3, 2008 Superhai, the kext is working but sometimes at fresh reboot Lappy does not go to sleep. Ok, it is made so it sets the value when it starts, 10 seconds after and 30 seconds after the kext is loaded or coming back from sleep. I will add a point 60 seconds after and you can see if it stays. (how long is your boot time on your laptop?) Link to comment Share on other sites More sharing options...
macgirl Posted April 3, 2008 Author Share Posted April 3, 2008 Let me measure it, last time I did was 25-35 seconds. BRB EDIT: First measure 33 seconds. (all menus loaded an ready to click on any app or menu). Link to comment Share on other sites More sharing options...
sonotone Posted April 3, 2008 Share Posted April 3, 2008 sonotone, did you try my script, does it makes a KP also? Yes i tried, and it's not causing KP. But your command: /path_to/sleep.sh& does not work, that what i get: 2] 1655 [1] Exit 127 /veille/slepp.sh roros-mac-pro:~ roro$ /veille/sleep.sh: line 3: state=: command not found /veille/sleep.sh: line 4: if: command not found /veille/sleep.sh: line 5: then: command not found /veille/sleep.sh: line 6: #echo: command not found /veille/sleep.sh: line 7: #/usr/bin/osascript: No such file or directory /veille/sleep.sh: line 8: /usr/bin/pmset: No such file or directory /veille/sleep.sh: line 9: fi: command not found /veille/sleep.sh: line 10: sleep: command not found The script is defenetly working, i tested it directly on terminal. EDIT: sorry, i forget to remove "&" after .sh There is a way to get it works with boot? Link to comment Share on other sites More sharing options...
Superhai Posted April 3, 2008 Share Posted April 3, 2008 Can you paste in the kernel panic? Here is another version which should also activate it after 60 seconds, but it really shouldn't make any difference. And it seem like the powermanagment system is not updating if you are on ac power or not so it is able to sleep also when ac power is connected. TurnLidOn_0.9.1b.zip Link to comment Share on other sites More sharing options...
macgirl Posted April 3, 2008 Author Share Posted April 3, 2008 Worked ! Thanks again. Only 2 more things to remove the pain in the ass (Onboard Ethernet and Restart/Shutdown) Link to comment Share on other sites More sharing options...
sonotone Posted April 3, 2008 Share Posted April 3, 2008 It's seems to work properly with 0.9.1. Just one KP after installing, but i reboot twice and after few tests, no problems at all. Thanks for your job, i will post logs if there is a problem. Link to comment Share on other sites More sharing options...
GimmeRed Posted April 3, 2008 Share Posted April 3, 2008 Thanks Syperhai 0.9.0 seems to be working fine so far on my inspiron 1720. Sleep has been working fine for me for the most part with the only problem being is that sometimes I can't get the bluetooth to restart after sleep. It now sleeps when I close the lid and restarts when I open it. Edited to add: I've got the blutooth working a little better after wake by opening the advanced tab in the bluetooth preference and selecting open the bluetooh setup assistant at startup when no device is present. I also set my wireless switch in my bios to turn control my bluetooth only. If it doesn't wake I can just turn it off and back on and it will normally connect. Link to comment Share on other sites More sharing options...
parpwhick Posted April 3, 2008 Share Posted April 3, 2008 You guys got a working sleep with the sleep-kernel, not the speedstep one, right? Macgirl, i found this link that might have helped you with the lid-sleep interaction problem (sorry i'm so late about it!): http://www.semaja2.net/insomniaxinfo Link to comment Share on other sites More sharing options...
yeye Posted April 3, 2008 Share Posted April 3, 2008 Firstly, Thank you so much macgirl and superhai! Secondly, I've successed to update in 10.5.2 but I can't have audio. I've tried to reinstall txt with apple HDA patcher but it doesn't work! How should I do? edit: forget it, that works perfectly!! All update up to date! (Excuse me for my english!) Everything is perfect I hope intel drivers will be released soon and I hope that you will find a solution to get reboot/shutdown working! Anyway, THANK YOU ALL ESPECIALLY MAC GIRL!! Do you know what's exactly the problem with shutdown/reboot or you don't have any idea (excepting that you know it came after graphic kext install)? By the way, do you know if it's possible to remove .mac icon on the top because I don't see any option speaking about that so I think that specialists like you may know (edit: I've found: You press CTRL or ALT and click on the icon and put it in the trash...!) Link to comment Share on other sites More sharing options...
Van Wildonher Posted April 4, 2008 Share Posted April 4, 2008 How long would it take a noob to get a 90% working install on a M1330? I say 90% because I see there is still no working wireless support for the onboard agn card? Also nothing for the ethernet? I'm getting iATKOS ver. 1.0ir2. Thanks for any help, I'm sure I'll be needing it! Link to comment Share on other sites More sharing options...
realityloop Posted April 4, 2008 Share Posted April 4, 2008 How long would it take a noob to get a 90% working install on a M1330? I say 90% because I see there is still no working wireless support for the onboard agn card? Also nothing for the ethernet? I'm getting iATKOS ver. 1.0ir2. Thanks for any help, I'm sure I'll be needing it! I'm probably about to give this a go on my M1330 as well! and likewise any help would be very much appreciated. Link to comment Share on other sites More sharing options...
yeye Posted April 4, 2008 Share Posted April 4, 2008 I'd like to report something about sleeping. Have you noticed that after waking up, battery life seems to be very longer? For me, having put my laptop to sleep all the night, this morning, when I waked up it, battery life said 4h and after half an hour of use, it keeps saying 3h20 Now, I've rebooted and it says 1h40! So I'd like to know if I'm the only to notice that and it could be a good news for our battery life if that's true! Link to comment Share on other sites More sharing options...
Superhai Posted April 4, 2008 Share Posted April 4, 2008 For me, having put my laptop to sleep all the night, this morning, when I waked up it, battery life said 4h and after half an hour of use, it keeps saying 3h20Now, I've rebooted and it says 1h40! So I'd like to know if I'm the only to notice that and it could be a good news for our battery life if that's true! I think it is because of the calculation. I don't think you will see improved battery life after sleep (unless the CPU wakes up in low power mode with reduced speed). Link to comment Share on other sites More sharing options...
yeye Posted April 4, 2008 Share Posted April 4, 2008 I think it is because of the calculation. I don't think you will see improved battery life after sleep (unless the CPU wakes up in low power mode with reduced speed). You may be right, I've done another sleep test after reboot and now it says 2h40 instead of 4h. But when it says 4h, I've noticed that % were decreasing more slowly than now but I'm not very sure since it has only happened one time. I'll inform you if this happens again Anyway, good luck for your work with our lappy Link to comment Share on other sites More sharing options...
Nanex Posted April 4, 2008 Share Posted April 4, 2008 Hi! I just tried Photo Booth and it's crashing It used to work before, although I hadn't used it for a while, so I have no idea what I might have installed that caused this crash. I have a M1330, iAtkosv1.0i, with all software updates as of today. I have Aperture, Photoshop installed. I *think* I installed the USB fix mentioned in previous posts. Also, sometimes USB peripherals stop connecting. If they are connected when turn on the laptop, or I connect them within 5 minutes, no problem. But after working for a while, I connect an external Iomega HDD, and it won't mount. I check in the USB tab in System Profiler and it's there, but there's no way for me to access it. Same thing with an iPhone or USB thumbdrive. Any help is appreciated, and if you need more info I'll try to provide it! Link to comment Share on other sites More sharing options...
Superhai Posted April 4, 2008 Share Posted April 4, 2008 One more thing for you here is PowerManagement.bundle from 10.5.2 in install package. This is for enabling the battery meter. It has some of the modifications done by jaro and keithpk and I have added some more. It is only tested on my Dell XPS M1330, so any other laptop would be on your risk. You should backup AppleACPIPlatform.kext and PowerManagement.bundle before you install. :-) And compiler optimizations was set for core 2 cpus, so if you panic on other CPUS you know why. I'll update that tomorrow or something if anyone needs it. Remember also that battery meter have to be enabled from System Preferences/Energy Saver. UPDATE Ok here is newer version also v no 3. Battery_meter_for_OSX86_laptops.zip Battery_meter_for_OSX86_laptops_up_3.zip Link to comment Share on other sites More sharing options...
macgirl Posted April 5, 2008 Author Share Posted April 5, 2008 Superhai, I think that my "Sleep Display" is reseting the AppleClamshellCausesSleep value to Now. Is any way to call the subroutine of the TurnLidOn.kext that changes the value? What I do is unload the kext and the value sets to yes, if I load the kext again it stays on yes. Link to comment Share on other sites More sharing options...
yeye Posted April 5, 2008 Share Posted April 5, 2008 Hello All, Just a few notices about your turnlidon patch. Indeed, once it wakes up, my mouse pad doesn't work correctly. Before I sleep, I can tap on it and it will do left click, but as soon as I've put my lappy sleeping, this functionality doesn't work at all. Have you noticed that? Furthermore, if you sleep by the right way and then sleep by closing your lid, it won't work. Do you have these problems? P.S. The long battery life hasn't appeared this morning so I don't know what's happened yesterday Link to comment Share on other sites More sharing options...
Superhai Posted April 5, 2008 Share Posted April 5, 2008 Superhai, I think that my "Sleep Display" is reseting the AppleClamshellCausesSleep value to Now.Is any way to call the subroutine of the TurnLidOn.kext that changes the value?What I do is unload the kext and the value sets to yes, if I load the kext again it stays on yes.What I think is possible is to make a polling routine, so it sets this value every 30 sec or something. The problem is that with this the display driver also sets this value, and every time it does some initializing it will reset it. The display driver believes that it is a desktop. I will look at the other sources if it is possible to track where it really is being set. Hopefully it is not the nVidia drivers as they are closed source.Just a few notices about your turnlidon patch. Indeed, once it wakes up, my mouse pad doesn't work correctly. Before I sleep, I can tap on it and it will do left click, but as soon as I've put my lappy sleeping, this functionality doesn't work at all. Have you noticed that?Furthermore, if you sleep by the right way and then sleep by closing your lid, it won't work.I don't have that problem. I find that odd, have you other modifications? Are you using vanilla kernel? Link to comment Share on other sites More sharing options...
yeye Posted April 5, 2008 Share Posted April 5, 2008 I don't have that problem. I find that odd, have you other modifications? Are you using vanilla kernel? Yes I've a modification on my ApplePS2Controller to allow tapping on my pad I think this is the only one that I have Link to comment Share on other sites More sharing options...
Micman Posted April 5, 2008 Share Posted April 5, 2008 Hi, I have 2 questions: 1. I've installed this the applehda.kext to get the sound working, however nothing happens. In the Sound pane I can see that there is now an Microphone and Speakers, but there is no sound. Anyone know what to do ? 2. In Finder, I cannot Connect to my other PC's ! Once I hit Connect as.... nothing happens, I cannot enter another UserId or Password, however I can see my other PC's. I get Connection Failed. And I have Leo4All V2 installed. Anyone have an idea ? Thanks for the help. Micman Link to comment Share on other sites More sharing options...
macgirl Posted April 5, 2008 Author Share Posted April 5, 2008 @Superhai, thanks. I just tested, I was connected remotely (ssh) let the Lappy turn display off, in that moment the AppleClamshellCausesSleep changed. @yeye, sometime when I wake up the Lappy I have issues with either the Trackpad or the Keyboard, sometimes is like a key is pressed all the time, sometimes this issues are fixed pressing any key, sometimes I need to put the Lappy to sleep then whe it wakes up everything is ok again. @Micman, the best patch for sound is the already patched AppleHDA.kext (if you are not using gfx string you also need to install ALCinject.kext) but if you have AppleAzalia.kexts installed sound options will show but wont work, so delete AppleAzalia.kext if it exist. Here is a picture of how Sound options are shown (Microphone does not work), remember that this is a test kext that Taruga made, probably it will be a better one when Taruga make a new one. How are you connecting your other PCs. With third party Wireless adapters are attached some network connections are not possible, so use direct IP connection, like smb://192.168.1.123, vnc://192.168.1.124, afp://192.168.1.123 or ftp://192.168.1.123, in Terminal ssh 192.168.1.123 Link to comment Share on other sites More sharing options...
Micman Posted April 5, 2008 Share Posted April 5, 2008 @Macgirl I don't have an Applezilla.kext. I installed both, the AppleHDA.kext and the other one , downloaded from your first post on the first page. The screen you showed is the same as I have, however no sound. Any other ideas ? Network is working now, I found a patch in the meantime. Thanks for the Help, I appreciate that. Cheers Micman EDIT: It's working now, don't ask me why, did an Update of Itunes and the the other Software and now it works, strange. Link to comment Share on other sites More sharing options...
macgirl Posted April 5, 2008 Author Share Posted April 5, 2008 Sometimes it requires 2 boots or at least 1 sleep. Link to comment Share on other sites More sharing options...
dantastic Posted April 5, 2008 Share Posted April 5, 2008 Has anyone managed to get an external monitor to work? I've a m1530/8600gt. I've tried to just hook one up to the vga port but it doesn't turn on. If I boot with the monitor plugged in I just get a black screen after bootup. any success anyone? Link to comment Share on other sites More sharing options...
Recommended Posts