[Techtalk] apm -s

Akkana akkana at shallowsky.com
Fri May 3 12:05:54 EST 2002


Conni writes:
> getting apm to work.  apm -s suspends the machine, but when I try to wake
> it up (by hitting any key or using the mouse, which work on the ibook), it
> completely hangs.  A websearch on this problem indicated that I should

That's normal -- happens on lots of other machines too.  Some machines
can resume from suspend as long as you weren't in X, but they can't
restart X; others can restart X, but can't re-initialize networking
or some other driver.

Someone is working on apm software suspend in the 2.5 kernel -- I've
seen patches posted to linux-kernel in the past week, it's that new.
Supposedly the author even has suspend-to-disk working (I'd love that).
I wouldn't advise holding your breath for apm suspend in the 2.4 kernel
any time soon.

On my Vaio, if I suspend with the power button (instead of typing a
command like apm -s), the machine suspends, and hitting the power button
again resumes correctly (it reinitializes X reliably, and reinitializes
the pcmcia ethernet card about half the time).  I don't quite understand
why this works or why it's different from running apm -s, but I'm happy
it does work.  If I load sonypi with function keys enabled, power key
suspend stops working.

There's a new sonypi driver in 2.4.19-pre? but I haven't tried it
(when a real 2.4.19 kernel is released I'll download it; my laptop is
my "be conservative and try not to break anything" linux baby :-).

	...Akkana



More information about the Techtalk mailing list