Hibernation/Standby on the eeepc

What works, and doesn't, for you. Be specific, and please include Puppy version.
Post Reply
Message
Author
User avatar
dinky
Posts: 699
Joined: Sat 19 Jan 2008, 23:39

Hibernation/Standby on the eeepc

#1 Post by dinky »

Hi folks, has anyone worked out how to hibernate using puppy on the eeepc? With the native Xandros, you can close the lid and it will go into standby mode (hibernation is more accurate i suppose). Display goes blank, goes into powersave mode, looks like it'
s turned off. You open the lid, and press power botton, and screen comes up where it leaves off.

Now using TigerPup 1.6 (puppy 3.01), I can't hibernate or put this into standby mode. I like closing the lid and having only the display blank out, but want to hotkey a command to put it into hibernation. Any ideas on this?
~dinky

User avatar
dinky
Posts: 699
Joined: Sat 19 Jan 2008, 23:39

Bump. Anyone?

#2 Post by dinky »

Bump. Anyone? Hibernation on puppy?

aarf

#3 Post by aarf »

maybe this will have something
http://www.murga-linux.com/puppy/viewtopic.php?t=37359
can anything be copied from xandros?

User avatar
dinky
Posts: 699
Joined: Sat 19 Jan 2008, 23:39

#4 Post by dinky »

Yeah, I saw that article before. Unfortunately it seems based on kde... which means we'll have a hard time implementing it in Puppy. Perhaps is someone was willing to pull apart the kde utility to see what made it tick we could get there... beyond me at the moment. There must be an easier way...

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#5 Post by Karl Godt »

Pretty old but 2cents are to grep -i in the /etc/modules/DOTconfig* kernel configuration file for hibernate and suspend if enabled :

Code: Select all

grep -HiE 'HIBER|SUSPEND' /etc/modules/DOTconfig*
/etc/modules/DOTconfig-K2.6.30.5-01SEPT09-TICKLESS-SMP:
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
# CONFIG_HIBERNATION is not set
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_USB_SUSPEND is not set
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#6 Post by ally »

hey dinky

in jemimah's puppeee1.0 all functions work correctly

you could have a look at that maybe?

:)

gcmartin

Is Hibernation available on Slacko56

#7 Post by gcmartin »

Hibernation in Slacko5601

Code: Select all

# grep -HiE "HIBER|SUSPEND" /etc/modules/DOTconfig*
/etc/modules/DOTconfig
-3.10.5-040813:CONFIG_ARCH_HIBERNATION_POSSIBLE=y
/etc/modules/DOTconfig-3.10.5-040813:CONFIG_ARCH_SUSPEND_POSSIBLE=y
/etc/modules/DOTconfig-3.10.5-040813:CONFIG_OLD_SIGSUSPEND3=y
/etc/modules/DOTconfig-3.10.5-040813:CONFIG_SUSPEND=y
/etc/modules/DOTconfig-3.10.5-040813:CONFIG_SUSPEND_FREEZER=y
/etc/modules/DOTconfig-3.10.5-040813:CONFIG_HIBERNATE_CALLBACKS=y
/etc/modules/DOTconfig-3.10.5-040813:CONFIG_HIBERNATION=y
/etc/modules/DOTconfig-3.10.5-040813:# CONFIG_APM_IGNORE_USER_SUSPEND is not set
It appears that this EeePC has the feature necessary for Hibernation.

Is there a PET or enclosed utility which adds the Hibernation ability for Slacko56s to Hibernate?

This EeePC does what is expected when cover closes and reopens; namely it SLEEPS and AWAKENS. Hibernation would allow reduced battery drain and also will restart/reboot to last state of use.

Thanks in advance for any help.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#8 Post by Karl Godt »

Was it

Code: Select all

echo disk >/sys/power/state 
or

Code: Select all

acpitool -S
:?:
Don't know which swap partition it would use, probably the one with priority -1 in cat /proc/swaps

REMEMBER : Needs special menu.lst entry

Code: Select all

kernel /boot/vmlinuz root=/dev/sdaX ro resume=/dev/sdaY
for full installs
with the resume=/device/swappartition
Don't know if that works frugal .

And /etc/acpi would likely need a special script with GUI to select to RAM or DISK .

jemimah ha a nice /etc/acpi collection . Luckily I still have a saluky somewhere .

Post Reply