Em Seg, 2009-03-30 às 15:23 +0300, Ilya Petrov escreveu: > 2009/3/30 Daniel Ribeiro <drw...@gmail.com>: > > Em Seg, 2009-03-30 às 13:08 +0300, Ilya Petrov escreveu: > >> Same question about sleep mode. > > > > _Sleep_ mode works just fine with: > > echo standby > /sys/power/state > > What is the difference between sleep and deep-sleep?
See the pxa developers manual for detailed information. > > > If you want the _Deep-Sleep_ mode then you will also need: > > http://people.openezx.org/wyrm/patch_blob/patch_blob-gen2 > > and then you can: > > echo mem > /sys/power/state > > # ./boot_usb read 0x80000 131072 $@ > > Seems this all is about gen1. No, gen1 file is called "patch_blob-gen1". This _makefile_ patches the bootloader (on gen1) or the linux loader (lbl, on gen2) to resume to the address pointed by PSPR (power manager scratch pad register), while keeping full compatibility with the motorola 2.4 kernel. This is needed to allow resume to work without adding ugly motorola-specific code to the kernel source. It was tested on a1200, e6 and a910, and works just fine. -- Daniel Ribeiro