[Linux-disciples] 2.6 suspend?

Adam Kessel linux-disciples@bostoncoop.net
Wed, 8 Oct 2003 09:55:48 -0700


--KJY2Ze80yH5MUxol
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 08, 2003 at 12:40:05PM -0400, Ken Shan wrote:
> > swsusp (software suspend), on the other hand, has nothing to do with the
> > BIOS; the kernel just pages everything out to a special partition on the
> > disk, arranges to load everything back when it reboots, and turns itself
> > off.  It's reputed (by Adam, in particular) to be reliable in the 2.6
> > series.  I don't know about the two forks, however.

I don't know about the forks either. I was under the impression that you
just do swsusp and it works.

> APM suspend already works for me, currently, with the 2.4 kernels.
> Can I somehow continue to use APM suspend with 2.6?  Is it just a matter
> of including APM support in my kernel?  Can I have software suspend in
> addition to APM suspend in the same kernel?

There should be no conflict between APM and swsusp.  swsusp is an
entirely software implemented "hibernation". You need to change your
bootloader to resume from the suspended image rather than normal; if you
don't, you can get some trouble with your filesystem (analogous to
spontaneous reboot without shutdown).

I do think APM support still works in 2.6 although it's probably
deprecated. I stopped using APM a long time ago due to the dreaded "lost
interrupt" on the HP Omnibook.
--=20
Adam Kessel
http://bostoncoop.net/adam

--KJY2Ze80yH5MUxol
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQE/hEGUdTf3ZklQ6qYRAp71AJ0dd9ZtA2Acx/1xgdev3wT8IXcVLwCgoYQK
1ffkS5ErkOgaTFA5msupln4=
=iSZ0
-----END PGP SIGNATURE-----

--KJY2Ze80yH5MUxol--