On Friday, April 19, 2002, at 10:17 AM, Jacob Shaw wrote:
1.) I looked back in the DARWIN-KERNEL archives, and saw some posts by
David
Hazelback and others, and his issue was very similar. Whatever came of
that?
Here is the patch file for xnu-201-9,1. Basically I added a sysctl command that ignores the state of the "clamshell" for any ibook (should work on titanium too). The only catch is that the ibook has to be plugged in. If it is running on battery then after about 5 minutes or so it does a hard power off. This seems to be hardware and not software related as it does it in single user mode and nothing is logged about it (you can actually see my logging function call in the patch file, you probably will want to remove that so you don't fill your syslog up with those notices.) To control it, go to a shell and do sysctl -w kern.ignoreclamshell=1 to disable sleep and =0 to re-enable sleep. Be warned, I suggest you turn off your display first (I just turn the brightness all the way off with the F1 key). It stayed pretty cool for me that way. If I understand what you are wanting to do this should work for you. From what I recall there was a "back door" method of keeping the computer awake with the lid closed by using an external monitor, which is probably what you were doing. I don't have a TiBook that I can test this on but in theory it should work as I did not see any other code for controller sleep mode when the lid closes. Daniel Hazelbaker
Thanks in advance, for any constructive help!
Jacob
_______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.