Hello
iMac 27 late 2009 affected by the same long sleep problem.
I noticed that before get my BT and USB unusable the mac wake up for few seconds without turn the screen on than return to sleep.
If this process fails screen remains off but system awake an keybord, mouse, thackpad dead; switch button is the only interaction with the system
I did a ssh to my imac while is in this state , i did try several process kills to reset something without any success. The only thing I can do while on ssh is the halt command to try a gracefull shutdown but the mac goes on loop on a grey screen with the round spinning weel forever.
I'm afaraid to corrupt my filesystem with several power cut so I issued this command
$ sudo pmset -a hibernatemode 1
this switch the hibernate mode from memory to disk and power off the system, at least when it returns from sleep the mac got an HW reset.
Hope this helps other people while APPLE fix this issue.
APPLE come on
Andrea
Italy