Re: apm suspend broken ?

Thomas Hood (jdthood@mail.com)
02 Nov 2001 07:38:25 -0500


> Fn+Suspend (or launching "apm -s") does not ALWAYS suspend
> the laptop. Sometimes, it blanks the screen but leaves the
> lcd light on, the cpu fan is on also. Pressing Fn+D to turn
> off the lcd light completes the job and the laptop finaly
> suspends completely.

My guess is that what is happening is: apm receives the event
and notifies apmd an X. X blanks the display and returns.
apmd processes the event and returns. apm does suspend().
But then you hit some BIOS bug. Or the BIOS expects the
OS to turn off the LCD light before returning.

Does it make any difference if apmd and X are NOT running?

Stephen: Do you think it would be worth sticking a call to
apm_console_blank inside suspend() for this person to see
if it helps?

--
Thomas

P.S. Stephen: Should the line "ignore_normal_resume = 1;" inside suspend() be put prior to the sti()?

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