Ok, here's the 5th version of the sleep patch for ATI based albooks & iBook G4. Other machine users, please test too as it may cause regressions (or improvements) as well.
Not many changes since last version, I don't know why sometimes, the panel doesn't come back properly (though a new sleep cycle tends to fix it) and I have no fix for the USB issues. However, I added some hacks to the cache flush code based on what Apple does in Darwin that may help make the thing more robust, and I added a hook mecanism that allow the video to be restored _very_ early on wakeup, pretty much before everything else, thus making it easier to spot & debug crashes on wakeup. There are still pending issues, like cpufreq on some machines will "think" it's running at full speed on wakeup while it's in fact running at slow speed (thankfully not the opposite), I will try to fix those in the next iteration. http://gate.crashing.org/~benh/albook-ibookg4-sleep-5.diff Ben.

