(Message cross-posted to several lists, please do _NOT_ reply to all of them).
NOTE: Owners of _OTHER_ Apple laptops that could already sleep, like earlier iBooks, or Titanium PowerBooks, please test this patch as well for regression. More specifically, test if sleep still works, X/DRI, and backlight control as I have made significant changes to radeonfb in ways that could affect those areas. NOTE2: This is still quite experimental, be careful if something goes wrong (like lots of oopses or crashes on wakeup), you'd rather hard-restart the machine right away than let corrupted memory buffers be written back to your disk ;) First, let's give credit where it's due, as a lot of the work on the original Aluminium PowerBook sleep code was done by Paul Mackerras, happy owner of one of these beasts, and thanks to Rob Weir too who gave me his iBook G4 for a few days, just long enough to get the stuff working... So here's the new patch, it replaces the previous one for Aluminium PowerBooks, and is still against 2.6.9. I'll do something against 2.6.10 when that one is out (it's a bit late to get that merged with Linus, 2.6.10 is in freeze mode now) and I hope to get all of that in 2.6.11. The support for sleep on desktop G4s & dual CPU machines, including support for "hotplug CPU" (allowing to put a CPU to sleep dynamically) for dual machines isn't in this patch neither, it will be coming spearately. It will only support one desktop video card at first anyway, though it will be possible to extend that over time. Get it at: http://gate.crashing.org/~benh/albook-ibookg4-sleep.diff Enjoy ! Ben.