[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Suspending with ACPI



On Thu, Dec 08, 2005 at 07:54:04PM +0200, Matti P?ll? wrote:
> The kernel log tells me that mysqld couldn't be stopped. So, when I
> stop mysqld manually and unload modules uhci_hcd and ehci_hcd, I can
> get the machine to 'standby' state but 'mem' and 'disk' have no
> effect.
What is the result of ``cat /sys/power/state''

For example, my box can suspend to disk or memory, then
| gnawux@spirit:/sys/power$ cat state
| standby mem disk
| gnawux@spirit:/sys/power$

And for suspend to disk, you need specify the swap partition in
kernel parameter ``resume''.
| gnawux@spirit:~$ cat /proc/cmdline
| root=/dev/hda7 ro vga=794 resume=/dev/hda8
| gnawux@spirit:~$

Wang Xu



Reply to: