At Fri, 10 Dec 2004 05:59:39 -0500, John Covici wrote: > > What is S3 sleep and where do I get such a thing? >
S1 and S3 states are two levels of suspend to ram. Most manufacturers provide S3 support in bios far fiewer provide S1. The problem with ACPI is that most of the work is done with the system and not the bios (unlike apm) and that most manufaturers don't follow the acpi specification properly. This makes implementing suspend to ram quite difficult. The main problem is waking up all the hardware properly. S4 state is suspend to disk, it is usually the same as S5 (simple shutdown). It is much easier to implement although there are of course some problems as the complete state of the machine needs to be saved and restored but the bios provides some help here so its easier. Its still more work then apm which used a dedicated partition and the bios did all the work in that case. S5 is just a complete shutdown. There are three implementation of suspend to disk. swsusp which is the current in-kernel implementation (by Pavel IIRC), there was power something but that is deprecated. The last is swsusp2 or software suspend 2 by Nigel, which is the most featureful but is not yet in the kernel (I believe some work is being done on that). I'm not sure what the exact state of suspend to ram is currently. AFAIK it is handled by the acpi team, don't know if it requires one of the suspend implementation or just sleep states. > Thanks. > > on Thu, 09 Dec 2004 20:00:59 +0200 Micha Feigin <[EMAIL PROTECTED]> wrote: > > > At Thu, 09 Dec 2004 07:10:58 -0600, > > Hugo Vanwoerkom wrote: > >> > >> H. S. wrote: > >> > Apparently, _John Covici_, on 08/12/04 15:56,typed: > >> > > >> >> Hi. I have an IBM thinkpad and I installed Debian on it and got a > >> >> daemon called sleepd -- however it wants a command to actually put the > >> >> machine to sleep. Its default was apm -s which of course never worked > >> >> because the machine is an acpi machine. > >> >> > >> >> Any suggestions will be appreciated. > >> >> > > > > What you want is S3 sleep. I don't thing that echo 3 > /proc/acpi/sleep > > works > > anymore, I think that that is the deprecated implementation. I'm not sure > > which > > is the right way to initiate the other option, either > > > > echo mem > /sys/power/state > > or > > echo standby > /sys/power/state > > > > It doesn't work on all machines though so your millage may vary here. > > > >> > > >> > Maybe you want to have a look at this: > >> > > >> > http://softwaresuspend.berlios.de/ > >> > > >> > ->HS > >> > > >> > > >> > >> Anyone with experience of using this vs. the 2.6 native option? > >> > > > > I never used the 2.6 native option (didn't work when I tried around 2.6.6 > > and I > > haven't tried since), only this one, which also works for 2.4 kernels. Its > > usually very stable, although a bit dynamic so it comes and goes for some > > people. It does have a lot more features then the 2.6 native option. Some > > main > > ones are initrd support (it can be compiled as a module), compression of the > > image (lzf and gzip), using encrypted swap (Takes a bit of work to get > > working > > at the moment) and quite a few more. I also supports swap files. > > > > There is talk for quite some time now about including it into the stock > > kernel > > but it will probably take a bit more time. > > > > Now it also supports saving the image but then going into S3 sleep so wake > > is > > fast but no data is lost if the battery runs out. > > > >> H. > >> > >> > >> -- > >> To UNSUBSCRIBE, email to [EMAIL PROTECTED] > >> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >> > >> > >> +++++++++++++++++++++++++++++++++++++++++++ > >> This Mail Was Scanned By Mail-seCure System > >> at the Tel-Aviv University CC. > >> > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- > John Covici > [EMAIL PROTECTED] > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > +++++++++++++++++++++++++++++++++++++++++++ > This Mail Was Scanned By Mail-seCure System > at the Tel-Aviv University CC. > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]