Page 1 of 1

Resume to disk for Asus 1005 HAG/HGO ?

Posted: Sat 14 Apr 2012, 18:36
by Karl Godt
Hi, I am running Racy-5.3 on a 2½ year old 10' netbook from asus .

It is distributed as a Eee 1005 .

dmidecode recognizes the following :

Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: ASUSTeK Computer INC.
Product Name: 1005HAG
Version: x.x
Serial Number: 9BOAAS454583
UUID: 00AC5A5D-BD45-4681-3353-E0CB4E1A0EFA
Wake-up Type: Power Switch
SKU Number: To Be Filled By O.E.M.
Family: To Be Filled By O.E.M.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: ASUSTeK Computer INC.
Product Name: 1005HAG
Version: x.xx
Serial Number: EeePC-0123456789
Asset Tag: To Be Filled By O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To Be Filled By O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0

Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
Manufacturer: ASUSTeK Computer INC.
Type: Notebook
Lock: Present
Version: x.x
Serial Number: 0x00000000
Asset Tag: 0x00000000
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0

*

lsmod |grep -E 'asb|asus|eee' shows :

eeepc_wmi 1591 0
asus_wmi 9578 1 eeepc_wmi
rfkill 10068 2 cfg80211,asus_wmi
sparse_keymap 2056 1 asus_wmi
wmi 5859 1 asus_wmi
hwmon 961 2 asus_wmi,thermal_sys

*

I am able to suspend to RAM with this machine , but not to the swap partition .

Anyone knows a kernel that would allow this ?

Racy is running 3.0.25 kernel, which is pretty recent .

[Of course hibernation works with Win 7 so it is possible to suspend the machine to disk]

Posted: Sat 14 Apr 2012, 18:42
by jemimah
I think Barry doesn't enable hibernation in his kernel configs. You probably want Saluki or Dpup.

Posted: Sat 14 Apr 2012, 20:52
by Karl Godt
Thanks for that reminder !
I think i had detected that long time ago,but forgotten about this .

This is the ACPI part of the 3.0.25 DOTconfig in /etc/modules :
#
# Power management and ACPI options
#
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
# CONFIG_HIBERNATION is not set
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_RUNTIME is not set
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_PROCFS_POWER=y
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_PROCESSOR_AGGREGATOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=2000
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=m
CONFIG_ACPI_SBS=m
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_APEI is not set
CONFIG_SFI=y
CONFIG_X86_APM_BOOT=y
CONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_ALLOW_INTS is not set
I was able to resume with my own 2.6.30.9 kernel on my Dell desktop, so must have enabled that there . Will have to check my ½dozen better DOTconfigs for this .

Thanks, again !

I will Saluki definitely give a go now . Installed Racy frugal on MMC and full on ext3 on an additionally created 6GB partition and both had only
# cat /sys/power/state
mem
to offer .

Posted: Sat 14 Apr 2012, 20:52
by pemasu
Slacko builds should have hibernation also enabled. With Racy you need to compile kernel again with hibernation enabled and woof it with that kernel.