Hi,

On Fri, Jul 14, 2006 at 03:22:34PM +0200, Charles de Miramon wrote:
> Hi,
> 
> I have managed to make Suspend to Ram work on my Asus M5N which is not
> whitelisted. I send you these informations so you can add the notebook to
> the whitelist :
> 
> You have to stop acpid before going to sleep or the computer shutdown
> after resuming.

Not really, read http://en.opensuse.org/Powersave_s2ram for hints on how
to integrate it into powersaved.

Short: in /etc/powersave/sleep, set:
SUSPEND2RAM_FORCE="yes"
SUSPEND2RAM_ACPI_SLEEP="1"
restart powersaved, then use "powersave -u" to suspend to RAM. If it still
shuts down after resume, it would be a powersaved bug, but i doubt it.

> Display (it is an Intel I855GM) will not resume without the s3_bios trick.

i _guess_ that it also needs s3_mode (SUSPEND2RAM_ACPI_SLEEP="3"), otherwise
it will probably not work from the text console. Did you try it without X?

> Thanks for your work. Suspending is at last starting to work on Linux.

Yes, thanks to all the people reporting their machines, the whitelist is
actually getting more useful every day :-)
 
> Cheers,
> Charles
> 
> bafin:/home/charles# s2ram -i
> This machine can be identified by:
>     sys_vendor   = "ASUSTeK Computer Inc.        "
>     sys_product  = "M5N       "
>     sys_version  = "1.0       "
>     bios_version = "0212                     "
> See http://en.opensuse.org/S2ram for details.


> bafin:/etc/powersave# cat sleep
...
> SUSPEND2DISK_RESTART_SERVICES=""
> SUSPEND2RAM_RESTART_SERVICES="acpid"
> STANDBY_RESTART_SERVICES=""

you can remove acpid here once you do the SUPEND2RAM_FORCE settings
described above.

> ## Path:                System/Powermanagement/Powersave/Sleep_Modes
> ## Type:                yesno
> ## Default:             "no"
> ## ServiceRestart:      powersaved
> #
> # If /usr/sbin/s2ram is installed but does not know about your machine,
> # you can force suspend to RAM for unknown machines by setting this
> # variable to yes.
> # Be careful, this might crash your machine.
> # See also the SUSPEND2RAM_ACPI_SLEEP, SUSPEND2RAM_VBE_POST and
> # SUSPEND2RAM_VBE_SAVE variables.
> SUSPEND2RAM_FORCE="yes"
> 
> ## Path:                System/Powermanagement/Powersave/Sleep_Modes
> ## Type:                integer(0:3)
> ## Default:             "0"
> ## ServiceRestart:      powersaved
> #
> # If SUSPEND2RAM_FORCE is set to yes and s2ram is installed, you can set
> # the acpi_sleep parameter here. This is a number, 1 means "s3_bios",
> # 2 means "s3_mode" 3 means "s3bios,s3mode".
> # These parameters are explained in the kernel sources under
> # Documentation/power/video.txt
> # Leaving this empty or setting it to 0 means "don't touch this setting",
> # you might still have one of the options set from the kernel commandline.
> # Be careful, this might crash your machine.
> SUSPEND2RAM_ACPI_SLEEP="3"

ok, i see that you already had set this, so just do not use s2ram directly,
use "powersave -u" or the kpowersave applet to suspend.
-- 
Stefan Seyfried                     | "Please, just tell people
QA / R&D Team Mobile Devices        |               to use KDE."
SUSE LINUX Products GmbH, Nürnberg  |          -- Linus Torvalds

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to