Interesting workaround - I've never made an applescript before... but the detect display's trick definitely seems to address the cause of the problem to begin with. I presume you're still having this problem even with the new firmware update?
This is my first post to this forum, but i have read every message in the thread. Thanks everyone for the ideas. I see that the last post was about 3 weeks ago. Does this mean that a definitive solution has been found? Please advise because I am ready to add this computer to my paperweight collection. Also, this is my second refurbished Apple product that does not work properly. The first was a defective eMac- which also had video problems. My MBP situation is similar to others, with its own voodoo. The screen remains black after opening the lid from sleep mode. I am able to get the screen back after playing around for a while. Mainly by 1) pressing power for several seconds- at which point the sleep indicator light goes off and i hear the HD winding down. 2) waiting 10 or so seconds, unplugging then replugging the power cord, and finally pressing power again. 3) At this point I may see the screen light up with a progress bar at the bottom, and a faint image of my session in the background as it is restored from what looks like safe sleep mode. 4) Sometimes it takes 3 or more tries to get it back this way. One very strange but important thing is that it rarely if ever works without the power cord voodoo maneuver. Another strange phenomenon is that when i power down and shut the lid, the sleep light comes on. This happens even if i wait a while after shut down.
For the record, here's some background on my ordeal: 1) The black screen phenomenon did not happen when i first got the machine about 15 months ago; 2) Now it happens - immediately- every time the lid is closed and reopened; 3) I have a) regularly installed updates, but never upgraded to 10.5.x, b) added a logitech wireless mouse and keyboard, and c) on one occasion used an HD TV as an external display; 3) I am running OS 10.4.11 so the problem is not due to OS 10.5 per se; 4) I recall having wake issues shortly after adding the wireless mouse and keyboard. 5) The problem occurs even when the mouse and keyboard are not attached. I rarely use them anyway. 6) I have yet to try any of the suggested fixes, yet. I will and see what happens.
Update on attempts to fix the black-screen upon waking from sleep mode problem: My screen still blacks out every time i close and open the lid. However, after recently resetting PRAM and PMU, getting out of black screen has become easier. It only takes one round of the following steps (instead of 3 rounds)
1) Open lid (sleep light stays on)
2) Press and hold power button for 3 sec or until sleep light goes out
3) Wait 5 seconds or until machine is totally silent
4) Press and hold power button for 1 sec (you will hear the superdrive mechanism engage)
5) Screen illuminates, progress bar appears and machine wakes from safe sleep
Here's what has NOT remedied the basic problem of getting a black screen upon waking from sleep 1) resetting PRAM 2) resetting PMU or SMC (system management controller)
http://support.apple.com/kb/HT1411 3) using terminal to change sleep mode setting from hibernatemode 3 to hibernatemode 0 or 1 4) discarding sleepimage file from mac HD\private\var\vm and rebooting 5) using terminal to disable dashboard 6) Ran an extended hardware test and no problems were found (meaning motherboard OK).