We tossed DOSDude1’s patched Catalina on a macbookpro5,1 for a friend and noticed that when the MacBook Pro’s screen was closed and the sleep indicator on the front of the Mac illuminated, the MacBook Pro was not actually going to sleep and was unresponsive after reopening the screen.
This Mac is a 2008 machine, upgraded with a Kingston 240GB SUV400S37/240G. After the machine failed to wake from sleep and we restarted it, we found a crash log with a Sleep Wake Failure event.
Turns out the fix is easy. Go to System Preferences->Energy Saver and uncheck “Put hard disks to sleep when possible” for “Battery” and “Power Adapter”. Now the Mac goes to sleep and wakes up just as it should.