[ltp] Suspend to Disk - Kenrel 2.6.4 vs. r50p

Stephan Herhut linux-thinkpad@linux-thinkpad.org
Thu, 29 Apr 2004 08:16:13 +0200


--=-Cvwcu0VD+L+9aSNKAMps
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Am Do, den 29.04.2004 schrieb hamish um 08:07:
> I have an r50p and runnign debian unstable with kernel 2.6.4, compiled=20
> from scratch using the source from kernel.org, no patching (i.e. for=20
> swsusp etc).
>=20
> Most things work fine (2.6.5 broke USB for me, so I'm still at 2.6.4),=20
> but I want suspend to disk (or suspend to RAM for that matter) to work.
>=20
> But.
>=20
> echo -n disk > /proc/power/state
>=20
> results in the (Correct?) text screen that says it's going to do the=20
> suspend etc... But then just wakes straight up. here's the logs from=20
> kern.log
>
> [...]
>=20
> Anyone know why it doesn't actually power off? Info on this phenomenon=20
> seems to be a bit sparse, but there seems to be a few people reporting=20
> it on various laptops...

As far as I know, the kernel support everything (shutting down hardware,
suspending processes, etc.) except the actual write to disk. So it just
wakes up again.

> What is the story on suspend to disk anyway? Should we use the kernel=20
> code? swsusp patches & resume2? pmdisk patches?  Damnit I just want it=20
> to work... I'd even use straight FN-F4 except my video won't wake up=20
> afterwards... Currently I have to reboot several times a day (i.e.=20
> whenever I want to move my thinkpad from one place to another). very=20
> frustrating...

Well, I am using swsusp2, as it works best for me (TP R32). I just
downloaded the patches and the suspend script and now everything works
fine (>20 resumes without a problem).=20

> TIA
>   hamish.
--=20
Stephan Herhut
http://www.herhut.de

--=-Cvwcu0VD+L+9aSNKAMps
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBAkJ2scyUaCzpzST8RAisvAJ4hj8kSYJ2hyhaNI7zWae3Wnq9DNwCcDNf4
B6BEeCrUGDuh/GvSD5Bok7k=
=0z6B
-----END PGP SIGNATURE-----

--=-Cvwcu0VD+L+9aSNKAMps--