> > Just a note about 2.6.10-rc2/3 kernels: I also had some Problems with > > them. snd-Intel8x0 needs an update concerning PCI config save/restore and > > ehci-hcd causes problems after resume. uhci-hcd suspend/resume works for > > me, except that I must not plug or unplug usb devices while the system is > > supended. > > Could you go into more detail? Changing the hardware config while suspended > is obviously not recommended, but what are the exact problems occuring > besides that? I get a kernel panic at resume if I plugged in a device while suspended (Capslock led blinking, screen stays black) The system locks during resume up if I unplug a device while in S3(capslock led not blinking, screen stays black too.) > > No, I think it's the kernels problem. The various framebuffer drivers should > > know how to wake up the card. > > There were some discussions on the linux-fbdev-devel list about writing a > > lightwhight(20-30k) 8086 emulator for the kernel to avoid real mode hacks. > > As far as I know, this should be based on the 8086 emulator XFree/X.org uses. > Yes, but for that to work we should have a procedure in place which allows > us to get the card working again without having to crash a secondary vesa > xserver. If boot-radeon could be extended to do the things the crashing > vesa xserver does, we would be much better off. That could be folded > a) into the kernel framebuffer drivers > b) into the radeon xserver. In the ideal case the frame buffer driver would run the VGA Rom post routine($0xc000:$3) in an X86 emulator(or in vm86 mode if it works), set up the frame buffer and at the end of the resume function the device is in the same state where it was before suspend and user mode programs like the X-Server won't recognise that the system was suspended. That's at least my opinion. Boot-radeon and the others are supposed to do that(in User mode), but the 80x86 environment they set up seems to be incorrect in some way so they crash before they finish their task on some systems. If it works, the display comes back without any Vesa X11 server. Attached is a patch against Xorg-6.8.0 which makes the radeon X11 driver call the reset routine if it notices that the system was in S3. This patch is quite uncomfortable because it's necessary to recompile X11. It is from Gentoo where it is compiled by default. Stefan