I have recently pulled out my late 2008 unibody macbook, upgraded the RAM and put elementary OS on a new SSD.
The issue
I can't safely put the computer into sleep or suspend mode, because whether I trigger it myself or it goes there itself, I can't wake the machine with a key press, USB mouse, trackpad. I have to force a restart with the power button, often requiring a long hold to get it to do anything.
About the Machine
It's an Apple Macbook- 5,1.
Intel Core 2 Duo processor.
Graphics card is C79 GeForce 9400M NVIDIA
Samsung 500GB SSD.
uname -v
#53~18.04.1-Ubuntu SMP Thu Jun 4 14:58:26 UTC 2020
The issue seems to be the same whether I use the built in graphics driver, or with NVIDIA's driver.
While I've been playing with linux for a while now, this is my first serious toe-dip back into the world of linux for many years. (Maternity leave means I had to give back my work laptop, so have resurrected this old macbook with a linux install, which is working quite well, apart from this annoying issue- if I'm going to be away from the machine for a while I have to close everything and shut down!)
Have googled this issue, can't find anything too specific, and would appreciate some explanation of what different commands do, rather than "install this utility" or "run this command"
UPDATE: I switched on my computer, but didn't log in straight away, and it was able to resume to the lock screen. Weird.