Re: Hardware APM suspend

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Oct 31 2000 - 16:07:38 EST


> Question - is hardware APM suspend supported in any current available
> kernel/apmd? I ask this because when I press the power button on my
> computer, which is supposed to do a hardware suspend (according to my
> BIOS) and I'm in X, the screen basically turns to garbage and I can't do
> anything except reset/poweroff my computer.

It is the job of the APM BIOS to correctly restore the display. Needless to
say since the average BIOS writer has trouble with simple int calls they don't
have a chance here, especially non laptop.

XFree 4.0 apparently has some APM awareness and may help. If not then the apmd
user stuff has helpful aids that worked for me on some Dell horror I borrowed

On Red Hat you can edit /etc/sysconfig/apmd and add

CHANGEVT=1

this will set the apmd scripts up to switch back to the text console on
suspend.

ALan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:30 EST