Am 18.01.2011 05:21, schrieb Daniel Kahn Gillmor: > Package: pm-utils > Version: 1.3.0-3 > Severity: normal > > On this dell dimension 4500S, pm-suspend seems to work (the system can resume > from sleep), and pm-hibernate seems to work (the system can resume after a > power loss). > > But pm-suspend-hybrid doesn't work as expected: it can resume from sleep, > but after a power loss it does a full reboot instead of restoring from > hibernation. > > I also notice that it goes into sleep very fast, despite having 1.25GiB of > RAM and 3GiB of swap. I'd have expected it to have needed to write out data > to disk, > but it seems to sleep about as quickly after invoking pm-suspend-hybrid as it > does after invoking pm-suspend. > > "pm-is-supported --suspend-hybrid" returns 0, fwiw. >
I guess you are not using the uswsusp backend. The kernel implementation of suspend-hybrid works as follows: suspend-to-ram sleep for 15 min (configurable via PM_HIBERNATE_DELAY=) wake up and hibernate the uswsusp suspend-hybrid implementation works differently, it does: create a hibernate image, but don't hibernate suspend to ram if battery does not run out: return from suspend if battery runs out: return from hibernate (image) as soon as power is back on So, the described behaviour (given you use the kernel backend) is not buggy, it just works differently and probably needs better documentation. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature