Talk:Suspend

From A110 Wiki

Jump to: navigation, search

Suspend to RAM

On Windows, Suspend to RAM worked for me without any problems (after installing the drivers from One.de). However on Ubuntu (8.04) the computer "reliably" failed to wake up from standby. This changed after installing the e_powersave module backport as described in the CPU article. (I also inserted the padlock and SD card drivers since the last unsuccessful test, but I believe those to be unrelated.) Would be nice if someone else could try to reproduce this on their machines. --Rainer 14:39, 14 June 2008 (UTC)

Update: It's not the e_powersave module. The actual kernel module that enables STR is the one for the SD card: vmsc.ko. I'm getting mixed results so far. On resume from STR, the SD card stays accessible but isn't mounted automatically any longer. The sound driver doesn't come back at all. Workaround: Running "/sbin/alsa force-restart" after resume fixes the sound. --Rainer 11:21, 16 June 2008 (UTC)
The sound issue is known, removing and re-inserting the snd_hda_intel kernel module also fixes it. Not sure about the other... Why would vmsc.ko enable STR? How are you invoking supend? GUI or some command line program? I think the pre-installed Ubuntu uses a kernel patched with TuxOnIce (maybe with additional fixes from One, dunno). I tried using the hibernate command/package from Debian which worked fine for supending to disk, but didn't work out of the box for suspend to RAM. There are lots of options for hibernate though, maybe this can be fixed with a small config option. Or, one could try to add TuxOnIce to the kernel (if not already there). --Uwe Hermann 12:01, 16 June 2008 (UTC)
Could someone post info about s2ram? The A110 sleeps wwith s2ram -f but doesn't wake up again with debian. What do you guys blacklist?--Yorn 20:58, 20 June 2008 (UTC)
I don't know if anybody ever used suspend to RAM successfully. It doesn't work for me, neither on the pre-installed Ubuntu, nor on a stock 2.6.25 Debian kernel. May or may not work after some tweaking, who knows. --Uwe Hermann 23:29, 20 June 2008 (UTC)
On Debian squeeze, kernel 2.6.30.1 suspend-to-ram works. Just (as root) echo mem > /sys/power/state will put the system to sleep. Afterwards, WLAN is sometimes disabled (using rtl8187), probably using ndiswrapper fixes this problem. I get some kernel ACPI messages, though.

For me STR works beside some ACPI Errors (/proc/acpi dysfunction) and disabled sound after resume. System: Xubuntu 8.04 on encrypted-fs using squshfs+unionfs on /usr (Kernel 2.6.24-19). Blechtasse

Could you post some configs? Blacklisted Modules and suspend / hibernate configs? --Yorn 19:03, 6 July 2008 (UTC)
It would be nice if someone to summarize how it could or should work. On my A110 with Ubuntu 8.04 (2.6.24) supend (STR,D) does not work at all. STR switches off, but does not wake up, STD does not even switch off. Hibernate from CC does also not work (same results). I have installed uswsusp, but s2ram doesn't come along with it for some reason. Also, my SD card reader doesn't work at all (error -110, no matter what card I try or how it is formatted)... all patches installed. Quite disappointing. Sorry for the newbie post.