Pavel Machek wrote:
Hi!

  
Anyhow, I did some hacks into pci_device_suspend() getting it to 
suspend devices without a driver. Combined with my escalation patch 
in pci_set_power_state() all devices on the machine now enters D2 or 
D3 depending on device capabilities. My laptop still cannot enter the 
suspend state so there is still something missing... Are there any 
more areas of power management in linux that aren't quite up to spec.?
    

You forgot to say if you are trying to suspend to ram or to disk.
                                Pavel
  

   RAM. It was in the beginning of the thread...
    

Okay, try suspending to disk, first. It tends to work better. Are your
"hacks into pci_device_suspend() getting it to suspend devices without
a driver" available somewhere?
								Pavel

  
Suspend to disk works fine. It's just the ram-bit that won't work. There is an earlier thread about this with more details (search for "suspend-to-ram hangs on HP NX7010"). I haven't bothered making a patch of my changes since they do not add any functionality. If you have a look at pci_device_suspend() it's fairly easy to change it. It's a very compact and obvious function.

Rgds
Pierre