Hello,

I got emerged suspend2 kernel sources and compiled with such options:

[*] Power Management support [ ] Power Management Debug Support [ ] Software Suspend
 [*] Software Suspend 2  --->

Then in Suspend 2 submenu:

--- Software Suspend 2 x x --- Image Storage (you need at least one writer) x x [ ] File Writer x x [*] Swap Writer x x --- General Options x x (/dev/hda5) Default resume device name x x [ ] Allow Keep Image Mode

And my ACPI kernel section:

[*] ACPI Support x x <*> AC Adapter x x <*> Battery x x <*> Button x x <*> Video x x <*> Generic Hotkey x x <*> Fan x x <*> Processor x x <*> Thermal Zone x x < > ASUS/Medion Laptop Extras x x < > IBM ThinkPad Laptop Extras x x < > Toshiba Laptop Extras x x (0) Disable ACPI for systems before Jan 1st this year x x [ ] Debug Statements x x [ ] Power Management Timer Support x x < > ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)
i also got emerged hibernate-script and under it is part of hibernate.conf:
### suspend2 (for Software Suspend 2)
UseSuspend2 yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 2
#Compressor lzf
Encryptor none
# ImageSizeLimit 200
## useful for initrd usage:
SuspendDevice swap:/dev/hda5
## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for poweroff
# PowerdownMethod 5
## Any other /proc/software_suspend setting can be set like so:
# ProcSetting expected_compression 50
## Or traditionally like this:
# Suspend2AllSettings 0 0 2056 65535 5
## Or even from the results of hibernate --save-settings with this:
# Suspend2AllSettingsFile /etc/hibernate/suspend-settings.conf
## For filewriter:
# FilewriterLocation /suspend_file 1000
# VerifyFilewriterResume2 yes

Hibernating and resuming works flawlessly but one thing.
When i do:

# hibernate
i got everything stopped but there is no power off on my laptop. Thing is a bit weird because when i do:
# halt it turns off power

Any suggestions how to force hibernate to turn power after saving session ?

Thanks for any help

Paul


--
gentoo-user@gentoo.org mailing list

Reply via email to