Looks like I wasn't completely right above. I don't know yet whether userspace is using the ioctl or not, but it seems that calling the ioctl directly also fails when X is frontmost.
Among other things I've noticed: - the APM emulation module isn't loaded by default. - the kernel isn't switching to text console before suspend The 2 above together means that X has no chance to quiesce the graphics engine and properly re-initialize it on wakeup, which probably explains some of the problems. I've manually loaded apm-emu and restart X, but that didn't fully fix the problem, so there is still something else going on. I'll try to investigate and let you know. In the meantime, apm-emu should definitely be added to the loaded-by-default list of modules at least on powerbooks. -- [gutsy] sleep on powerbook crashes https://bugs.launchpad.net/bugs/144305 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs