I have a 15" MacBook Pro Early 2008 [A1260, MacBookPro4,1] (Intel Core 2 Duo, 2.5 GHz, 6GB RAM, 10.8.4). I decided to replace my boot drive with a SSD. This has worked with no problems for several months.
I then decided to replace my optical DVD drive with a Samsung HN-M101MBB 1TB 5400rpm SATA 2.5 inch Internal Hard Drive. I did so using an IDE to SATA Caddy.
Ever since I have found that my computer operates well until it goes to sleep (either by closing the computer or by timing). Upon waking it operates normally for about 1 minute until there is a total freeze (cursor does not move, sound gets stuck in a loop). The only escape from this is holding down the power button to force shutdown.
It is clearly something to do with the new hard drive in the optical drive bay. I suspect it is some sort of hardware power issue - perhaps this drive cannot be compatible? I hoped to make a workaround solution (or at least diagnose the problem more clearly) by finding a way to unmount the drive before each sleep. I tried to use this script from jonost-7 but got a "Volume failed to Eject" message.
Thanks in advance for your help